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.

417 lines
11KB

  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>622</width>
  10. <height>90</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. <layout class="QVBoxLayout" name="verticalLayout">
  20. <property name="spacing">
  21. <number>0</number>
  22. </property>
  23. <property name="leftMargin">
  24. <number>4</number>
  25. </property>
  26. <property name="topMargin">
  27. <number>3</number>
  28. </property>
  29. <property name="rightMargin">
  30. <number>6</number>
  31. </property>
  32. <property name="bottomMargin">
  33. <number>3</number>
  34. </property>
  35. <item>
  36. <layout class="QHBoxLayout" name="layout_top">
  37. <property name="spacing">
  38. <number>1</number>
  39. </property>
  40. <item>
  41. <widget class="QWidget" name="w_buttons" native="true">
  42. <property name="minimumSize">
  43. <size>
  44. <width>80</width>
  45. <height>0</height>
  46. </size>
  47. </property>
  48. <property name="maximumSize">
  49. <size>
  50. <width>80</width>
  51. <height>16777215</height>
  52. </size>
  53. </property>
  54. <layout class="QHBoxLayout" name="horizontalLayout_5">
  55. <property name="spacing">
  56. <number>2</number>
  57. </property>
  58. <property name="leftMargin">
  59. <number>12</number>
  60. </property>
  61. <property name="topMargin">
  62. <number>0</number>
  63. </property>
  64. <property name="rightMargin">
  65. <number>0</number>
  66. </property>
  67. <property name="bottomMargin">
  68. <number>0</number>
  69. </property>
  70. <item>
  71. <widget class="ScalableButton" name="b_enable">
  72. <property name="text">
  73. <string>Enable</string>
  74. </property>
  75. <property name="checkable">
  76. <bool>true</bool>
  77. </property>
  78. </widget>
  79. </item>
  80. <item>
  81. <widget class="QLabel" name="label_active">
  82. <property name="text">
  83. <string>On/Off</string>
  84. </property>
  85. </widget>
  86. </item>
  87. </layout>
  88. </widget>
  89. </item>
  90. <item>
  91. <widget class="Line" name="line_sep">
  92. <property name="minimumSize">
  93. <size>
  94. <width>0</width>
  95. <height>20</height>
  96. </size>
  97. </property>
  98. <property name="maximumSize">
  99. <size>
  100. <width>16777215</width>
  101. <height>20</height>
  102. </size>
  103. </property>
  104. <property name="lineWidth">
  105. <number>0</number>
  106. </property>
  107. <property name="midLineWidth">
  108. <number>1</number>
  109. </property>
  110. <property name="orientation">
  111. <enum>Qt::Vertical</enum>
  112. </property>
  113. </widget>
  114. </item>
  115. <item>
  116. <spacer name="spacer_namesep2">
  117. <property name="orientation">
  118. <enum>Qt::Horizontal</enum>
  119. </property>
  120. <property name="sizeType">
  121. <enum>QSizePolicy::Fixed</enum>
  122. </property>
  123. <property name="sizeHint" stdset="0">
  124. <size>
  125. <width>8</width>
  126. <height>1</height>
  127. </size>
  128. </property>
  129. </spacer>
  130. </item>
  131. <item>
  132. <widget class="QLabel" name="label_name">
  133. <property name="font">
  134. <font>
  135. <weight>75</weight>
  136. <bold>true</bold>
  137. </font>
  138. </property>
  139. <property name="text">
  140. <string>PluginName</string>
  141. </property>
  142. <property name="alignment">
  143. <set>Qt::AlignCenter</set>
  144. </property>
  145. </widget>
  146. </item>
  147. <item>
  148. <spacer name="spacer_namesep3">
  149. <property name="orientation">
  150. <enum>Qt::Horizontal</enum>
  151. </property>
  152. <property name="sizeHint" stdset="0">
  153. <size>
  154. <width>20</width>
  155. <height>1</height>
  156. </size>
  157. </property>
  158. </spacer>
  159. </item>
  160. <item>
  161. <layout class="QVBoxLayout" name="layout_midi">
  162. <property name="spacing">
  163. <number>0</number>
  164. </property>
  165. <property name="rightMargin">
  166. <number>4</number>
  167. </property>
  168. <item>
  169. <widget class="QLabel" name="label_midi">
  170. <property name="text">
  171. <string>MIDI</string>
  172. </property>
  173. <property name="alignment">
  174. <set>Qt::AlignBottom|Qt::AlignHCenter</set>
  175. </property>
  176. </widget>
  177. </item>
  178. <item>
  179. <widget class="LEDButton" name="led_midi">
  180. <property name="minimumSize">
  181. <size>
  182. <width>25</width>
  183. <height>25</height>
  184. </size>
  185. </property>
  186. <property name="maximumSize">
  187. <size>
  188. <width>25</width>
  189. <height>25</height>
  190. </size>
  191. </property>
  192. <property name="text">
  193. <string/>
  194. </property>
  195. <property name="iconSize">
  196. <size>
  197. <width>25</width>
  198. <height>25</height>
  199. </size>
  200. </property>
  201. <property name="checkable">
  202. <bool>true</bool>
  203. </property>
  204. </widget>
  205. </item>
  206. </layout>
  207. </item>
  208. <item>
  209. <layout class="QVBoxLayout" name="layout_peak_in">
  210. <property name="spacing">
  211. <number>0</number>
  212. </property>
  213. <item>
  214. <widget class="QLabel" name="label_audio_in">
  215. <property name="text">
  216. <string>AUDIO IN</string>
  217. </property>
  218. <property name="alignment">
  219. <set>Qt::AlignBottom|Qt::AlignHCenter</set>
  220. </property>
  221. </widget>
  222. </item>
  223. <item>
  224. <widget class="DigitalPeakMeter" name="peak_in" native="true">
  225. <property name="minimumSize">
  226. <size>
  227. <width>150</width>
  228. <height>0</height>
  229. </size>
  230. </property>
  231. </widget>
  232. </item>
  233. </layout>
  234. </item>
  235. <item>
  236. <layout class="QVBoxLayout" name="layout_peak_out">
  237. <property name="spacing">
  238. <number>0</number>
  239. </property>
  240. <item>
  241. <widget class="QLabel" name="label_audio_out">
  242. <property name="text">
  243. <string>AUDIO OUT</string>
  244. </property>
  245. <property name="alignment">
  246. <set>Qt::AlignBottom|Qt::AlignHCenter</set>
  247. </property>
  248. </widget>
  249. </item>
  250. <item>
  251. <widget class="DigitalPeakMeter" name="peak_out" native="true">
  252. <property name="minimumSize">
  253. <size>
  254. <width>150</width>
  255. <height>0</height>
  256. </size>
  257. </property>
  258. </widget>
  259. </item>
  260. </layout>
  261. </item>
  262. </layout>
  263. </item>
  264. <item>
  265. <widget class="Line" name="line">
  266. <property name="lineWidth">
  267. <number>0</number>
  268. </property>
  269. <property name="midLineWidth">
  270. <number>1</number>
  271. </property>
  272. <property name="orientation">
  273. <enum>Qt::Horizontal</enum>
  274. </property>
  275. </widget>
  276. </item>
  277. <item>
  278. <layout class="QHBoxLayout" name="layout_bottom">
  279. <property name="spacing">
  280. <number>1</number>
  281. </property>
  282. <property name="leftMargin">
  283. <number>6</number>
  284. </property>
  285. <property name="topMargin">
  286. <number>4</number>
  287. </property>
  288. <property name="rightMargin">
  289. <number>4</number>
  290. </property>
  291. <item>
  292. <layout class="QHBoxLayout" name="w_buttons2">
  293. <property name="spacing">
  294. <number>3</number>
  295. </property>
  296. <item>
  297. <widget class="ScalableButton" name="b_gui">
  298. <property name="text">
  299. <string>GUI</string>
  300. </property>
  301. <property name="checkable">
  302. <bool>true</bool>
  303. </property>
  304. </widget>
  305. </item>
  306. <item>
  307. <widget class="ScalableButton" name="b_edit">
  308. <property name="text">
  309. <string>Edit</string>
  310. </property>
  311. <property name="checkable">
  312. <bool>true</bool>
  313. </property>
  314. </widget>
  315. </item>
  316. <item>
  317. <widget class="ScalableButton" name="b_remove">
  318. <property name="text">
  319. <string>Remove</string>
  320. </property>
  321. </widget>
  322. </item>
  323. </layout>
  324. </item>
  325. <item>
  326. <spacer name="spacer_knobs">
  327. <property name="orientation">
  328. <enum>Qt::Horizontal</enum>
  329. </property>
  330. <property name="sizeHint" stdset="0">
  331. <size>
  332. <width>40</width>
  333. <height>20</height>
  334. </size>
  335. </property>
  336. </spacer>
  337. </item>
  338. <item>
  339. <widget class="QWidget" name="w_knobs" native="true">
  340. <property name="sizePolicy">
  341. <sizepolicy hsizetype="Preferred" vsizetype="Preferred">
  342. <horstretch>0</horstretch>
  343. <verstretch>0</verstretch>
  344. </sizepolicy>
  345. </property>
  346. <layout class="QHBoxLayout" name="horizontalLayout_4">
  347. <property name="spacing">
  348. <number>2</number>
  349. </property>
  350. <property name="leftMargin">
  351. <number>4</number>
  352. </property>
  353. <property name="topMargin">
  354. <number>0</number>
  355. </property>
  356. <property name="rightMargin">
  357. <number>4</number>
  358. </property>
  359. <property name="bottomMargin">
  360. <number>0</number>
  361. </property>
  362. </layout>
  363. </widget>
  364. </item>
  365. <item>
  366. <widget class="QLabel" name="label_logo">
  367. <property name="minimumSize">
  368. <size>
  369. <width>71</width>
  370. <height>30</height>
  371. </size>
  372. </property>
  373. <property name="maximumSize">
  374. <size>
  375. <width>71</width>
  376. <height>30</height>
  377. </size>
  378. </property>
  379. <property name="text">
  380. <string/>
  381. </property>
  382. <property name="pixmap">
  383. <pixmap resource="../resources.qrc">:/bitmaps/logo_calf.png</pixmap>
  384. </property>
  385. <property name="alignment">
  386. <set>Qt::AlignRight|Qt::AlignTrailing|Qt::AlignVCenter</set>
  387. </property>
  388. </widget>
  389. </item>
  390. </layout>
  391. </item>
  392. </layout>
  393. </widget>
  394. <customwidgets>
  395. <customwidget>
  396. <class>DigitalPeakMeter</class>
  397. <extends>QWidget</extends>
  398. <header>widgets/digitalpeakmeter.h</header>
  399. <container>1</container>
  400. </customwidget>
  401. <customwidget>
  402. <class>LEDButton</class>
  403. <extends>QPushButton</extends>
  404. <header>widgets/ledbutton.h</header>
  405. </customwidget>
  406. <customwidget>
  407. <class>ScalableButton</class>
  408. <extends>QPushButton</extends>
  409. <header>widgets/scalablebutton.h</header>
  410. </customwidget>
  411. </customwidgets>
  412. <resources>
  413. <include location="../resources.qrc"/>
  414. </resources>
  415. <connections/>
  416. </ui>