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.

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