equal
deleted
inserted
replaced
48 QPushButton * pbCancel = dbbButtons->addButton(QDialogButtonBox::Cancel); |
48 QPushButton * pbCancel = dbbButtons->addButton(QDialogButtonBox::Cancel); |
49 layout->addWidget(dbbButtons, 3, 0); |
49 layout->addWidget(dbbButtons, 3, 0); |
50 |
50 |
51 connect(pbOK, SIGNAL(clicked()), this, SLOT(accept())); |
51 connect(pbOK, SIGNAL(clicked()), this, SLOT(accept())); |
52 connect(pbCancel, SIGNAL(clicked()), this, SLOT(reject())); |
52 connect(pbCancel, SIGNAL(clicked()), this, SLOT(reject())); |
|
53 |
|
54 this->setWindowModality(Qt::WindowModal); |
53 } |
55 } |