|
|
@ -83,6 +83,10 @@ void OverlayDialog::InitializeRegularTextDialog(const QString& title_text, const
|
|
|
|
ui->button_ok_label->setEnabled(false);
|
|
|
|
ui->button_ok_label->setEnabled(false);
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
if (ui->button_cancel->isHidden() && ui->button_ok_label->isHidden()) {
|
|
|
|
|
|
|
|
ui->buttonsDialog->hide();
|
|
|
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
connect(
|
|
|
|
connect(
|
|
|
|
ui->button_cancel, &QPushButton::clicked, this,
|
|
|
|
ui->button_cancel, &QPushButton::clicked, this,
|
|
|
|
[this](bool) {
|
|
|
|
[this](bool) {
|
|
|
@ -130,6 +134,10 @@ void OverlayDialog::InitializeRichTextDialog(const QString& title_text, const QS
|
|
|
|
ui->button_ok_rich->setEnabled(false);
|
|
|
|
ui->button_ok_rich->setEnabled(false);
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
if (ui->button_cancel_rich->isHidden() && ui->button_ok_rich->isHidden()) {
|
|
|
|
|
|
|
|
ui->buttonsRichDialog->hide();
|
|
|
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
connect(
|
|
|
|
connect(
|
|
|
|
ui->button_cancel_rich, &QPushButton::clicked, this,
|
|
|
|
ui->button_cancel_rich, &QPushButton::clicked, this,
|
|
|
|
[this](bool) {
|
|
|
|
[this](bool) {
|
|
|
|