examples/dialogs/standarddialogs/dialog.cpp
changeset 3 41300fa6a67c
parent 0 1918ee327afb
child 4 3b1da2848fc7
equal deleted inserted replaced
2:56cd8111b7f7 3:41300fa6a67c
   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()));