Убрал кнопки Справка из диалогов ГУИ

This commit is contained in:
2025-09-15 11:54:51 +03:00
parent 908430fd24
commit 762437a908
10 changed files with 27 additions and 15 deletions

View File

@@ -288,6 +288,7 @@ bool InstructorsAndTraineesWidget::authorizationInstructorDialog(QWidget* parent
{
DialogAuthorizationInstructor dlg(parent);
dlg.setWindowTitle(tr("Instructor authorization"));
dlg.setWindowFlags(dlg.windowFlags() & ~Qt::WindowContextHelpButtonHint);
do
{
@@ -424,6 +425,7 @@ void InstructorsAndTraineesWidget::setLanguageInterfase()
void InstructorsAndTraineesWidget::on_btnSettings_clicked()
{
DialogSettings dlg(connectorToServer, (loginInstructorLoggedInLocal != ""), this);
dlg.setWindowFlags(dlg.windowFlags() & ~Qt::WindowContextHelpButtonHint);
connect(&dlg, &DialogSettings::signal_LanguageChanged, this, &InstructorsAndTraineesWidget::slot_LanguageChanged);
connect(&dlg, &DialogSettings::signal_UpdateStyleSheet, this, &InstructorsAndTraineesWidget::slot_UpdateStyleSheet);