122 QPushButton *warningButton = new QPushButton(tr("QMessageBox::&warning()")); |
122 QPushButton *warningButton = new QPushButton(tr("QMessageBox::&warning()")); |
123 |
123 |
124 errorLabel = new QLabel; |
124 errorLabel = new QLabel; |
125 errorLabel->setFrameStyle(frameStyle); |
125 errorLabel->setFrameStyle(frameStyle); |
126 QPushButton *errorButton = |
126 QPushButton *errorButton = |
127 new QPushButton(tr("QErrorMessage::show&M&essage()")); |
127 new QPushButton(tr("QErrorMessage::showM&essage()")); |
128 |
128 |
129 connect(integerButton, SIGNAL(clicked()), this, SLOT(setInteger())); |
129 connect(integerButton, SIGNAL(clicked()), this, SLOT(setInteger())); |
130 connect(doubleButton, SIGNAL(clicked()), this, SLOT(setDouble())); |
130 connect(doubleButton, SIGNAL(clicked()), this, SLOT(setDouble())); |
131 connect(itemButton, SIGNAL(clicked()), this, SLOT(setItem())); |
131 connect(itemButton, SIGNAL(clicked()), this, SLOT(setItem())); |
132 connect(textButton, SIGNAL(clicked()), this, SLOT(setText())); |
132 connect(textButton, SIGNAL(clicked()), this, SLOT(setText())); |