configure_motion_touch.ui 9.0 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327
  1. <?xml version="1.0" encoding="UTF-8"?>
  2. <ui version="4.0">
  3. <class>ConfigureMotionTouch</class>
  4. <widget class="QDialog" name="ConfigureMotionTouch">
  5. <property name="windowTitle">
  6. <string>Configure Motion / Touch</string>
  7. </property>
  8. <property name="geometry">
  9. <rect>
  10. <x>0</x>
  11. <y>0</y>
  12. <width>500</width>
  13. <height>450</height>
  14. </rect>
  15. </property>
  16. <layout class="QVBoxLayout">
  17. <item>
  18. <widget class="QGroupBox" name="motion_group_box">
  19. <property name="title">
  20. <string>Motion</string>
  21. </property>
  22. <layout class="QVBoxLayout">
  23. <item>
  24. <layout class="QHBoxLayout">
  25. <item>
  26. <widget class="QLabel" name="motion_provider_label">
  27. <property name="text">
  28. <string>Motion Provider:</string>
  29. </property>
  30. </widget>
  31. </item>
  32. <item>
  33. <widget class="QComboBox" name="motion_provider"/>
  34. </item>
  35. </layout>
  36. </item>
  37. <item>
  38. <layout class="QHBoxLayout">
  39. <item>
  40. <widget class="QLabel" name="motion_sensitivity_label">
  41. <property name="text">
  42. <string>Sensitivity:</string>
  43. </property>
  44. </widget>
  45. </item>
  46. <item>
  47. <widget class="QDoubleSpinBox" name="motion_sensitivity">
  48. <property name="alignment">
  49. <set>Qt::AlignRight|Qt::AlignTrailing|Qt::AlignVCenter</set>
  50. </property>
  51. <property name="decimals">
  52. <number>4</number>
  53. </property>
  54. <property name="minimum">
  55. <double>0.010000000000000</double>
  56. </property>
  57. <property name="maximum">
  58. <double>10.000000000000000</double>
  59. </property>
  60. <property name="singleStep">
  61. <double>0.001000000000000</double>
  62. </property>
  63. <property name="value">
  64. <double>0.010000000000000</double>
  65. </property>
  66. </widget>
  67. </item>
  68. </layout>
  69. </item>
  70. </layout>
  71. </widget>
  72. </item>
  73. <item>
  74. <widget class="QGroupBox" name="touch_group_box">
  75. <property name="title">
  76. <string>Touch</string>
  77. </property>
  78. <layout class="QVBoxLayout">
  79. <item>
  80. <layout class="QHBoxLayout">
  81. <item>
  82. <widget class="QLabel" name="touch_provider_label">
  83. <property name="text">
  84. <string>Touch Provider:</string>
  85. </property>
  86. </widget>
  87. </item>
  88. <item>
  89. <widget class="QComboBox" name="touch_provider"/>
  90. </item>
  91. </layout>
  92. </item>
  93. <item>
  94. <layout class="QHBoxLayout">
  95. <item>
  96. <widget class="QLabel" name="touch_calibration_label">
  97. <property name="text">
  98. <string>Calibration:</string>
  99. </property>
  100. </widget>
  101. </item>
  102. <item>
  103. <widget class="QLabel" name="touch_calibration">
  104. <property name="text">
  105. <string>(100, 50) - (1800, 850)</string>
  106. </property>
  107. <property name="alignment">
  108. <set>Qt::AlignRight|Qt::AlignTrailing|Qt::AlignVCenter</set>
  109. </property>
  110. </widget>
  111. </item>
  112. <item>
  113. <widget class="QPushButton" name="touch_calibration_config">
  114. <property name="sizePolicy">
  115. <sizepolicy hsizetype="Maximum" vsizetype="Fixed">
  116. <horstretch>0</horstretch>
  117. <verstretch>0</verstretch>
  118. </sizepolicy>
  119. </property>
  120. <property name="text">
  121. <string>Configure</string>
  122. </property>
  123. </widget>
  124. </item>
  125. </layout>
  126. </item>
  127. <item>
  128. <layout class="QHBoxLayout">
  129. <item>
  130. <widget class="QCheckBox" name="touch_from_button_checkbox">
  131. <property name="sizePolicy">
  132. <sizepolicy hsizetype="Maximum" vsizetype="Fixed">
  133. <horstretch>0</horstretch>
  134. <verstretch>0</verstretch>
  135. </sizepolicy>
  136. </property>
  137. <property name="text">
  138. <string>Use button mapping:</string>
  139. </property>
  140. </widget>
  141. </item>
  142. <item>
  143. <widget class="QComboBox" name="touch_from_button_map"/>
  144. </item>
  145. <item>
  146. <widget class="QPushButton" name="touch_from_button_config_btn">
  147. <property name="sizePolicy">
  148. <sizepolicy hsizetype="Maximum" vsizetype="Fixed">
  149. <horstretch>0</horstretch>
  150. <verstretch>0</verstretch>
  151. </sizepolicy>
  152. </property>
  153. <property name="text">
  154. <string>Configure</string>
  155. </property>
  156. </widget>
  157. </item>
  158. </layout>
  159. </item>
  160. </layout>
  161. </widget>
  162. </item>
  163. <item>
  164. <widget class="QGroupBox" name="udp_config_group_box">
  165. <property name="title">
  166. <string>CemuhookUDP Config</string>
  167. </property>
  168. <layout class="QVBoxLayout">
  169. <item>
  170. <widget class="QLabel" name="udp_help">
  171. <property name="text">
  172. <string>You may use any Cemuhook compatible UDP input source to provide motion and touch input.</string>
  173. </property>
  174. <property name="alignment">
  175. <set>Qt::AlignLeading|Qt::AlignLeft|Qt::AlignTop</set>
  176. </property>
  177. <property name="wordWrap">
  178. <bool>true</bool>
  179. </property>
  180. </widget>
  181. </item>
  182. <item>
  183. <layout class="QHBoxLayout">
  184. <item>
  185. <widget class="QLabel" name="udp_server_label">
  186. <property name="text">
  187. <string>Server:</string>
  188. </property>
  189. </widget>
  190. </item>
  191. <item>
  192. <widget class="QLineEdit" name="udp_server">
  193. <property name="sizePolicy">
  194. <sizepolicy hsizetype="Minimum" vsizetype="Fixed">
  195. <horstretch>0</horstretch>
  196. <verstretch>0</verstretch>
  197. </sizepolicy>
  198. </property>
  199. </widget>
  200. </item>
  201. </layout>
  202. </item>
  203. <item>
  204. <layout class="QHBoxLayout">
  205. <item>
  206. <widget class="QLabel" name="udp_port_label">
  207. <property name="text">
  208. <string>Port:</string>
  209. </property>
  210. </widget>
  211. </item>
  212. <item>
  213. <widget class="QLineEdit" name="udp_port">
  214. <property name="sizePolicy">
  215. <sizepolicy hsizetype="Minimum" vsizetype="Fixed">
  216. <horstretch>0</horstretch>
  217. <verstretch>0</verstretch>
  218. </sizepolicy>
  219. </property>
  220. </widget>
  221. </item>
  222. </layout>
  223. </item>
  224. <item>
  225. <layout class="QHBoxLayout">
  226. <item>
  227. <widget class="QLabel" name="udp_pad_index_label">
  228. <property name="text">
  229. <string>Pad:</string>
  230. </property>
  231. </widget>
  232. </item>
  233. <item>
  234. <widget class="QComboBox" name="udp_pad_index">
  235. <item>
  236. <property name="text">
  237. <string>Pad 1</string>
  238. </property>
  239. </item>
  240. <item>
  241. <property name="text">
  242. <string>Pad 2</string>
  243. </property>
  244. </item>
  245. <item>
  246. <property name="text">
  247. <string>Pad 3</string>
  248. </property>
  249. </item>
  250. <item>
  251. <property name="text">
  252. <string>Pad 4</string>
  253. </property>
  254. </item>
  255. </widget>
  256. </item>
  257. </layout>
  258. </item>
  259. <item>
  260. <layout class="QHBoxLayout">
  261. <item>
  262. <widget class="QLabel" name="udp_learn_more">
  263. <property name="text">
  264. <string>Learn More</string>
  265. </property>
  266. </widget>
  267. </item>
  268. <item>
  269. <widget class="QPushButton" name="udp_test">
  270. <property name="sizePolicy">
  271. <sizepolicy hsizetype="Maximum" vsizetype="Fixed">
  272. <horstretch>0</horstretch>
  273. <verstretch>0</verstretch>
  274. </sizepolicy>
  275. </property>
  276. <property name="text">
  277. <string>Test</string>
  278. </property>
  279. </widget>
  280. </item>
  281. </layout>
  282. </item>
  283. </layout>
  284. </widget>
  285. </item>
  286. <item>
  287. <spacer>
  288. <property name="orientation">
  289. <enum>Qt::Vertical</enum>
  290. </property>
  291. <property name="sizeHint" stdset="0">
  292. <size>
  293. <width>167</width>
  294. <height>55</height>
  295. </size>
  296. </property>
  297. </spacer>
  298. </item>
  299. <item>
  300. <widget class="QDialogButtonBox" name="buttonBox">
  301. <property name="standardButtons">
  302. <set>QDialogButtonBox::Cancel|QDialogButtonBox::Ok</set>
  303. </property>
  304. </widget>
  305. </item>
  306. </layout>
  307. </widget>
  308. <resources/>
  309. <connections>
  310. <connection>
  311. <sender>buttonBox</sender>
  312. <signal>accepted()</signal>
  313. <receiver>ConfigureMotionTouch</receiver>
  314. <slot>ApplyConfiguration()</slot>
  315. <hints>
  316. <hint type="sourcelabel">
  317. <x>220</x>
  318. <y>380</y>
  319. </hint>
  320. <hint type="destinationlabel">
  321. <x>220</x>
  322. <y>200</y>
  323. </hint>
  324. </hints>
  325. </connection>
  326. </connections>
  327. </ui>