controller_config.ui 8.3 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308
  1. <?xml version="1.0" encoding="UTF-8"?>
  2. <ui version="4.0">
  3. <class>ControllerConfig</class>
  4. <widget class="QWidget" name="ControllerConfig">
  5. <property name="geometry">
  6. <rect>
  7. <x>0</x>
  8. <y>0</y>
  9. <width>503</width>
  10. <height>293</height>
  11. </rect>
  12. </property>
  13. <property name="sizePolicy">
  14. <sizepolicy hsizetype="Fixed" vsizetype="Fixed">
  15. <horstretch>0</horstretch>
  16. <verstretch>0</verstretch>
  17. </sizepolicy>
  18. </property>
  19. <property name="windowTitle">
  20. <string>Controller Configuration</string>
  21. </property>
  22. <layout class="QVBoxLayout" name="verticalLayout">
  23. <property name="sizeConstraint">
  24. <enum>QLayout::SetFixedSize</enum>
  25. </property>
  26. <item>
  27. <layout class="QGridLayout" name="gridLayout">
  28. <item row="1" column="1">
  29. <widget class="QComboBox" name="activeControllerCB">
  30. <item>
  31. <property name="text">
  32. <string>Controller 1</string>
  33. </property>
  34. </item>
  35. <item>
  36. <property name="text">
  37. <string>Controller 2</string>
  38. </property>
  39. </item>
  40. <item>
  41. <property name="text">
  42. <string>Controller 3</string>
  43. </property>
  44. </item>
  45. <item>
  46. <property name="text">
  47. <string>Controller 4</string>
  48. </property>
  49. </item>
  50. </widget>
  51. </item>
  52. <item row="0" column="2">
  53. <spacer name="horizontalSpacer">
  54. <property name="orientation">
  55. <enum>Qt::Horizontal</enum>
  56. </property>
  57. <property name="sizeHint" stdset="0">
  58. <size>
  59. <width>40</width>
  60. <height>20</height>
  61. </size>
  62. </property>
  63. </spacer>
  64. </item>
  65. <item row="1" column="2">
  66. <widget class="QCheckBox" name="checkBox">
  67. <property name="text">
  68. <string>Enabled</string>
  69. </property>
  70. </widget>
  71. </item>
  72. <item row="0" column="1">
  73. <widget class="QComboBox" name="inputSourceCB">
  74. <item>
  75. <property name="text">
  76. <string>Keyboard</string>
  77. </property>
  78. </item>
  79. <item>
  80. <property name="text">
  81. <string>Joypad</string>
  82. </property>
  83. </item>
  84. </widget>
  85. </item>
  86. <item row="1" column="0">
  87. <widget class="QLabel" name="label_2">
  88. <property name="text">
  89. <string>Active Controller:</string>
  90. </property>
  91. </widget>
  92. </item>
  93. <item row="0" column="0">
  94. <widget class="QLabel" name="label">
  95. <property name="text">
  96. <string>Input Source:</string>
  97. </property>
  98. </widget>
  99. </item>
  100. </layout>
  101. </item>
  102. <item>
  103. <widget class="QTabWidget" name="tabWidget">
  104. <property name="currentIndex">
  105. <number>0</number>
  106. </property>
  107. <widget class="QWidget" name="mainStickTab">
  108. <attribute name="title">
  109. <string>Main Stick</string>
  110. </attribute>
  111. <layout class="QGridLayout" name="gridLayout_3">
  112. <item row="2" column="2">
  113. <spacer name="verticalSpacer_2">
  114. <property name="orientation">
  115. <enum>Qt::Vertical</enum>
  116. </property>
  117. <property name="sizeHint" stdset="0">
  118. <size>
  119. <width>20</width>
  120. <height>40</height>
  121. </size>
  122. </property>
  123. </spacer>
  124. </item>
  125. <item row="0" column="2">
  126. <spacer name="verticalSpacer_3">
  127. <property name="orientation">
  128. <enum>Qt::Vertical</enum>
  129. </property>
  130. <property name="sizeHint" stdset="0">
  131. <size>
  132. <width>20</width>
  133. <height>40</height>
  134. </size>
  135. </property>
  136. </spacer>
  137. </item>
  138. <item row="1" column="0">
  139. <spacer name="horizontalSpacer_4">
  140. <property name="orientation">
  141. <enum>Qt::Horizontal</enum>
  142. </property>
  143. <property name="sizeHint" stdset="0">
  144. <size>
  145. <width>40</width>
  146. <height>20</height>
  147. </size>
  148. </property>
  149. </spacer>
  150. </item>
  151. <item row="1" column="4">
  152. <spacer name="horizontalSpacer_3">
  153. <property name="orientation">
  154. <enum>Qt::Horizontal</enum>
  155. </property>
  156. <property name="sizeHint" stdset="0">
  157. <size>
  158. <width>40</width>
  159. <height>20</height>
  160. </size>
  161. </property>
  162. </spacer>
  163. </item>
  164. </layout>
  165. </widget>
  166. <widget class="QWidget" name="cStickTab">
  167. <attribute name="title">
  168. <string>C-Stick</string>
  169. </attribute>
  170. <layout class="QGridLayout" name="gridLayout_4">
  171. <item row="1" column="0">
  172. <spacer name="horizontalSpacer_6">
  173. <property name="orientation">
  174. <enum>Qt::Horizontal</enum>
  175. </property>
  176. <property name="sizeHint" stdset="0">
  177. <size>
  178. <width>40</width>
  179. <height>0</height>
  180. </size>
  181. </property>
  182. </spacer>
  183. </item>
  184. <item row="0" column="1">
  185. <spacer name="verticalSpacer_5">
  186. <property name="orientation">
  187. <enum>Qt::Vertical</enum>
  188. </property>
  189. <property name="sizeHint" stdset="0">
  190. <size>
  191. <width>20</width>
  192. <height>40</height>
  193. </size>
  194. </property>
  195. </spacer>
  196. </item>
  197. <item row="2" column="1">
  198. <spacer name="verticalSpacer_4">
  199. <property name="orientation">
  200. <enum>Qt::Vertical</enum>
  201. </property>
  202. <property name="sizeHint" stdset="0">
  203. <size>
  204. <width>20</width>
  205. <height>40</height>
  206. </size>
  207. </property>
  208. </spacer>
  209. </item>
  210. <item row="1" column="2">
  211. <spacer name="horizontalSpacer_5">
  212. <property name="orientation">
  213. <enum>Qt::Horizontal</enum>
  214. </property>
  215. <property name="sizeHint" stdset="0">
  216. <size>
  217. <width>40</width>
  218. <height>20</height>
  219. </size>
  220. </property>
  221. </spacer>
  222. </item>
  223. </layout>
  224. </widget>
  225. <widget class="QWidget" name="dPadTab">
  226. <attribute name="title">
  227. <string>D-Pad</string>
  228. </attribute>
  229. <layout class="QGridLayout" name="gridLayout_5">
  230. <item row="1" column="2">
  231. <spacer name="horizontalSpacer_7">
  232. <property name="orientation">
  233. <enum>Qt::Horizontal</enum>
  234. </property>
  235. <property name="sizeHint" stdset="0">
  236. <size>
  237. <width>40</width>
  238. <height>20</height>
  239. </size>
  240. </property>
  241. </spacer>
  242. </item>
  243. <item row="0" column="1">
  244. <spacer name="verticalSpacer_7">
  245. <property name="orientation">
  246. <enum>Qt::Vertical</enum>
  247. </property>
  248. <property name="sizeHint" stdset="0">
  249. <size>
  250. <width>20</width>
  251. <height>40</height>
  252. </size>
  253. </property>
  254. </spacer>
  255. </item>
  256. <item row="2" column="1">
  257. <spacer name="verticalSpacer_6">
  258. <property name="orientation">
  259. <enum>Qt::Vertical</enum>
  260. </property>
  261. <property name="sizeHint" stdset="0">
  262. <size>
  263. <width>20</width>
  264. <height>40</height>
  265. </size>
  266. </property>
  267. </spacer>
  268. </item>
  269. <item row="1" column="0">
  270. <spacer name="horizontalSpacer_8">
  271. <property name="orientation">
  272. <enum>Qt::Horizontal</enum>
  273. </property>
  274. <property name="sizeHint" stdset="0">
  275. <size>
  276. <width>40</width>
  277. <height>20</height>
  278. </size>
  279. </property>
  280. </spacer>
  281. </item>
  282. </layout>
  283. </widget>
  284. <widget class="QWidget" name="buttonsTab">
  285. <attribute name="title">
  286. <string>Buttons</string>
  287. </attribute>
  288. <layout class="QVBoxLayout" name="verticalLayout_2"/>
  289. </widget>
  290. </widget>
  291. </item>
  292. </layout>
  293. </widget>
  294. <resources/>
  295. <connections/>
  296. <slots>
  297. <signal>ControlsChanged()</signal>
  298. <signal>MainStickCleared()</signal>
  299. <signal>CStickCleared()</signal>
  300. <signal>DPadCleared()</signal>
  301. <signal>ButtonsCleared()</signal>
  302. <slot>OnControlsChanged()</slot>
  303. <slot>OnMainStickCleared()</slot>
  304. <slot>OnCStickCleared()</slot>
  305. <slot>OnDPadCleared()</slot>
  306. <slot>OnButtonsCleared()</slot>
  307. </slots>
  308. </ui>