diff options
Diffstat (limited to 'src/ui/forms/shortcutdialog.ui')
| -rw-r--r-- | src/ui/forms/shortcutdialog.ui | 120 |
1 files changed, 120 insertions, 0 deletions
diff --git a/src/ui/forms/shortcutdialog.ui b/src/ui/forms/shortcutdialog.ui new file mode 100644 index 000000000..db1cf466e --- /dev/null +++ b/src/ui/forms/shortcutdialog.ui @@ -0,0 +1,120 @@ +<?xml version="1.0" encoding="UTF-8"?> +<ui version="4.0"> + <class>ShortcutDialog</class> + <widget class="QDialog" name="HotkeyDialog"> + <property name="geometry"> + <rect> + <x>0</x> + <y>0</y> + <width>310</width> + <height>89</height> + </rect> + </property> + <property name="windowTitle"> + <string>Change Shortcut</string> + </property> + <layout class="QGridLayout" name="gridLayout"> + <property name="leftMargin"> + <number>6</number> + </property> + <property name="rightMargin"> + <number>6</number> + </property> + <property name="bottomMargin"> + <number>6</number> + </property> + <item row="0" column="0" colspan="3"> + <widget class="QLabel" name="label"> + <property name="text"> + <string>Press the key combination you want to assign</string> + </property> + </widget> + </item> + <item row="1" column="0" colspan="3"> + <widget class="QLineEdit" name="keyLineEdit"> + <property name="readOnly"> + <bool>true</bool> + </property> + </widget> + </item> + <item row="2" column="0"> + <widget class="QPushButton" name="clearButton"> + <property name="text"> + <string>Clear</string> + </property> + </widget> + </item> + <item row="2" column="1"> + <spacer name="horizontalSpacer"> + <property name="orientation"> + <enum>Qt::Horizontal</enum> + </property> + <property name="sizeHint" stdset="0"> + <size> + <width>106</width> + <height>20</height> + </size> + </property> + </spacer> + </item> + <item row="2" column="2"> + <widget class="QDialogButtonBox" name="buttonBox"> + <property name="standardButtons"> + <set>QDialogButtonBox::Cancel|QDialogButtonBox::Ok</set> + </property> + </widget> + </item> + </layout> + </widget> + <resources/> + <connections> + <connection> + <sender>buttonBox</sender> + <signal>accepted()</signal> + <receiver>HotkeyDialog</receiver> + <slot>accept()</slot> + <hints> + <hint type="sourcelabel"> + <x>212</x> + <y>70</y> + </hint> + <hint type="destinationlabel"> + <x>192</x> + <y>269</y> + </hint> + </hints> + </connection> + <connection> + <sender>buttonBox</sender> + <signal>rejected()</signal> + <receiver>HotkeyDialog</receiver> + <slot>reject()</slot> + <hints> + <hint type="sourcelabel"> + <x>212</x> + <y>70</y> + </hint> + <hint type="destinationlabel"> + <x>246</x> + <y>214</y> + </hint> + </hints> + </connection> + <connection> + <sender>clearButton</sender> + <signal>clicked()</signal> + <receiver>keyLineEdit</receiver> + <slot>clear()</slot> + <hints> + <hint type="sourcelabel"> + <x>195</x> + <y>22</y> + </hint> + <hint type="destinationlabel"> + <x>113</x> + <y>25</y> + </hint> + </hints> + </connection> + </connections> +</ui> |
