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.

496 lines
12KB

  1. <?xml version="1.0" encoding="UTF-8"?>
  2. <ui version="4.0">
  3. <class>MidiPatternW</class>
  4. <widget class="QMainWindow" name="MidiPatternW">
  5. <property name="geometry">
  6. <rect>
  7. <x>0</x>
  8. <y>0</y>
  9. <width>755</width>
  10. <height>436</height>
  11. </rect>
  12. </property>
  13. <property name="windowTitle">
  14. <string>MIDI Pattern</string>
  15. </property>
  16. <widget class="QWidget" name="centralwidget">
  17. <layout class="QVBoxLayout" name="verticalLayout">
  18. <item>
  19. <layout class="QHBoxLayout" name="horizontalLayout">
  20. <item>
  21. <widget class="ModeIndicator" name="modeIndicator" native="true">
  22. <property name="minimumSize">
  23. <size>
  24. <width>30</width>
  25. <height>20</height>
  26. </size>
  27. </property>
  28. <property name="maximumSize">
  29. <size>
  30. <width>30</width>
  31. <height>20</height>
  32. </size>
  33. </property>
  34. </widget>
  35. </item>
  36. <item>
  37. <widget class="QLabel" name="timeSigLabel">
  38. <property name="text">
  39. <string>Time Signature:</string>
  40. </property>
  41. <property name="alignment">
  42. <set>Qt::AlignRight|Qt::AlignTrailing|Qt::AlignVCenter</set>
  43. </property>
  44. </widget>
  45. </item>
  46. <item>
  47. <widget class="QComboBox" name="timeSigBox">
  48. <property name="editable">
  49. <bool>true</bool>
  50. </property>
  51. <property name="currentIndex">
  52. <number>0</number>
  53. </property>
  54. <item>
  55. <property name="text">
  56. <string>1/4</string>
  57. </property>
  58. </item>
  59. <item>
  60. <property name="text">
  61. <string>2/4</string>
  62. </property>
  63. </item>
  64. <item>
  65. <property name="text">
  66. <string>3/4</string>
  67. </property>
  68. </item>
  69. <item>
  70. <property name="text">
  71. <string>4/4</string>
  72. </property>
  73. </item>
  74. <item>
  75. <property name="text">
  76. <string>5/4</string>
  77. </property>
  78. </item>
  79. <item>
  80. <property name="text">
  81. <string>6/4</string>
  82. </property>
  83. </item>
  84. </widget>
  85. </item>
  86. <item>
  87. <spacer name="horizontalSpacer">
  88. <property name="orientation">
  89. <enum>Qt::Horizontal</enum>
  90. </property>
  91. <property name="sizeType">
  92. <enum>QSizePolicy::Fixed</enum>
  93. </property>
  94. <property name="sizeHint" stdset="0">
  95. <size>
  96. <width>5</width>
  97. <height>5</height>
  98. </size>
  99. </property>
  100. </spacer>
  101. </item>
  102. <item>
  103. <widget class="QLabel" name="measureLabel">
  104. <property name="text">
  105. <string>Measures:</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="QComboBox" name="measureBox">
  114. <property name="currentIndex">
  115. <number>3</number>
  116. </property>
  117. <item>
  118. <property name="text">
  119. <string>1</string>
  120. </property>
  121. </item>
  122. <item>
  123. <property name="text">
  124. <string>2</string>
  125. </property>
  126. </item>
  127. <item>
  128. <property name="text">
  129. <string>3</string>
  130. </property>
  131. </item>
  132. <item>
  133. <property name="text">
  134. <string>4</string>
  135. </property>
  136. </item>
  137. <item>
  138. <property name="text">
  139. <string>5</string>
  140. </property>
  141. </item>
  142. <item>
  143. <property name="text">
  144. <string>6</string>
  145. </property>
  146. </item>
  147. <item>
  148. <property name="text">
  149. <string>7</string>
  150. </property>
  151. </item>
  152. <item>
  153. <property name="text">
  154. <string>8</string>
  155. </property>
  156. </item>
  157. <item>
  158. <property name="text">
  159. <string>9</string>
  160. </property>
  161. </item>
  162. <item>
  163. <property name="text">
  164. <string>10</string>
  165. </property>
  166. </item>
  167. <item>
  168. <property name="text">
  169. <string>11</string>
  170. </property>
  171. </item>
  172. <item>
  173. <property name="text">
  174. <string>12</string>
  175. </property>
  176. </item>
  177. <item>
  178. <property name="text">
  179. <string>13</string>
  180. </property>
  181. </item>
  182. <item>
  183. <property name="text">
  184. <string>14</string>
  185. </property>
  186. </item>
  187. <item>
  188. <property name="text">
  189. <string>15</string>
  190. </property>
  191. </item>
  192. <item>
  193. <property name="text">
  194. <string>16</string>
  195. </property>
  196. </item>
  197. </widget>
  198. </item>
  199. <item>
  200. <spacer name="horizontalSpacer_2">
  201. <property name="orientation">
  202. <enum>Qt::Horizontal</enum>
  203. </property>
  204. <property name="sizeType">
  205. <enum>QSizePolicy::Fixed</enum>
  206. </property>
  207. <property name="sizeHint" stdset="0">
  208. <size>
  209. <width>5</width>
  210. <height>5</height>
  211. </size>
  212. </property>
  213. </spacer>
  214. </item>
  215. <item>
  216. <widget class="QLabel" name="defaultLengthLabel">
  217. <property name="text">
  218. <string>Default Length:</string>
  219. </property>
  220. </widget>
  221. </item>
  222. <item>
  223. <widget class="QComboBox" name="defaultLengthBox">
  224. <property name="currentIndex">
  225. <number>4</number>
  226. </property>
  227. <item>
  228. <property name="text">
  229. <string>1/16</string>
  230. </property>
  231. </item>
  232. <item>
  233. <property name="text">
  234. <string>1/15</string>
  235. </property>
  236. </item>
  237. <item>
  238. <property name="text">
  239. <string>1/12</string>
  240. </property>
  241. </item>
  242. <item>
  243. <property name="text">
  244. <string>1/9</string>
  245. </property>
  246. </item>
  247. <item>
  248. <property name="text">
  249. <string>1/8</string>
  250. </property>
  251. </item>
  252. <item>
  253. <property name="text">
  254. <string>1/6</string>
  255. </property>
  256. </item>
  257. <item>
  258. <property name="text">
  259. <string>1/4</string>
  260. </property>
  261. </item>
  262. <item>
  263. <property name="text">
  264. <string>1/3</string>
  265. </property>
  266. </item>
  267. <item>
  268. <property name="text">
  269. <string>1/2</string>
  270. </property>
  271. </item>
  272. <item>
  273. <property name="text">
  274. <string>1</string>
  275. </property>
  276. </item>
  277. </widget>
  278. </item>
  279. <item>
  280. <spacer name="horizontalSpacer_3">
  281. <property name="orientation">
  282. <enum>Qt::Horizontal</enum>
  283. </property>
  284. <property name="sizeType">
  285. <enum>QSizePolicy::Fixed</enum>
  286. </property>
  287. <property name="sizeHint" stdset="0">
  288. <size>
  289. <width>5</width>
  290. <height>5</height>
  291. </size>
  292. </property>
  293. </spacer>
  294. </item>
  295. <item>
  296. <widget class="QLabel" name="quantizeLabel">
  297. <property name="text">
  298. <string>Quantize:</string>
  299. </property>
  300. </widget>
  301. </item>
  302. <item>
  303. <widget class="QComboBox" name="quantizeBox">
  304. <property name="currentIndex">
  305. <number>4</number>
  306. </property>
  307. <item>
  308. <property name="text">
  309. <string>1/16</string>
  310. </property>
  311. </item>
  312. <item>
  313. <property name="text">
  314. <string>1/15</string>
  315. </property>
  316. </item>
  317. <item>
  318. <property name="text">
  319. <string>1/12</string>
  320. </property>
  321. </item>
  322. <item>
  323. <property name="text">
  324. <string>1/9</string>
  325. </property>
  326. </item>
  327. <item>
  328. <property name="text">
  329. <string>1/8</string>
  330. </property>
  331. </item>
  332. <item>
  333. <property name="text">
  334. <string>1/6</string>
  335. </property>
  336. </item>
  337. <item>
  338. <property name="text">
  339. <string>1/4</string>
  340. </property>
  341. </item>
  342. <item>
  343. <property name="text">
  344. <string>1/3</string>
  345. </property>
  346. </item>
  347. <item>
  348. <property name="text">
  349. <string>1/2</string>
  350. </property>
  351. </item>
  352. <item>
  353. <property name="text">
  354. <string>1</string>
  355. </property>
  356. </item>
  357. </widget>
  358. </item>
  359. <item>
  360. <spacer name="horizontalSpacer_4">
  361. <property name="orientation">
  362. <enum>Qt::Horizontal</enum>
  363. </property>
  364. <property name="sizeType">
  365. <enum>QSizePolicy::Fixed</enum>
  366. </property>
  367. <property name="sizeHint" stdset="0">
  368. <size>
  369. <width>5</width>
  370. <height>5</height>
  371. </size>
  372. </property>
  373. </spacer>
  374. </item>
  375. <item>
  376. <widget class="QSlider" name="hSlider">
  377. <property name="orientation">
  378. <enum>Qt::Horizontal</enum>
  379. </property>
  380. </widget>
  381. </item>
  382. </layout>
  383. </item>
  384. <item>
  385. <layout class="QHBoxLayout" name="horizontalLayout_2">
  386. <item>
  387. <widget class="QSlider" name="vSlider">
  388. <property name="orientation">
  389. <enum>Qt::Vertical</enum>
  390. </property>
  391. </widget>
  392. </item>
  393. <item>
  394. <widget class="PianoRollView" name="graphicsView"/>
  395. </item>
  396. </layout>
  397. </item>
  398. </layout>
  399. </widget>
  400. <widget class="QMenuBar" name="menubar">
  401. <property name="geometry">
  402. <rect>
  403. <x>0</x>
  404. <y>0</y>
  405. <width>755</width>
  406. <height>20</height>
  407. </rect>
  408. </property>
  409. <widget class="QMenu" name="menu_File">
  410. <property name="title">
  411. <string>&amp;File</string>
  412. </property>
  413. <addaction name="act_file_quit"/>
  414. </widget>
  415. <widget class="QMenu" name="menu_Edit">
  416. <property name="title">
  417. <string>&amp;Edit</string>
  418. </property>
  419. <addaction name="act_edit_insert"/>
  420. <addaction name="act_edit_velocity"/>
  421. <addaction name="act_edit_select_all"/>
  422. </widget>
  423. <addaction name="menu_File"/>
  424. <addaction name="menu_Edit"/>
  425. </widget>
  426. <widget class="QStatusBar" name="statusbar"/>
  427. <action name="act_file_quit">
  428. <property name="text">
  429. <string>&amp;Quit</string>
  430. </property>
  431. </action>
  432. <action name="act_edit_insert">
  433. <property name="checkable">
  434. <bool>true</bool>
  435. </property>
  436. <property name="text">
  437. <string>&amp;Insert Mode</string>
  438. </property>
  439. <property name="shortcut">
  440. <string>F</string>
  441. </property>
  442. </action>
  443. <action name="act_edit_velocity">
  444. <property name="checkable">
  445. <bool>true</bool>
  446. </property>
  447. <property name="text">
  448. <string>&amp;Velocity Mode</string>
  449. </property>
  450. <property name="shortcut">
  451. <string>D</string>
  452. </property>
  453. </action>
  454. <action name="act_edit_select_all">
  455. <property name="text">
  456. <string>Select All</string>
  457. </property>
  458. <property name="shortcut">
  459. <string>A</string>
  460. </property>
  461. </action>
  462. </widget>
  463. <customwidgets>
  464. <customwidget>
  465. <class>PianoRollView</class>
  466. <extends>QGraphicsView</extends>
  467. <header>widgets/pianoroll.h</header>
  468. </customwidget>
  469. <customwidget>
  470. <class>ModeIndicator</class>
  471. <extends>QWidget</extends>
  472. <header>widgets/pianoroll.h</header>
  473. <container>1</container>
  474. </customwidget>
  475. </customwidgets>
  476. <resources/>
  477. <connections>
  478. <connection>
  479. <sender>act_file_quit</sender>
  480. <signal>triggered()</signal>
  481. <receiver>MidiPatternW</receiver>
  482. <slot>close()</slot>
  483. <hints>
  484. <hint type="sourcelabel">
  485. <x>-1</x>
  486. <y>-1</y>
  487. </hint>
  488. <hint type="destinationlabel">
  489. <x>377</x>
  490. <y>217</y>
  491. </hint>
  492. </hints>
  493. </connection>
  494. </connections>
  495. </ui>