Used way proposed in MainWindow class.
--HG-- branch : develop
This commit is contained in:
parent
211b68b920
commit
a781d16cd4
|
@ -697,6 +697,12 @@ void TMainWindow::AboutApplication()
|
||||||
aboutDialog->show();
|
aboutDialog->show();
|
||||||
}
|
}
|
||||||
|
|
||||||
|
//---------------------------------------------------------------------------------------------------------------------
|
||||||
|
void TMainWindow::AboutQt()
|
||||||
|
{
|
||||||
|
QMessageBox::aboutQt(this, tr("About Qt"));
|
||||||
|
}
|
||||||
|
|
||||||
//---------------------------------------------------------------------------------------------------------------------
|
//---------------------------------------------------------------------------------------------------------------------
|
||||||
void TMainWindow::SaveGivenName()
|
void TMainWindow::SaveGivenName()
|
||||||
{
|
{
|
||||||
|
@ -1706,7 +1712,7 @@ void TMainWindow::SetupMenu()
|
||||||
AboutToShowWindowMenu();
|
AboutToShowWindowMenu();
|
||||||
|
|
||||||
// Help
|
// Help
|
||||||
connect(ui->actionAboutQt, &QAction::triggered, qApp, &MApplication::aboutQt);
|
connect(ui->actionAboutQt, &QAction::triggered, this, &TMainWindow::AboutQt);
|
||||||
connect(ui->actionAboutTape, &QAction::triggered, this, &TMainWindow::AboutApplication);
|
connect(ui->actionAboutTape, &QAction::triggered, this, &TMainWindow::AboutApplication);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
|
@ -81,6 +81,7 @@ private slots:
|
||||||
void AboutToShowWindowMenu();
|
void AboutToShowWindowMenu();
|
||||||
void ShowWindow();
|
void ShowWindow();
|
||||||
void AboutApplication();
|
void AboutApplication();
|
||||||
|
void AboutQt();
|
||||||
|
|
||||||
void SaveGivenName();
|
void SaveGivenName();
|
||||||
void SaveFamilyName();
|
void SaveFamilyName();
|
||||||
|
|
Loading…
Reference in New Issue
Block a user