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

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