Add about dialogs.
Signed-off-by: Andrea Odetti <mariofutire@gmail.com>
This commit is contained in:
parent
ae4be77382
commit
611c661d00
3 changed files with 26 additions and 0 deletions
|
@ -454,3 +454,13 @@ void QApple::on_actionLoad_state_triggered()
|
|||
myEmulatorWindow->setWindowTitle(g_pAppTitle);
|
||||
myEmulator->redrawScreen();
|
||||
}
|
||||
|
||||
void QApple::on_actionAbout_Qt_triggered()
|
||||
{
|
||||
QMessageBox::aboutQt(this);
|
||||
}
|
||||
|
||||
void QApple::on_actionAbout_triggered()
|
||||
{
|
||||
QMessageBox::about(this, QApplication::applicationName(), "Apple ][ emulator\n\nBased on AppleWin\n");
|
||||
}
|
||||
|
|
|
@ -49,6 +49,10 @@ private slots:
|
|||
|
||||
void on_actionLoad_state_triggered();
|
||||
|
||||
void on_actionAbout_Qt_triggered();
|
||||
|
||||
void on_actionAbout_triggered();
|
||||
|
||||
private:
|
||||
|
||||
void stopTimer();
|
||||
|
|
|
@ -55,6 +55,8 @@
|
|||
<string>Wi&ndow</string>
|
||||
</property>
|
||||
<addaction name="actionMemory"/>
|
||||
<addaction name="actionAbout_Qt"/>
|
||||
<addaction name="actionAbout"/>
|
||||
</widget>
|
||||
<widget class="QMenu" name="menuTools">
|
||||
<property name="title">
|
||||
|
@ -159,6 +161,16 @@
|
|||
<string>&Save state</string>
|
||||
</property>
|
||||
</action>
|
||||
<action name="actionAbout_Qt">
|
||||
<property name="text">
|
||||
<string>About Qt...</string>
|
||||
</property>
|
||||
</action>
|
||||
<action name="actionAbout">
|
||||
<property name="text">
|
||||
<string>About...</string>
|
||||
</property>
|
||||
</action>
|
||||
</widget>
|
||||
<layoutdefault spacing="6" margin="11"/>
|
||||
<resources/>
|
||||
|
|
Loading…
Add table
Reference in a new issue