exit menu action working

This commit is contained in:
Daniel Jones 2024-01-05 14:53:15 -06:00
parent f798593240
commit d85a8791b8
2 changed files with 27 additions and 1 deletions

View File

@ -36,7 +36,10 @@ MainWindow::~MainWindow()
} }
void bookmarked_verse_func(){
qDebug("test");
}
@ -80,6 +83,9 @@ QString verse_grab(){
} }
//UI function that exits when the "go in peace" button is pressed. //UI function that exits when the "go in peace" button is pressed.
void MainWindow::on_exitButton_clicked() void MainWindow::on_exitButton_clicked()
{ {

View File

@ -76,11 +76,31 @@
</property> </property>
</action> </action>
<action name="actionexit"> <action name="actionexit">
<property name="checkable">
<bool>false</bool>
</property>
<property name="text"> <property name="text">
<string>exit</string> <string>exit</string>
</property> </property>
</action> </action>
</widget> </widget>
<resources/> <resources/>
<connections/> <connections>
<connection>
<sender>actionexit</sender>
<signal>triggered()</signal>
<receiver>MainWindow</receiver>
<slot>close()</slot>
<hints>
<hint type="sourcelabel">
<x>189</x>
<y>522</y>
</hint>
<hint type="destinationlabel">
<x>193</x>
<y>299</y>
</hint>
</hints>
</connection>
</connections>
</ui> </ui>