configure_input.ui 15 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492493494495496497498499500501502503504505506507508509510511512513514515516517518519520521522523524525526527528529
  1. <?xml version="1.0" encoding="UTF-8"?>
  2. <ui version="4.0">
  3. <class>ConfigureInput</class>
  4. <widget class="QDialog" name="ConfigureInput">
  5. <property name="geometry">
  6. <rect>
  7. <x>0</x>
  8. <y>0</y>
  9. <width>384</width>
  10. <height>576</height>
  11. </rect>
  12. </property>
  13. <property name="windowTitle">
  14. <string>Custom Input Settings</string>
  15. </property>
  16. <layout class="QVBoxLayout" name="verticalLayout_5">
  17. <item>
  18. <layout class="QVBoxLayout" name="verticalLayout">
  19. <item>
  20. <widget class="QGroupBox" name="gridGroupBox_1">
  21. <property name="title">
  22. <string>Players</string>
  23. </property>
  24. <layout class="QGridLayout" name="gridLayout">
  25. <item row="1" column="2">
  26. <widget class="QComboBox" name="player1_combobox">
  27. <property name="minimumSize">
  28. <size>
  29. <width>110</width>
  30. <height>0</height>
  31. </size>
  32. </property>
  33. </widget>
  34. </item>
  35. <item row="1" column="3">
  36. <widget class="QPushButton" name="player1_configure">
  37. <property name="text">
  38. <string>Configure</string>
  39. </property>
  40. </widget>
  41. </item>
  42. <item row="0" column="2">
  43. <widget class="QLabel" name="label">
  44. <property name="text">
  45. <string>Controller Type</string>
  46. </property>
  47. <property name="alignment">
  48. <set>Qt::AlignCenter</set>
  49. </property>
  50. </widget>
  51. </item>
  52. <item row="2" column="2">
  53. <widget class="QComboBox" name="player2_combobox">
  54. <property name="minimumSize">
  55. <size>
  56. <width>110</width>
  57. <height>0</height>
  58. </size>
  59. </property>
  60. </widget>
  61. </item>
  62. <item row="3" column="2">
  63. <widget class="QComboBox" name="player3_combobox">
  64. <property name="minimumSize">
  65. <size>
  66. <width>110</width>
  67. <height>0</height>
  68. </size>
  69. </property>
  70. </widget>
  71. </item>
  72. <item row="4" column="2">
  73. <widget class="QComboBox" name="player4_combobox">
  74. <property name="minimumSize">
  75. <size>
  76. <width>110</width>
  77. <height>0</height>
  78. </size>
  79. </property>
  80. </widget>
  81. </item>
  82. <item row="5" column="2">
  83. <widget class="QComboBox" name="player5_combobox">
  84. <property name="minimumSize">
  85. <size>
  86. <width>110</width>
  87. <height>0</height>
  88. </size>
  89. </property>
  90. </widget>
  91. </item>
  92. <item row="6" column="2">
  93. <widget class="QComboBox" name="player6_combobox">
  94. <property name="minimumSize">
  95. <size>
  96. <width>110</width>
  97. <height>0</height>
  98. </size>
  99. </property>
  100. </widget>
  101. </item>
  102. <item row="7" column="2">
  103. <widget class="QComboBox" name="player7_combobox">
  104. <property name="minimumSize">
  105. <size>
  106. <width>110</width>
  107. <height>0</height>
  108. </size>
  109. </property>
  110. </widget>
  111. </item>
  112. <item row="8" column="2">
  113. <widget class="QComboBox" name="player8_combobox">
  114. <property name="minimumSize">
  115. <size>
  116. <width>110</width>
  117. <height>0</height>
  118. </size>
  119. </property>
  120. </widget>
  121. </item>
  122. <item row="2" column="3">
  123. <widget class="QPushButton" name="player2_configure">
  124. <property name="text">
  125. <string>Configure</string>
  126. </property>
  127. </widget>
  128. </item>
  129. <item row="3" column="3">
  130. <widget class="QPushButton" name="player3_configure">
  131. <property name="text">
  132. <string>Configure</string>
  133. </property>
  134. </widget>
  135. </item>
  136. <item row="4" column="3">
  137. <widget class="QPushButton" name="player4_configure">
  138. <property name="text">
  139. <string>Configure</string>
  140. </property>
  141. </widget>
  142. </item>
  143. <item row="5" column="3">
  144. <widget class="QPushButton" name="player5_configure">
  145. <property name="text">
  146. <string>Configure</string>
  147. </property>
  148. </widget>
  149. </item>
  150. <item row="6" column="3">
  151. <widget class="QPushButton" name="player6_configure">
  152. <property name="text">
  153. <string>Configure</string>
  154. </property>
  155. </widget>
  156. </item>
  157. <item row="7" column="3">
  158. <widget class="QPushButton" name="player7_configure">
  159. <property name="text">
  160. <string>Configure</string>
  161. </property>
  162. </widget>
  163. </item>
  164. <item row="8" column="3">
  165. <widget class="QPushButton" name="player8_configure">
  166. <property name="text">
  167. <string>Configure</string>
  168. </property>
  169. </widget>
  170. </item>
  171. <item row="0" column="0">
  172. <spacer name="horizontalSpacer">
  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>20</height>
  180. </size>
  181. </property>
  182. </spacer>
  183. </item>
  184. <item row="0" column="4">
  185. <spacer name="horizontalSpacer_2">
  186. <property name="orientation">
  187. <enum>Qt::Horizontal</enum>
  188. </property>
  189. <property name="sizeHint" stdset="0">
  190. <size>
  191. <width>40</width>
  192. <height>20</height>
  193. </size>
  194. </property>
  195. </spacer>
  196. </item>
  197. <item row="1" column="1">
  198. <widget class="QLabel" name="label_3">
  199. <property name="minimumSize">
  200. <size>
  201. <width>55</width>
  202. <height>0</height>
  203. </size>
  204. </property>
  205. <property name="text">
  206. <string>Player 1</string>
  207. </property>
  208. </widget>
  209. </item>
  210. <item row="2" column="1">
  211. <widget class="QLabel" name="label_4">
  212. <property name="text">
  213. <string>Player 2</string>
  214. </property>
  215. </widget>
  216. </item>
  217. <item row="3" column="1">
  218. <widget class="QLabel" name="label_5">
  219. <property name="text">
  220. <string>Player 3</string>
  221. </property>
  222. </widget>
  223. </item>
  224. <item row="4" column="1">
  225. <widget class="QLabel" name="label_6">
  226. <property name="text">
  227. <string>Player 4</string>
  228. </property>
  229. </widget>
  230. </item>
  231. <item row="5" column="1">
  232. <widget class="QLabel" name="label_7">
  233. <property name="text">
  234. <string>Player 5</string>
  235. </property>
  236. </widget>
  237. </item>
  238. <item row="6" column="1">
  239. <widget class="QLabel" name="label_8">
  240. <property name="text">
  241. <string>Player 6</string>
  242. </property>
  243. </widget>
  244. </item>
  245. <item row="7" column="1">
  246. <widget class="QLabel" name="label_9">
  247. <property name="text">
  248. <string>Player 7</string>
  249. </property>
  250. </widget>
  251. </item>
  252. <item row="8" column="1">
  253. <widget class="QLabel" name="label_10">
  254. <property name="text">
  255. <string>Player 8</string>
  256. </property>
  257. </widget>
  258. </item>
  259. </layout>
  260. </widget>
  261. </item>
  262. <item>
  263. <widget class="QGroupBox" name="gridGroupBox_2">
  264. <property name="title">
  265. <string>Handheld</string>
  266. </property>
  267. <layout class="QGridLayout" name="gridLayout_2">
  268. <item row="1" column="2">
  269. <spacer name="horizontalSpacer_5">
  270. <property name="orientation">
  271. <enum>Qt::Horizontal</enum>
  272. </property>
  273. <property name="sizeType">
  274. <enum>QSizePolicy::Fixed</enum>
  275. </property>
  276. <property name="sizeHint" stdset="0">
  277. <size>
  278. <width>72</width>
  279. <height>20</height>
  280. </size>
  281. </property>
  282. </spacer>
  283. </item>
  284. <item row="1" column="4">
  285. <spacer name="horizontalSpacer_4">
  286. <property name="orientation">
  287. <enum>Qt::Horizontal</enum>
  288. </property>
  289. <property name="sizeHint" stdset="0">
  290. <size>
  291. <width>40</width>
  292. <height>20</height>
  293. </size>
  294. </property>
  295. </spacer>
  296. </item>
  297. <item row="1" column="3">
  298. <widget class="QPushButton" name="handheld_configure">
  299. <property name="text">
  300. <string>Configure</string>
  301. </property>
  302. </widget>
  303. </item>
  304. <item row="1" column="0">
  305. <spacer name="horizontalSpacer_3">
  306. <property name="orientation">
  307. <enum>Qt::Horizontal</enum>
  308. </property>
  309. <property name="sizeHint" stdset="0">
  310. <size>
  311. <width>40</width>
  312. <height>20</height>
  313. </size>
  314. </property>
  315. </spacer>
  316. </item>
  317. <item row="1" column="1">
  318. <widget class="QCheckBox" name="handheld_connected">
  319. <property name="text">
  320. <string>Joycons Docked</string>
  321. </property>
  322. </widget>
  323. </item>
  324. <item row="0" column="1">
  325. <widget class="QCheckBox" name="use_docked_mode">
  326. <property name="text">
  327. <string>Use Docked Mode</string>
  328. </property>
  329. </widget>
  330. </item>
  331. </layout>
  332. </widget>
  333. </item>
  334. <item>
  335. <widget class="QGroupBox" name="gridGroupBox_3">
  336. <property name="title">
  337. <string>Other</string>
  338. </property>
  339. <layout class="QGridLayout" name="gridLayout_3">
  340. <item row="1" column="1">
  341. <widget class="QCheckBox" name="keyboard_enabled">
  342. <property name="minimumSize">
  343. <size>
  344. <width>0</width>
  345. <height>23</height>
  346. </size>
  347. </property>
  348. <property name="text">
  349. <string>Keyboard</string>
  350. </property>
  351. </widget>
  352. </item>
  353. <item row="2" column="1">
  354. <widget class="QCheckBox" name="debug_enabled">
  355. <property name="text">
  356. <string>Debug Controller</string>
  357. </property>
  358. </widget>
  359. </item>
  360. <item row="3" column="1">
  361. <widget class="QCheckBox" name="touchscreen_enabled">
  362. <property name="text">
  363. <string>Touchscreen</string>
  364. </property>
  365. </widget>
  366. </item>
  367. <item row="0" column="1">
  368. <widget class="QCheckBox" name="mouse_enabled">
  369. <property name="minimumSize">
  370. <size>
  371. <width>0</width>
  372. <height>23</height>
  373. </size>
  374. </property>
  375. <property name="text">
  376. <string>Mouse</string>
  377. </property>
  378. </widget>
  379. </item>
  380. <item row="0" column="4">
  381. <spacer name="horizontalSpacer_7">
  382. <property name="orientation">
  383. <enum>Qt::Horizontal</enum>
  384. </property>
  385. <property name="sizeHint" stdset="0">
  386. <size>
  387. <width>40</width>
  388. <height>20</height>
  389. </size>
  390. </property>
  391. </spacer>
  392. </item>
  393. <item row="0" column="2">
  394. <spacer name="horizontalSpacer_8">
  395. <property name="orientation">
  396. <enum>Qt::Horizontal</enum>
  397. </property>
  398. <property name="sizeType">
  399. <enum>QSizePolicy::Fixed</enum>
  400. </property>
  401. <property name="sizeHint" stdset="0">
  402. <size>
  403. <width>76</width>
  404. <height>20</height>
  405. </size>
  406. </property>
  407. </spacer>
  408. </item>
  409. <item row="0" column="0">
  410. <spacer name="horizontalSpacer_6">
  411. <property name="orientation">
  412. <enum>Qt::Horizontal</enum>
  413. </property>
  414. <property name="sizeHint" stdset="0">
  415. <size>
  416. <width>40</width>
  417. <height>20</height>
  418. </size>
  419. </property>
  420. </spacer>
  421. </item>
  422. <item row="3" column="3">
  423. <widget class="QPushButton" name="touchscreen_advanced">
  424. <property name="text">
  425. <string>Advanced</string>
  426. </property>
  427. </widget>
  428. </item>
  429. <item row="2" column="3">
  430. <widget class="QPushButton" name="debug_configure">
  431. <property name="text">
  432. <string>Configure</string>
  433. </property>
  434. </widget>
  435. </item>
  436. <item row="0" column="3">
  437. <widget class="QPushButton" name="mouse_advanced">
  438. <property name="text">
  439. <string>Advanced</string>
  440. </property>
  441. </widget>
  442. </item>
  443. </layout>
  444. </widget>
  445. </item>
  446. <item>
  447. <spacer name="verticalSpacer">
  448. <property name="orientation">
  449. <enum>Qt::Vertical</enum>
  450. </property>
  451. <property name="sizeHint" stdset="0">
  452. <size>
  453. <width>20</width>
  454. <height>40</height>
  455. </size>
  456. </property>
  457. </spacer>
  458. </item>
  459. <item>
  460. <layout class="QHBoxLayout" name="horizontalLayout">
  461. <item>
  462. <widget class="QPushButton" name="restore_defaults_button">
  463. <property name="text">
  464. <string>Restore Defaults</string>
  465. </property>
  466. </widget>
  467. </item>
  468. <item>
  469. <spacer name="horizontalSpacer_9">
  470. <property name="orientation">
  471. <enum>Qt::Horizontal</enum>
  472. </property>
  473. <property name="sizeHint" stdset="0">
  474. <size>
  475. <width>40</width>
  476. <height>20</height>
  477. </size>
  478. </property>
  479. </spacer>
  480. </item>
  481. <item>
  482. <widget class="QDialogButtonBox" name="buttonBox">
  483. <property name="standardButtons">
  484. <set>QDialogButtonBox::Cancel|QDialogButtonBox::Ok</set>
  485. </property>
  486. </widget>
  487. </item>
  488. </layout>
  489. </item>
  490. </layout>
  491. </item>
  492. </layout>
  493. </widget>
  494. <resources/>
  495. <connections>
  496. <connection>
  497. <sender>buttonBox</sender>
  498. <signal>accepted()</signal>
  499. <receiver>ConfigureInput</receiver>
  500. <slot>accept()</slot>
  501. <hints>
  502. <hint type="sourcelabel">
  503. <x>294</x>
  504. <y>553</y>
  505. </hint>
  506. <hint type="destinationlabel">
  507. <x>191</x>
  508. <y>287</y>
  509. </hint>
  510. </hints>
  511. </connection>
  512. <connection>
  513. <sender>buttonBox</sender>
  514. <signal>rejected()</signal>
  515. <receiver>ConfigureInput</receiver>
  516. <slot>reject()</slot>
  517. <hints>
  518. <hint type="sourcelabel">
  519. <x>294</x>
  520. <y>553</y>
  521. </hint>
  522. <hint type="destinationlabel">
  523. <x>191</x>
  524. <y>287</y>
  525. </hint>
  526. </hints>
  527. </connection>
  528. </connections>
  529. </ui>