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();
|
||||
}
|
||||
|
||||
//---------------------------------------------------------------------------------------------------------------------
|
||||
void TMainWindow::AboutQt()
|
||||
{
|
||||
QMessageBox::aboutQt(this, tr("About Qt"));
|
||||
}
|
||||
|
||||
//---------------------------------------------------------------------------------------------------------------------
|
||||
void TMainWindow::SaveGivenName()
|
||||
{
|
||||
|
@ -1706,7 +1712,7 @@ void TMainWindow::SetupMenu()
|
|||
AboutToShowWindowMenu();
|
||||
|
||||
// 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);
|
||||
}
|
||||
|
||||
|
|
|
@ -81,6 +81,7 @@ private slots:
|
|||
void AboutToShowWindowMenu();
|
||||
void ShowWindow();
|
||||
void AboutApplication();
|
||||
void AboutQt();
|
||||
|
||||
void SaveGivenName();
|
||||
void SaveFamilyName();
|
||||
|
|
Loading…
Reference in New Issue
Block a user