| 59 | } |
| 60 | |
| 61 | void AeqSelector::forceManageMode() |
| 62 | { |
| 63 | ui->manageDatabase->setVisible(false); |
| 64 | ui->stackedWidget->setCurrentIndex(1); |
| 65 | ui->buttonBox->clear(); |
| 66 | ui->buttonBox->addButton(QDialogButtonBox::Close); |
| 67 | ui->frame->setVisible(false); |
| 68 | |
| 69 | auto geo = this->geometry(); |
| 70 | geo.setWidth(geo.width() / 2); |
| 71 | this->setGeometry(geo); |
| 72 | } |
| 73 | |
| 74 | void AeqSelector::showEvent(QShowEvent *ev) |
| 75 | { |
no test coverage detected