[qcineoob] quit shortcut
This commit is contained in:
parent
1465221b37
commit
cbc0d16b68
2 changed files with 12 additions and 2 deletions
|
|
@ -59,6 +59,7 @@ class MainWindow(QtMainWindow):
|
||||||
self.connect(self.ui.typeCombo, SIGNAL("currentIndexChanged(QString)"), self.typeComboChanged)
|
self.connect(self.ui.typeCombo, SIGNAL("currentIndexChanged(QString)"), self.typeComboChanged)
|
||||||
|
|
||||||
self.connect(self.ui.actionBackends, SIGNAL("triggered()"), self.backendsConfig)
|
self.connect(self.ui.actionBackends, SIGNAL("triggered()"), self.backendsConfig)
|
||||||
|
self.connect(self.ui.actionQuit, SIGNAL("triggered()"), self.close)
|
||||||
|
|
||||||
self.loadBackendsList()
|
self.loadBackendsList()
|
||||||
|
|
||||||
|
|
|
||||||
|
|
@ -200,8 +200,8 @@
|
||||||
<rect>
|
<rect>
|
||||||
<x>0</x>
|
<x>0</x>
|
||||||
<y>0</y>
|
<y>0</y>
|
||||||
<width>96</width>
|
<width>63</width>
|
||||||
<height>26</height>
|
<height>18</height>
|
||||||
</rect>
|
</rect>
|
||||||
</property>
|
</property>
|
||||||
<layout class="QVBoxLayout" name="verticalLayout_8"/>
|
<layout class="QVBoxLayout" name="verticalLayout_8"/>
|
||||||
|
|
@ -236,12 +236,21 @@
|
||||||
<bool>false</bool>
|
<bool>false</bool>
|
||||||
</attribute>
|
</attribute>
|
||||||
<addaction name="actionBackends"/>
|
<addaction name="actionBackends"/>
|
||||||
|
<addaction name="actionQuit"/>
|
||||||
</widget>
|
</widget>
|
||||||
<action name="actionBackends">
|
<action name="actionBackends">
|
||||||
<property name="text">
|
<property name="text">
|
||||||
<string>Backends</string>
|
<string>Backends</string>
|
||||||
</property>
|
</property>
|
||||||
</action>
|
</action>
|
||||||
|
<action name="actionQuit">
|
||||||
|
<property name="text">
|
||||||
|
<string>Quit</string>
|
||||||
|
</property>
|
||||||
|
<property name="shortcut">
|
||||||
|
<string>Ctrl+Q</string>
|
||||||
|
</property>
|
||||||
|
</action>
|
||||||
</widget>
|
</widget>
|
||||||
<resources/>
|
<resources/>
|
||||||
<connections/>
|
<connections/>
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue