exit menu action working
This commit is contained in:
parent
f798593240
commit
d85a8791b8
@ -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.
|
||||
void MainWindow::on_exitButton_clicked()
|
||||
{
|
||||
|
@ -76,11 +76,31 @@
|
||||
</property>
|
||||
</action>
|
||||
<action name="actionexit">
|
||||
<property name="checkable">
|
||||
<bool>false</bool>
|
||||
</property>
|
||||
<property name="text">
|
||||
<string>exit</string>
|
||||
</property>
|
||||
</action>
|
||||
</widget>
|
||||
<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>
|
||||
|
Loading…
Reference in New Issue
Block a user