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.

546 lines
15KB

  1. <?xml version="1.0" encoding="UTF-8"?>
  2. <ui version="4.0">
  3. <class>PluginWidget</class>
  4. <widget class="QFrame" name="PluginWidget">
  5. <property name="geometry">
  6. <rect>
  7. <x>0</x>
  8. <y>0</y>
  9. <width>552</width>
  10. <height>60</height>
  11. </rect>
  12. </property>
  13. <property name="contextMenuPolicy">
  14. <enum>Qt::CustomContextMenu</enum>
  15. </property>
  16. <property name="windowTitle">
  17. <string>Frame</string>
  18. </property>
  19. <property name="lineWidth">
  20. <number>0</number>
  21. </property>
  22. <layout class="QVBoxLayout" name="verticalLayout">
  23. <property name="spacing">
  24. <number>0</number>
  25. </property>
  26. <property name="leftMargin">
  27. <number>4</number>
  28. </property>
  29. <property name="topMargin">
  30. <number>3</number>
  31. </property>
  32. <property name="rightMargin">
  33. <number>6</number>
  34. </property>
  35. <property name="bottomMargin">
  36. <number>3</number>
  37. </property>
  38. <item>
  39. <layout class="QHBoxLayout" name="layout_top">
  40. <property name="spacing">
  41. <number>1</number>
  42. </property>
  43. <item>
  44. <widget class="QWidget" name="w_buttons" native="true">
  45. <property name="minimumSize">
  46. <size>
  47. <width>72</width>
  48. <height>24</height>
  49. </size>
  50. </property>
  51. <property name="maximumSize">
  52. <size>
  53. <width>72</width>
  54. <height>24</height>
  55. </size>
  56. </property>
  57. <layout class="QHBoxLayout" name="horizontalLayout">
  58. <property name="spacing">
  59. <number>0</number>
  60. </property>
  61. <property name="leftMargin">
  62. <number>0</number>
  63. </property>
  64. <property name="topMargin">
  65. <number>0</number>
  66. </property>
  67. <property name="rightMargin">
  68. <number>0</number>
  69. </property>
  70. <property name="bottomMargin">
  71. <number>0</number>
  72. </property>
  73. <item>
  74. <widget class="ScalableButton" name="b_enable">
  75. <property name="minimumSize">
  76. <size>
  77. <width>24</width>
  78. <height>24</height>
  79. </size>
  80. </property>
  81. <property name="maximumSize">
  82. <size>
  83. <width>24</width>
  84. <height>24</height>
  85. </size>
  86. </property>
  87. <property name="text">
  88. <string/>
  89. </property>
  90. <property name="icon">
  91. <iconset>
  92. <normaloff>../scalable/button_off.svg</normaloff>../scalable/button_off.svg</iconset>
  93. </property>
  94. <property name="iconSize">
  95. <size>
  96. <width>24</width>
  97. <height>24</height>
  98. </size>
  99. </property>
  100. <property name="checkable">
  101. <bool>true</bool>
  102. </property>
  103. <property name="flat">
  104. <bool>true</bool>
  105. </property>
  106. </widget>
  107. </item>
  108. <item>
  109. <widget class="ScalableButton" name="b_gui">
  110. <property name="minimumSize">
  111. <size>
  112. <width>24</width>
  113. <height>24</height>
  114. </size>
  115. </property>
  116. <property name="maximumSize">
  117. <size>
  118. <width>24</width>
  119. <height>24</height>
  120. </size>
  121. </property>
  122. <property name="text">
  123. <string/>
  124. </property>
  125. <property name="icon">
  126. <iconset resource="../resources.qrc">
  127. <normaloff>:/scalable/button_gui-black.svg</normaloff>:/scalable/button_gui-black.svg</iconset>
  128. </property>
  129. <property name="iconSize">
  130. <size>
  131. <width>24</width>
  132. <height>24</height>
  133. </size>
  134. </property>
  135. <property name="checkable">
  136. <bool>true</bool>
  137. </property>
  138. <property name="flat">
  139. <bool>true</bool>
  140. </property>
  141. </widget>
  142. </item>
  143. <item>
  144. <widget class="ScalableButton" name="b_edit">
  145. <property name="minimumSize">
  146. <size>
  147. <width>24</width>
  148. <height>24</height>
  149. </size>
  150. </property>
  151. <property name="maximumSize">
  152. <size>
  153. <width>24</width>
  154. <height>24</height>
  155. </size>
  156. </property>
  157. <property name="text">
  158. <string/>
  159. </property>
  160. <property name="icon">
  161. <iconset>
  162. <normaloff>:/bitmaps/button_edit.png</normaloff>:/bitmaps/button_edit.png</iconset>
  163. </property>
  164. <property name="iconSize">
  165. <size>
  166. <width>24</width>
  167. <height>24</height>
  168. </size>
  169. </property>
  170. <property name="checkable">
  171. <bool>true</bool>
  172. </property>
  173. <property name="flat">
  174. <bool>true</bool>
  175. </property>
  176. </widget>
  177. </item>
  178. </layout>
  179. </widget>
  180. </item>
  181. <item>
  182. <spacer name="spacer_namesep1">
  183. <property name="orientation">
  184. <enum>Qt::Horizontal</enum>
  185. </property>
  186. <property name="sizeType">
  187. <enum>QSizePolicy::Fixed</enum>
  188. </property>
  189. <property name="sizeHint" stdset="0">
  190. <size>
  191. <width>6</width>
  192. <height>1</height>
  193. </size>
  194. </property>
  195. </spacer>
  196. </item>
  197. <item>
  198. <widget class="Line" name="line_sep">
  199. <property name="minimumSize">
  200. <size>
  201. <width>0</width>
  202. <height>20</height>
  203. </size>
  204. </property>
  205. <property name="maximumSize">
  206. <size>
  207. <width>16777215</width>
  208. <height>20</height>
  209. </size>
  210. </property>
  211. <property name="lineWidth">
  212. <number>0</number>
  213. </property>
  214. <property name="midLineWidth">
  215. <number>1</number>
  216. </property>
  217. <property name="orientation">
  218. <enum>Qt::Vertical</enum>
  219. </property>
  220. </widget>
  221. </item>
  222. <item>
  223. <spacer name="spacer_namesep2">
  224. <property name="orientation">
  225. <enum>Qt::Horizontal</enum>
  226. </property>
  227. <property name="sizeType">
  228. <enum>QSizePolicy::Fixed</enum>
  229. </property>
  230. <property name="sizeHint" stdset="0">
  231. <size>
  232. <width>8</width>
  233. <height>1</height>
  234. </size>
  235. </property>
  236. </spacer>
  237. </item>
  238. <item>
  239. <widget class="QLabel" name="label_name">
  240. <property name="text">
  241. <string>PluginName</string>
  242. </property>
  243. <property name="alignment">
  244. <set>Qt::AlignLeading|Qt::AlignLeft|Qt::AlignVCenter</set>
  245. </property>
  246. </widget>
  247. </item>
  248. <item>
  249. <spacer name="spacer_namesep3">
  250. <property name="orientation">
  251. <enum>Qt::Horizontal</enum>
  252. </property>
  253. <property name="sizeHint" stdset="0">
  254. <size>
  255. <width>20</width>
  256. <height>1</height>
  257. </size>
  258. </property>
  259. </spacer>
  260. </item>
  261. <item>
  262. <layout class="QHBoxLayout" name="layout_peaks">
  263. <property name="spacing">
  264. <number>4</number>
  265. </property>
  266. <property name="leftMargin">
  267. <number>4</number>
  268. </property>
  269. <property name="topMargin">
  270. <number>2</number>
  271. </property>
  272. <property name="rightMargin">
  273. <number>4</number>
  274. </property>
  275. <property name="bottomMargin">
  276. <number>2</number>
  277. </property>
  278. <item>
  279. <widget class="DigitalPeakMeter" name="peak_in" native="true">
  280. <property name="minimumSize">
  281. <size>
  282. <width>100</width>
  283. <height>0</height>
  284. </size>
  285. </property>
  286. <property name="maximumSize">
  287. <size>
  288. <width>100</width>
  289. <height>16777215</height>
  290. </size>
  291. </property>
  292. </widget>
  293. </item>
  294. <item>
  295. <widget class="DigitalPeakMeter" name="peak_out" native="true">
  296. <property name="minimumSize">
  297. <size>
  298. <width>100</width>
  299. <height>0</height>
  300. </size>
  301. </property>
  302. <property name="maximumSize">
  303. <size>
  304. <width>100</width>
  305. <height>16777215</height>
  306. </size>
  307. </property>
  308. </widget>
  309. </item>
  310. </layout>
  311. </item>
  312. <item>
  313. <layout class="QHBoxLayout" name="layout_leds">
  314. <property name="spacing">
  315. <number>1</number>
  316. </property>
  317. <item>
  318. <widget class="LEDButton" name="led_control">
  319. <property name="sizePolicy">
  320. <sizepolicy hsizetype="Fixed" vsizetype="Fixed">
  321. <horstretch>0</horstretch>
  322. <verstretch>0</verstretch>
  323. </sizepolicy>
  324. </property>
  325. <property name="minimumSize">
  326. <size>
  327. <width>14</width>
  328. <height>14</height>
  329. </size>
  330. </property>
  331. <property name="maximumSize">
  332. <size>
  333. <width>14</width>
  334. <height>14</height>
  335. </size>
  336. </property>
  337. <property name="text">
  338. <string/>
  339. </property>
  340. <property name="icon">
  341. <iconset resource="../resources.qrc">
  342. <normaloff>:/scalable/led_off.svg</normaloff>:/scalable/led_off.svg</iconset>
  343. </property>
  344. <property name="checkable">
  345. <bool>true</bool>
  346. </property>
  347. </widget>
  348. </item>
  349. <item>
  350. <widget class="LEDButton" name="led_midi">
  351. <property name="minimumSize">
  352. <size>
  353. <width>14</width>
  354. <height>14</height>
  355. </size>
  356. </property>
  357. <property name="maximumSize">
  358. <size>
  359. <width>14</width>
  360. <height>14</height>
  361. </size>
  362. </property>
  363. <property name="text">
  364. <string/>
  365. </property>
  366. <property name="icon">
  367. <iconset resource="../resources.qrc">
  368. <normaloff>:/scalable/led_off.svg</normaloff>:/scalable/led_off.svg</iconset>
  369. </property>
  370. <property name="checkable">
  371. <bool>true</bool>
  372. </property>
  373. </widget>
  374. </item>
  375. <item>
  376. <widget class="LEDButton" name="led_audio_in">
  377. <property name="minimumSize">
  378. <size>
  379. <width>14</width>
  380. <height>14</height>
  381. </size>
  382. </property>
  383. <property name="maximumSize">
  384. <size>
  385. <width>14</width>
  386. <height>14</height>
  387. </size>
  388. </property>
  389. <property name="text">
  390. <string/>
  391. </property>
  392. <property name="icon">
  393. <iconset resource="../resources.qrc">
  394. <normaloff>:/scalable/led_off.svg</normaloff>:/scalable/led_off.svg</iconset>
  395. </property>
  396. <property name="checkable">
  397. <bool>true</bool>
  398. </property>
  399. </widget>
  400. </item>
  401. <item>
  402. <widget class="LEDButton" name="led_audio_out">
  403. <property name="enabled">
  404. <bool>true</bool>
  405. </property>
  406. <property name="minimumSize">
  407. <size>
  408. <width>14</width>
  409. <height>14</height>
  410. </size>
  411. </property>
  412. <property name="maximumSize">
  413. <size>
  414. <width>14</width>
  415. <height>14</height>
  416. </size>
  417. </property>
  418. <property name="text">
  419. <string/>
  420. </property>
  421. <property name="icon">
  422. <iconset resource="../resources.qrc">
  423. <normaloff>:/scalable/led_off.svg</normaloff>:/scalable/led_off.svg</iconset>
  424. </property>
  425. <property name="checkable">
  426. <bool>true</bool>
  427. </property>
  428. </widget>
  429. </item>
  430. </layout>
  431. </item>
  432. </layout>
  433. </item>
  434. <item>
  435. <widget class="Line" name="line">
  436. <property name="lineWidth">
  437. <number>0</number>
  438. </property>
  439. <property name="midLineWidth">
  440. <number>1</number>
  441. </property>
  442. <property name="orientation">
  443. <enum>Qt::Horizontal</enum>
  444. </property>
  445. </widget>
  446. </item>
  447. <item>
  448. <layout class="QHBoxLayout" name="layout_bottom">
  449. <property name="spacing">
  450. <number>1</number>
  451. </property>
  452. <property name="leftMargin">
  453. <number>12</number>
  454. </property>
  455. <property name="topMargin">
  456. <number>4</number>
  457. </property>
  458. <property name="rightMargin">
  459. <number>12</number>
  460. </property>
  461. <item>
  462. <widget class="QWidget" name="w_knobs_left" native="true">
  463. <property name="sizePolicy">
  464. <sizepolicy hsizetype="Preferred" vsizetype="Preferred">
  465. <horstretch>0</horstretch>
  466. <verstretch>0</verstretch>
  467. </sizepolicy>
  468. </property>
  469. <layout class="QHBoxLayout" name="horizontalLayout_3">
  470. <property name="leftMargin">
  471. <number>0</number>
  472. </property>
  473. <property name="topMargin">
  474. <number>0</number>
  475. </property>
  476. <property name="rightMargin">
  477. <number>0</number>
  478. </property>
  479. <property name="bottomMargin">
  480. <number>0</number>
  481. </property>
  482. </layout>
  483. </widget>
  484. </item>
  485. <item>
  486. <spacer name="spacer_knobs">
  487. <property name="orientation">
  488. <enum>Qt::Horizontal</enum>
  489. </property>
  490. <property name="sizeHint" stdset="0">
  491. <size>
  492. <width>40</width>
  493. <height>20</height>
  494. </size>
  495. </property>
  496. </spacer>
  497. </item>
  498. <item>
  499. <widget class="QWidget" name="w_knobs_right" native="true">
  500. <layout class="QHBoxLayout" name="horizontalLayout_2">
  501. <property name="spacing">
  502. <number>0</number>
  503. </property>
  504. <property name="leftMargin">
  505. <number>12</number>
  506. </property>
  507. <property name="topMargin">
  508. <number>0</number>
  509. </property>
  510. <property name="rightMargin">
  511. <number>0</number>
  512. </property>
  513. <property name="bottomMargin">
  514. <number>0</number>
  515. </property>
  516. </layout>
  517. </widget>
  518. </item>
  519. </layout>
  520. </item>
  521. </layout>
  522. </widget>
  523. <customwidgets>
  524. <customwidget>
  525. <class>DigitalPeakMeter</class>
  526. <extends>QWidget</extends>
  527. <header>widgets/digitalpeakmeter.h</header>
  528. <container>1</container>
  529. </customwidget>
  530. <customwidget>
  531. <class>LEDButton</class>
  532. <extends>QPushButton</extends>
  533. <header>widgets/ledbutton.h</header>
  534. </customwidget>
  535. <customwidget>
  536. <class>ScalableButton</class>
  537. <extends>QPushButton</extends>
  538. <header>widgets/scalablebutton.h</header>
  539. </customwidget>
  540. </customwidgets>
  541. <resources>
  542. <include location="../resources.qrc"/>
  543. </resources>
  544. <connections/>
  545. </ui>