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.

carla_settings_driver.ui 8.2KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317
  1. <?xml version="1.0" encoding="UTF-8"?>
  2. <ui version="4.0">
  3. <class>DriverSettingsW</class>
  4. <widget class="QDialog" name="DriverSettingsW">
  5. <property name="geometry">
  6. <rect>
  7. <x>0</x>
  8. <y>0</y>
  9. <width>350</width>
  10. <height>264</height>
  11. </rect>
  12. </property>
  13. <property name="minimumSize">
  14. <size>
  15. <width>350</width>
  16. <height>0</height>
  17. </size>
  18. </property>
  19. <property name="windowTitle">
  20. <string>Driver Settings</string>
  21. </property>
  22. <layout class="QVBoxLayout" name="verticalLayout">
  23. <item>
  24. <layout class="QGridLayout" name="gridLayout">
  25. <item row="2" column="1">
  26. <widget class="QComboBox" name="cb_samplerate"/>
  27. </item>
  28. <item row="0" column="2">
  29. <spacer name="horizontalSpacer">
  30. <property name="orientation">
  31. <enum>Qt::Horizontal</enum>
  32. </property>
  33. <property name="sizeHint" stdset="0">
  34. <size>
  35. <width>40</width>
  36. <height>20</height>
  37. </size>
  38. </property>
  39. </spacer>
  40. </item>
  41. <item row="1" column="2">
  42. <spacer name="horizontalSpacer_2">
  43. <property name="orientation">
  44. <enum>Qt::Horizontal</enum>
  45. </property>
  46. <property name="sizeHint" stdset="0">
  47. <size>
  48. <width>40</width>
  49. <height>20</height>
  50. </size>
  51. </property>
  52. </spacer>
  53. </item>
  54. <item row="0" column="1">
  55. <widget class="QComboBox" name="cb_device"/>
  56. </item>
  57. <item row="2" column="2">
  58. <spacer name="horizontalSpacer_4">
  59. <property name="orientation">
  60. <enum>Qt::Horizontal</enum>
  61. </property>
  62. <property name="sizeHint" stdset="0">
  63. <size>
  64. <width>40</width>
  65. <height>20</height>
  66. </size>
  67. </property>
  68. </spacer>
  69. </item>
  70. <item row="0" column="0">
  71. <widget class="QLabel" name="label_device">
  72. <property name="sizePolicy">
  73. <sizepolicy hsizetype="Expanding" vsizetype="Preferred">
  74. <horstretch>0</horstretch>
  75. <verstretch>0</verstretch>
  76. </sizepolicy>
  77. </property>
  78. <property name="text">
  79. <string>Device:</string>
  80. </property>
  81. <property name="alignment">
  82. <set>Qt::AlignRight|Qt::AlignTrailing|Qt::AlignVCenter</set>
  83. </property>
  84. </widget>
  85. </item>
  86. <item row="1" column="0">
  87. <widget class="QLabel" name="label_buffersize">
  88. <property name="sizePolicy">
  89. <sizepolicy hsizetype="Expanding" vsizetype="Preferred">
  90. <horstretch>0</horstretch>
  91. <verstretch>0</verstretch>
  92. </sizepolicy>
  93. </property>
  94. <property name="text">
  95. <string>Buffer size:</string>
  96. </property>
  97. <property name="alignment">
  98. <set>Qt::AlignRight|Qt::AlignTrailing|Qt::AlignVCenter</set>
  99. </property>
  100. </widget>
  101. </item>
  102. <item row="1" column="1">
  103. <widget class="QComboBox" name="cb_buffersize"/>
  104. </item>
  105. <item row="2" column="0">
  106. <widget class="QLabel" name="label_samplerate">
  107. <property name="sizePolicy">
  108. <sizepolicy hsizetype="Expanding" vsizetype="Preferred">
  109. <horstretch>0</horstretch>
  110. <verstretch>0</verstretch>
  111. </sizepolicy>
  112. </property>
  113. <property name="text">
  114. <string>Sample rate:</string>
  115. </property>
  116. <property name="alignment">
  117. <set>Qt::AlignRight|Qt::AlignTrailing|Qt::AlignVCenter</set>
  118. </property>
  119. </widget>
  120. </item>
  121. </layout>
  122. </item>
  123. <item>
  124. <layout class="QHBoxLayout" name="layout_triple_buffer">
  125. <item>
  126. <spacer name="horizontalSpacer_5">
  127. <property name="orientation">
  128. <enum>Qt::Horizontal</enum>
  129. </property>
  130. <property name="sizeHint" stdset="0">
  131. <size>
  132. <width>40</width>
  133. <height>20</height>
  134. </size>
  135. </property>
  136. </spacer>
  137. </item>
  138. <item>
  139. <widget class="QCheckBox" name="cb_triple_buffer">
  140. <property name="text">
  141. <string>Triple buffer</string>
  142. </property>
  143. </widget>
  144. </item>
  145. <item>
  146. <spacer name="horizontalSpacer_6">
  147. <property name="orientation">
  148. <enum>Qt::Horizontal</enum>
  149. </property>
  150. <property name="sizeHint" stdset="0">
  151. <size>
  152. <width>40</width>
  153. <height>20</height>
  154. </size>
  155. </property>
  156. </spacer>
  157. </item>
  158. </layout>
  159. </item>
  160. <item>
  161. <layout class="QHBoxLayout" name="horizontalLayout_2">
  162. <item>
  163. <spacer name="horizontalSpacer_3">
  164. <property name="orientation">
  165. <enum>Qt::Horizontal</enum>
  166. </property>
  167. <property name="sizeType">
  168. <enum>QSizePolicy::Preferred</enum>
  169. </property>
  170. <property name="sizeHint" stdset="0">
  171. <size>
  172. <width>40</width>
  173. <height>20</height>
  174. </size>
  175. </property>
  176. </spacer>
  177. </item>
  178. <item>
  179. <widget class="QPushButton" name="b_panel">
  180. <property name="minimumSize">
  181. <size>
  182. <width>32</width>
  183. <height>0</height>
  184. </size>
  185. </property>
  186. <property name="text">
  187. <string>Show Driver Control Panel</string>
  188. </property>
  189. </widget>
  190. </item>
  191. <item>
  192. <spacer name="horizontalSpacer_7">
  193. <property name="orientation">
  194. <enum>Qt::Horizontal</enum>
  195. </property>
  196. <property name="sizeType">
  197. <enum>QSizePolicy::Preferred</enum>
  198. </property>
  199. <property name="sizeHint" stdset="0">
  200. <size>
  201. <width>40</width>
  202. <height>20</height>
  203. </size>
  204. </property>
  205. </spacer>
  206. </item>
  207. </layout>
  208. </item>
  209. <item>
  210. <layout class="QHBoxLayout" name="layout_restart">
  211. <item>
  212. <spacer name="spacer_1">
  213. <property name="orientation">
  214. <enum>Qt::Horizontal</enum>
  215. </property>
  216. <property name="sizeHint" stdset="0">
  217. <size>
  218. <width>40</width>
  219. <height>20</height>
  220. </size>
  221. </property>
  222. </spacer>
  223. </item>
  224. <item>
  225. <widget class="QLabel" name="ico_restart">
  226. <property name="maximumSize">
  227. <size>
  228. <width>22</width>
  229. <height>22</height>
  230. </size>
  231. </property>
  232. <property name="text">
  233. <string/>
  234. </property>
  235. <property name="pixmap">
  236. <pixmap resource="../resources.qrc">:/16x16/dialog-information.svgz</pixmap>
  237. </property>
  238. <property name="scaledContents">
  239. <bool>true</bool>
  240. </property>
  241. <property name="alignment">
  242. <set>Qt::AlignRight|Qt::AlignTrailing|Qt::AlignVCenter</set>
  243. </property>
  244. </widget>
  245. </item>
  246. <item>
  247. <widget class="QLabel" name="label_restart">
  248. <property name="text">
  249. <string>Restart the engine to load the new settings</string>
  250. </property>
  251. </widget>
  252. </item>
  253. <item>
  254. <spacer name="spacer_2">
  255. <property name="orientation">
  256. <enum>Qt::Horizontal</enum>
  257. </property>
  258. <property name="sizeHint" stdset="0">
  259. <size>
  260. <width>40</width>
  261. <height>20</height>
  262. </size>
  263. </property>
  264. </spacer>
  265. </item>
  266. </layout>
  267. </item>
  268. <item>
  269. <widget class="QDialogButtonBox" name="buttonBox">
  270. <property name="orientation">
  271. <enum>Qt::Horizontal</enum>
  272. </property>
  273. <property name="standardButtons">
  274. <set>QDialogButtonBox::Cancel|QDialogButtonBox::Ok</set>
  275. </property>
  276. </widget>
  277. </item>
  278. </layout>
  279. </widget>
  280. <resources>
  281. <include location="../resources.qrc"/>
  282. </resources>
  283. <connections>
  284. <connection>
  285. <sender>buttonBox</sender>
  286. <signal>accepted()</signal>
  287. <receiver>DriverSettingsW</receiver>
  288. <slot>accept()</slot>
  289. <hints>
  290. <hint type="sourcelabel">
  291. <x>248</x>
  292. <y>254</y>
  293. </hint>
  294. <hint type="destinationlabel">
  295. <x>157</x>
  296. <y>274</y>
  297. </hint>
  298. </hints>
  299. </connection>
  300. <connection>
  301. <sender>buttonBox</sender>
  302. <signal>rejected()</signal>
  303. <receiver>DriverSettingsW</receiver>
  304. <slot>reject()</slot>
  305. <hints>
  306. <hint type="sourcelabel">
  307. <x>316</x>
  308. <y>260</y>
  309. </hint>
  310. <hint type="destinationlabel">
  311. <x>286</x>
  312. <y>274</y>
  313. </hint>
  314. </hints>
  315. </connection>
  316. </connections>
  317. </ui>