CustomizeKeyboardDialog.ui 6.3 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221
  1. <?xml version="1.0" encoding="UTF-8"?>
  2. <ui version="4.0">
  3. <class>CustomizeKeyboardDialog</class>
  4. <widget class="QWidget" name="CustomizeKeyboardDialog">
  5. <property name="geometry">
  6. <rect>
  7. <x>0</x>
  8. <y>0</y>
  9. <width>651</width>
  10. <height>444</height>
  11. </rect>
  12. </property>
  13. <property name="sizePolicy">
  14. <sizepolicy hsizetype="MinimumExpanding" vsizetype="Preferred">
  15. <horstretch>0</horstretch>
  16. <verstretch>0</verstretch>
  17. </sizepolicy>
  18. </property>
  19. <property name="windowTitle">
  20. <string>Customize Keyboard</string>
  21. </property>
  22. <layout class="QGridLayout" name="gridLayout" rowstretch="0,1,0,0" columnstretch="1,0">
  23. <item row="1" column="0">
  24. <layout class="QVBoxLayout" name="verticalLayout_3">
  25. <item>
  26. <widget class="QLabel" name="commandsLabel">
  27. <property name="text">
  28. <string>Commands:</string>
  29. </property>
  30. <property name="buddy">
  31. <cstring>commandsView</cstring>
  32. </property>
  33. </widget>
  34. </item>
  35. <item>
  36. <widget class="QListView" name="commandsView">
  37. <property name="sizePolicy">
  38. <sizepolicy hsizetype="Expanding" vsizetype="Expanding">
  39. <horstretch>0</horstretch>
  40. <verstretch>1</verstretch>
  41. </sizepolicy>
  42. </property>
  43. <property name="minimumSize">
  44. <size>
  45. <width>250</width>
  46. <height>0</height>
  47. </size>
  48. </property>
  49. <property name="uniformItemSizes">
  50. <bool>true</bool>
  51. </property>
  52. </widget>
  53. </item>
  54. </layout>
  55. </item>
  56. <item row="0" column="0">
  57. <layout class="QVBoxLayout" name="verticalLayout_4">
  58. <item>
  59. <widget class="QLabel" name="categoryLabel">
  60. <property name="text">
  61. <string>Category:</string>
  62. </property>
  63. <property name="buddy">
  64. <cstring>categories</cstring>
  65. </property>
  66. </widget>
  67. </item>
  68. <item>
  69. <widget class="QComboBox" name="categories"/>
  70. </item>
  71. </layout>
  72. </item>
  73. <item row="2" column="0" colspan="2">
  74. <layout class="QVBoxLayout" name="verticalLayout">
  75. <item>
  76. <widget class="QGroupBox" name="descriptionGroupBox">
  77. <property name="sizePolicy">
  78. <sizepolicy hsizetype="Ignored" vsizetype="Preferred">
  79. <horstretch>0</horstretch>
  80. <verstretch>0</verstretch>
  81. </sizepolicy>
  82. </property>
  83. <property name="title">
  84. <string>Description:</string>
  85. </property>
  86. <layout class="QVBoxLayout" name="verticalLayout_6">
  87. <item>
  88. <widget class="QLabel" name="descriptionLabel">
  89. <property name="sizePolicy">
  90. <sizepolicy hsizetype="Ignored" vsizetype="Preferred">
  91. <horstretch>0</horstretch>
  92. <verstretch>0</verstretch>
  93. </sizepolicy>
  94. </property>
  95. <property name="text">
  96. <string/>
  97. </property>
  98. </widget>
  99. </item>
  100. </layout>
  101. </widget>
  102. </item>
  103. </layout>
  104. </item>
  105. <item row="1" column="1">
  106. <layout class="QVBoxLayout" name="verticalLayout_7">
  107. <item>
  108. <widget class="QLabel" name="shortcutsLabel">
  109. <property name="text">
  110. <string>Shortcuts:</string>
  111. </property>
  112. <property name="buddy">
  113. <cstring>shortcutsView</cstring>
  114. </property>
  115. </widget>
  116. </item>
  117. <item>
  118. <layout class="QHBoxLayout" name="horizontalLayout">
  119. <item>
  120. <layout class="QVBoxLayout" name="verticalLayout_5">
  121. <item>
  122. <widget class="QListView" name="shortcutsView"/>
  123. </item>
  124. <item>
  125. <widget class="QLabel" name="newShortcutLabel">
  126. <property name="text">
  127. <string>New shortcut:</string>
  128. </property>
  129. <property name="buddy">
  130. <cstring>keySequenceEdit</cstring>
  131. </property>
  132. </widget>
  133. </item>
  134. <item>
  135. <widget class="QKeySequenceEdit" name="keySequenceEdit">
  136. <property name="enabled">
  137. <bool>false</bool>
  138. </property>
  139. <property name="sizePolicy">
  140. <sizepolicy hsizetype="Preferred" vsizetype="Fixed">
  141. <horstretch>0</horstretch>
  142. <verstretch>0</verstretch>
  143. </sizepolicy>
  144. </property>
  145. </widget>
  146. </item>
  147. </layout>
  148. </item>
  149. <item>
  150. <layout class="QVBoxLayout" name="verticalLayout_2">
  151. <item>
  152. <widget class="QPushButton" name="removeButton">
  153. <property name="enabled">
  154. <bool>false</bool>
  155. </property>
  156. <property name="text">
  157. <string>Remove</string>
  158. </property>
  159. </widget>
  160. </item>
  161. <item>
  162. <widget class="QPushButton" name="clearButton">
  163. <property name="enabled">
  164. <bool>false</bool>
  165. </property>
  166. <property name="text">
  167. <string>Clear</string>
  168. </property>
  169. </widget>
  170. </item>
  171. <item>
  172. <spacer name="verticalSpacer_2">
  173. <property name="orientation">
  174. <enum>Qt::Vertical</enum>
  175. </property>
  176. <property name="sizeHint" stdset="0">
  177. <size>
  178. <width>20</width>
  179. <height>18</height>
  180. </size>
  181. </property>
  182. </spacer>
  183. </item>
  184. <item>
  185. <widget class="QPushButton" name="assignButton">
  186. <property name="enabled">
  187. <bool>false</bool>
  188. </property>
  189. <property name="text">
  190. <string>Assign</string>
  191. </property>
  192. </widget>
  193. </item>
  194. </layout>
  195. </item>
  196. </layout>
  197. </item>
  198. </layout>
  199. </item>
  200. <item row="3" column="0" colspan="2">
  201. <widget class="QDialogButtonBox" name="buttonBox">
  202. <property name="standardButtons">
  203. <set>QDialogButtonBox::Cancel|QDialogButtonBox::Close|QDialogButtonBox::RestoreDefaults</set>
  204. </property>
  205. </widget>
  206. </item>
  207. </layout>
  208. </widget>
  209. <tabstops>
  210. <tabstop>categories</tabstop>
  211. <tabstop>commandsView</tabstop>
  212. <tabstop>shortcutsView</tabstop>
  213. <tabstop>removeButton</tabstop>
  214. <tabstop>clearButton</tabstop>
  215. <tabstop>keySequenceEdit</tabstop>
  216. <tabstop>assignButton</tabstop>
  217. </tabstops>
  218. <resources/>
  219. <connections/>
  220. </ui>