Audio plugin host https://kx.studio/carla
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

xycontroller.ui 12KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461
  1. <?xml version="1.0" encoding="UTF-8"?>
  2. <ui version="4.0">
  3. <class>XYControllerW</class>
  4. <widget class="QMainWindow" name="XYControllerW">
  5. <property name="geometry">
  6. <rect>
  7. <x>0</x>
  8. <y>0</y>
  9. <width>588</width>
  10. <height>523</height>
  11. </rect>
  12. </property>
  13. <property name="windowTitle">
  14. <string>XY Controller</string>
  15. </property>
  16. <widget class="QWidget" name="centralwidget">
  17. <layout class="QVBoxLayout" name="verticalLayout_2">
  18. <item>
  19. <layout class="QHBoxLayout" name="horizontalLayout_3">
  20. <item>
  21. <widget class="QGraphicsView" name="graphicsView">
  22. <property name="verticalScrollBarPolicy">
  23. <enum>Qt::ScrollBarAlwaysOff</enum>
  24. </property>
  25. <property name="horizontalScrollBarPolicy">
  26. <enum>Qt::ScrollBarAlwaysOff</enum>
  27. </property>
  28. </widget>
  29. </item>
  30. <item>
  31. <layout class="QVBoxLayout" name="verticalLayout">
  32. <item>
  33. <widget class="ScalableDial" name="dial_x">
  34. <property name="minimum">
  35. <number>-100</number>
  36. </property>
  37. <property name="maximum">
  38. <number>100</number>
  39. </property>
  40. </widget>
  41. </item>
  42. <item>
  43. <spacer name="verticalSpacer">
  44. <property name="orientation">
  45. <enum>Qt::Vertical</enum>
  46. </property>
  47. <property name="sizeType">
  48. <enum>QSizePolicy::Fixed</enum>
  49. </property>
  50. <property name="sizeHint" stdset="0">
  51. <size>
  52. <width>20</width>
  53. <height>30</height>
  54. </size>
  55. </property>
  56. </spacer>
  57. </item>
  58. <item>
  59. <widget class="ScalableDial" name="dial_y">
  60. <property name="minimum">
  61. <number>-100</number>
  62. </property>
  63. <property name="maximum">
  64. <number>100</number>
  65. </property>
  66. </widget>
  67. </item>
  68. </layout>
  69. </item>
  70. </layout>
  71. </item>
  72. <item>
  73. <widget class="Line" name="line_2">
  74. <property name="orientation">
  75. <enum>Qt::Horizontal</enum>
  76. </property>
  77. </widget>
  78. </item>
  79. <item>
  80. <layout class="QHBoxLayout" name="horizontalLayout">
  81. <item>
  82. <widget class="QLabel" name="label_x_controls">
  83. <property name="text">
  84. <string>X Controls:</string>
  85. </property>
  86. <property name="alignment">
  87. <set>Qt::AlignRight|Qt::AlignTrailing|Qt::AlignVCenter</set>
  88. </property>
  89. </widget>
  90. </item>
  91. <item>
  92. <widget class="QComboBox" name="cb_control_x"/>
  93. </item>
  94. <item>
  95. <widget class="Line" name="line">
  96. <property name="orientation">
  97. <enum>Qt::Vertical</enum>
  98. </property>
  99. </widget>
  100. </item>
  101. <item>
  102. <widget class="QLabel" name="label_y_controls">
  103. <property name="text">
  104. <string>Y Controls:</string>
  105. </property>
  106. <property name="alignment">
  107. <set>Qt::AlignRight|Qt::AlignTrailing|Qt::AlignVCenter</set>
  108. </property>
  109. </widget>
  110. </item>
  111. <item>
  112. <widget class="QComboBox" name="cb_control_y"/>
  113. </item>
  114. <item>
  115. <widget class="Line" name="line_3">
  116. <property name="orientation">
  117. <enum>Qt::Vertical</enum>
  118. </property>
  119. </widget>
  120. </item>
  121. <item>
  122. <widget class="QCheckBox" name="cb_smooth">
  123. <property name="text">
  124. <string>Smooth</string>
  125. </property>
  126. </widget>
  127. </item>
  128. <item>
  129. <spacer name="horizontalSpacer_2">
  130. <property name="orientation">
  131. <enum>Qt::Horizontal</enum>
  132. </property>
  133. <property name="sizeHint" stdset="0">
  134. <size>
  135. <width>40</width>
  136. <height>20</height>
  137. </size>
  138. </property>
  139. </spacer>
  140. </item>
  141. </layout>
  142. </item>
  143. <item>
  144. <widget class="QScrollArea" name="scrollArea">
  145. <property name="sizePolicy">
  146. <sizepolicy hsizetype="Expanding" vsizetype="Fixed">
  147. <horstretch>0</horstretch>
  148. <verstretch>0</verstretch>
  149. </sizepolicy>
  150. </property>
  151. <property name="verticalScrollBarPolicy">
  152. <enum>Qt::ScrollBarAlwaysOff</enum>
  153. </property>
  154. <property name="horizontalScrollBarPolicy">
  155. <enum>Qt::ScrollBarAlwaysOn</enum>
  156. </property>
  157. <property name="alignment">
  158. <set>Qt::AlignCenter</set>
  159. </property>
  160. <widget class="QWidget" name="scrollAreaWidgetContents">
  161. <property name="geometry">
  162. <rect>
  163. <x>0</x>
  164. <y>0</y>
  165. <width>1440</width>
  166. <height>69</height>
  167. </rect>
  168. </property>
  169. <property name="sizePolicy">
  170. <sizepolicy hsizetype="Fixed" vsizetype="Fixed">
  171. <horstretch>0</horstretch>
  172. <verstretch>0</verstretch>
  173. </sizepolicy>
  174. </property>
  175. <property name="minimumSize">
  176. <size>
  177. <width>1440</width>
  178. <height>69</height>
  179. </size>
  180. </property>
  181. <property name="maximumSize">
  182. <size>
  183. <width>1440</width>
  184. <height>69</height>
  185. </size>
  186. </property>
  187. <layout class="QHBoxLayout" name="horizontalLayout_2">
  188. <property name="spacing">
  189. <number>0</number>
  190. </property>
  191. <property name="margin">
  192. <number>0</number>
  193. </property>
  194. <item>
  195. <widget class="PixmapKeyboard" name="keyboard" native="true">
  196. <property name="sizePolicy">
  197. <sizepolicy hsizetype="Fixed" vsizetype="Fixed">
  198. <horstretch>0</horstretch>
  199. <verstretch>0</verstretch>
  200. </sizepolicy>
  201. </property>
  202. <property name="minimumSize">
  203. <size>
  204. <width>1440</width>
  205. <height>69</height>
  206. </size>
  207. </property>
  208. <property name="maximumSize">
  209. <size>
  210. <width>1440</width>
  211. <height>69</height>
  212. </size>
  213. </property>
  214. </widget>
  215. </item>
  216. </layout>
  217. </widget>
  218. </widget>
  219. </item>
  220. </layout>
  221. </widget>
  222. <widget class="QMenuBar" name="menubar">
  223. <property name="geometry">
  224. <rect>
  225. <x>0</x>
  226. <y>0</y>
  227. <width>588</width>
  228. <height>18</height>
  229. </rect>
  230. </property>
  231. <widget class="QMenu" name="menu_Settings">
  232. <property name="title">
  233. <string>&amp;Settings</string>
  234. </property>
  235. <widget class="QMenu" name="menu_Channels">
  236. <property name="title">
  237. <string>Channels</string>
  238. </property>
  239. <addaction name="act_ch_01"/>
  240. <addaction name="act_ch_02"/>
  241. <addaction name="act_ch_03"/>
  242. <addaction name="act_ch_04"/>
  243. <addaction name="act_ch_05"/>
  244. <addaction name="act_ch_06"/>
  245. <addaction name="act_ch_07"/>
  246. <addaction name="act_ch_08"/>
  247. <addaction name="act_ch_09"/>
  248. <addaction name="act_ch_10"/>
  249. <addaction name="act_ch_11"/>
  250. <addaction name="act_ch_12"/>
  251. <addaction name="act_ch_13"/>
  252. <addaction name="act_ch_14"/>
  253. <addaction name="act_ch_15"/>
  254. <addaction name="act_ch_16"/>
  255. <addaction name="separator"/>
  256. <addaction name="act_ch_all"/>
  257. <addaction name="act_ch_none"/>
  258. </widget>
  259. <addaction name="menu_Channels"/>
  260. <addaction name="act_show_keyboard"/>
  261. </widget>
  262. <widget class="QMenu" name="menu_File">
  263. <property name="title">
  264. <string>&amp;File</string>
  265. </property>
  266. <addaction name="act_quit"/>
  267. </widget>
  268. <addaction name="menu_File"/>
  269. <addaction name="menu_Settings"/>
  270. </widget>
  271. <action name="act_show_keyboard">
  272. <property name="checkable">
  273. <bool>true</bool>
  274. </property>
  275. <property name="text">
  276. <string>Show MIDI &amp;Keyboard</string>
  277. </property>
  278. </action>
  279. <action name="act_ch_all">
  280. <property name="text">
  281. <string>(All)</string>
  282. </property>
  283. </action>
  284. <action name="act_ch_01">
  285. <property name="checkable">
  286. <bool>true</bool>
  287. </property>
  288. <property name="text">
  289. <string>1</string>
  290. </property>
  291. </action>
  292. <action name="act_ch_02">
  293. <property name="checkable">
  294. <bool>true</bool>
  295. </property>
  296. <property name="text">
  297. <string>2</string>
  298. </property>
  299. </action>
  300. <action name="act_ch_03">
  301. <property name="checkable">
  302. <bool>true</bool>
  303. </property>
  304. <property name="text">
  305. <string>3</string>
  306. </property>
  307. </action>
  308. <action name="act_ch_04">
  309. <property name="checkable">
  310. <bool>true</bool>
  311. </property>
  312. <property name="text">
  313. <string>4</string>
  314. </property>
  315. </action>
  316. <action name="act_ch_05">
  317. <property name="checkable">
  318. <bool>true</bool>
  319. </property>
  320. <property name="text">
  321. <string>5</string>
  322. </property>
  323. </action>
  324. <action name="act_ch_06">
  325. <property name="checkable">
  326. <bool>true</bool>
  327. </property>
  328. <property name="text">
  329. <string>6</string>
  330. </property>
  331. </action>
  332. <action name="act_ch_07">
  333. <property name="checkable">
  334. <bool>true</bool>
  335. </property>
  336. <property name="text">
  337. <string>7</string>
  338. </property>
  339. </action>
  340. <action name="act_ch_08">
  341. <property name="checkable">
  342. <bool>true</bool>
  343. </property>
  344. <property name="text">
  345. <string>8</string>
  346. </property>
  347. </action>
  348. <action name="act_ch_09">
  349. <property name="checkable">
  350. <bool>true</bool>
  351. </property>
  352. <property name="text">
  353. <string>9</string>
  354. </property>
  355. </action>
  356. <action name="act_ch_10">
  357. <property name="checkable">
  358. <bool>true</bool>
  359. </property>
  360. <property name="text">
  361. <string>10</string>
  362. </property>
  363. </action>
  364. <action name="act_ch_11">
  365. <property name="checkable">
  366. <bool>true</bool>
  367. </property>
  368. <property name="text">
  369. <string>11</string>
  370. </property>
  371. </action>
  372. <action name="act_ch_12">
  373. <property name="checkable">
  374. <bool>true</bool>
  375. </property>
  376. <property name="text">
  377. <string>12</string>
  378. </property>
  379. </action>
  380. <action name="act_ch_13">
  381. <property name="checkable">
  382. <bool>true</bool>
  383. </property>
  384. <property name="text">
  385. <string>13</string>
  386. </property>
  387. </action>
  388. <action name="act_ch_14">
  389. <property name="checkable">
  390. <bool>true</bool>
  391. </property>
  392. <property name="text">
  393. <string>14</string>
  394. </property>
  395. </action>
  396. <action name="act_ch_15">
  397. <property name="checkable">
  398. <bool>true</bool>
  399. </property>
  400. <property name="text">
  401. <string>15</string>
  402. </property>
  403. </action>
  404. <action name="act_ch_16">
  405. <property name="checkable">
  406. <bool>true</bool>
  407. </property>
  408. <property name="text">
  409. <string>16</string>
  410. </property>
  411. </action>
  412. <action name="act_quit">
  413. <property name="icon">
  414. <iconset>
  415. <normaloff>:/16x16/application-exit.png</normaloff>:/16x16/application-exit.png</iconset>
  416. </property>
  417. <property name="text">
  418. <string>&amp;Quit</string>
  419. </property>
  420. </action>
  421. <action name="act_ch_none">
  422. <property name="text">
  423. <string>(None)</string>
  424. </property>
  425. </action>
  426. </widget>
  427. <customwidgets>
  428. <customwidget>
  429. <class>PixmapKeyboard</class>
  430. <extends>QWidget</extends>
  431. <header>widgets/pixmapkeyboard</header>
  432. <container>1</container>
  433. </customwidget>
  434. <customwidget>
  435. <class>ScalableDial</class>
  436. <extends>QDial</extends>
  437. <header>widgets/scalabledial</header>
  438. </customwidget>
  439. </customwidgets>
  440. <resources>
  441. <include location="../resources.qrc"/>
  442. </resources>
  443. <connections>
  444. <connection>
  445. <sender>act_quit</sender>
  446. <signal>triggered()</signal>
  447. <receiver>XYControllerW</receiver>
  448. <slot>close()</slot>
  449. <hints>
  450. <hint type="sourcelabel">
  451. <x>-1</x>
  452. <y>-1</y>
  453. </hint>
  454. <hint type="destinationlabel">
  455. <x>239</x>
  456. <y>222</y>
  457. </hint>
  458. </hints>
  459. </connection>
  460. </connections>
  461. </ui>