Exit btn
This commit is contained in:
parent
10695d0190
commit
cf486f6e68
@ -1048,5 +1048,5 @@ void MainWindow::on_addStep_clicked()
|
|||||||
this->addNewStep();
|
this->addNewStep();
|
||||||
}
|
}
|
||||||
|
|
||||||
|
void MainWindow::on_actionExit_triggered() { QApplication::quit(); }
|
||||||
|
|
||||||
|
|||||||
@ -125,6 +125,8 @@ private slots:
|
|||||||
|
|
||||||
void on_addStep_clicked();
|
void on_addStep_clicked();
|
||||||
|
|
||||||
|
void on_actionExit_triggered();
|
||||||
|
|
||||||
private:
|
private:
|
||||||
Ui::MainWindow *ui;
|
Ui::MainWindow *ui;
|
||||||
QString currentFile;
|
QString currentFile;
|
||||||
|
|||||||
@ -495,6 +495,7 @@
|
|||||||
<addaction name="actionOpen"/>
|
<addaction name="actionOpen"/>
|
||||||
<addaction name="actionSave"/>
|
<addaction name="actionSave"/>
|
||||||
<addaction name="actionSave_as"/>
|
<addaction name="actionSave_as"/>
|
||||||
|
<addaction name="actionExit"/>
|
||||||
</widget>
|
</widget>
|
||||||
<widget class="QMenu" name="menuEdit">
|
<widget class="QMenu" name="menuEdit">
|
||||||
<property name="title">
|
<property name="title">
|
||||||
@ -839,6 +840,14 @@
|
|||||||
<string>Overline</string>
|
<string>Overline</string>
|
||||||
</property>
|
</property>
|
||||||
</action>
|
</action>
|
||||||
|
<action name="actionExit">
|
||||||
|
<property name="text">
|
||||||
|
<string>Exit</string>
|
||||||
|
</property>
|
||||||
|
<property name="shortcut">
|
||||||
|
<string>Ctrl+Q</string>
|
||||||
|
</property>
|
||||||
|
</action>
|
||||||
</widget>
|
</widget>
|
||||||
<resources>
|
<resources>
|
||||||
<include location="data.qrc"/>
|
<include location="data.qrc"/>
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user