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