refact ui 1

This commit is contained in:
2026-01-15 16:24:52 +03:00
parent 2ab2e47850
commit 4e2c6bb81e
3 changed files with 33 additions and 36 deletions

View File

@@ -23,7 +23,7 @@ DialogVersionControl::DialogVersionControl(ConnectorToServer* connectorToServer,
ui->deleteVersionButton->setObjectName("deleteVersionButton");
ui->switchServerVersionButton->setObjectName("switchServerVersionButton");
setMinimumSize(500, 300);
setMinimumSize(600, 300);
setWindowFlags(windowFlags() & ~Qt::WindowContextHelpButtonHint);
setWindowTitle(tr("Version control"));
@@ -169,7 +169,10 @@ void DialogVersionControl::on_deleteVersionButton_clicked()
return;
}
if(SpecMsgBox::WarningYesNo(this, tr("The deletion will be irrevocable.\nDelete it anyway?")) == QDialog::Accepted)
{
emit sigSendDeleteVersion(selectedVersion);
}
}
void DialogVersionControl::on_switchServerVersionButton_clicked()