ui_settings.ui 8.0 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312
  1. <?xml version="1.0" encoding="UTF-8"?>
  2. <ui version="4.0">
  3. <class>OfbQtUiSettingsModule</class>
  4. <widget class="QWidget" name="OfbQtUiSettingsModule">
  5. <property name="geometry">
  6. <rect>
  7. <x>0</x>
  8. <y>0</y>
  9. <width>496</width>
  10. <height>524</height>
  11. </rect>
  12. </property>
  13. <property name="windowTitle">
  14. <string notr="true">UI Settings</string>
  15. </property>
  16. <layout class="QVBoxLayout" name="verticalLayout">
  17. <item>
  18. <widget class="QLabel" name="label_5">
  19. <property name="text">
  20. <string>Looking for UI theme settings? Now it follows system-wide configuration.</string>
  21. </property>
  22. </widget>
  23. </item>
  24. <item>
  25. <widget class="QGroupBox" name="groupBox">
  26. <property name="title">
  27. <string>Main</string>
  28. </property>
  29. <layout class="QGridLayout" name="gridLayout">
  30. <item row="2" column="0" colspan="2">
  31. <widget class="QLabel" name="label_2">
  32. <property name="text">
  33. <string>Restart OpenFeebuds to apply changes</string>
  34. </property>
  35. </widget>
  36. </item>
  37. <item row="3" column="0" colspan="2">
  38. <widget class="QCheckBox" name="autostart_toggle">
  39. <property name="text">
  40. <string>Launch at system startup</string>
  41. </property>
  42. </widget>
  43. </item>
  44. <item row="1" column="0">
  45. <widget class="QLabel" name="label_6">
  46. <property name="text">
  47. <string>Update checker:</string>
  48. </property>
  49. </widget>
  50. </item>
  51. <item row="1" column="1">
  52. <widget class="QComboBox" name="updater_policy_picker">
  53. <item>
  54. <property name="text">
  55. <string>Notify about new versions</string>
  56. </property>
  57. </item>
  58. <item>
  59. <property name="text">
  60. <string>Check for new versions, but don't notify</string>
  61. </property>
  62. </item>
  63. <item>
  64. <property name="text">
  65. <string>Disabled</string>
  66. </property>
  67. </item>
  68. </widget>
  69. </item>
  70. <item row="0" column="0">
  71. <widget class="QLabel" name="label">
  72. <property name="text">
  73. <string>Language:</string>
  74. </property>
  75. </widget>
  76. </item>
  77. <item row="0" column="1">
  78. <widget class="QComboBox" name="language_picker">
  79. <item>
  80. <property name="text">
  81. <string>System</string>
  82. </property>
  83. </item>
  84. </widget>
  85. </item>
  86. <item row="4" column="0" colspan="2">
  87. <widget class="QCheckBox" name="background_toggle">
  88. <property name="text">
  89. <string>Mininize to system tray instead of closing</string>
  90. </property>
  91. </widget>
  92. </item>
  93. </layout>
  94. </widget>
  95. </item>
  96. <item>
  97. <widget class="QGroupBox" name="groupBox_2">
  98. <property name="title">
  99. <string>Tray applet</string>
  100. </property>
  101. <layout class="QGridLayout" name="gridLayout_2">
  102. <item row="0" column="0">
  103. <widget class="QLabel" name="label_3">
  104. <property name="text">
  105. <string>Icon color</string>
  106. </property>
  107. </widget>
  108. </item>
  109. <item row="0" column="1">
  110. <widget class="QComboBox" name="tray_icon_picker">
  111. <item>
  112. <property name="text">
  113. <string>Auto-select</string>
  114. </property>
  115. </item>
  116. <item>
  117. <property name="text">
  118. <string>Light</string>
  119. </property>
  120. </item>
  121. <item>
  122. <property name="text">
  123. <string>Dark</string>
  124. </property>
  125. </item>
  126. </widget>
  127. </item>
  128. <item row="1" column="0">
  129. <widget class="QLabel" name="label_4">
  130. <property name="text">
  131. <string>Left-click action</string>
  132. </property>
  133. </widget>
  134. </item>
  135. <item row="1" column="1">
  136. <widget class="QComboBox" name="tray_shortcut_picker"/>
  137. </item>
  138. <item row="2" column="0" colspan="2">
  139. <widget class="QCheckBox" name="tray_dc_toggle">
  140. <property name="text">
  141. <string>Show dual-connect device switcher in menu (if available)</string>
  142. </property>
  143. </widget>
  144. </item>
  145. <item row="3" column="0" colspan="2">
  146. <widget class="QCheckBox" name="tray_eq_toggle">
  147. <property name="text">
  148. <string>Show equalizer preset switcher in menu (if available)</string>
  149. </property>
  150. </widget>
  151. </item>
  152. </layout>
  153. </widget>
  154. </item>
  155. <item>
  156. <spacer name="verticalSpacer">
  157. <property name="orientation">
  158. <enum>Qt::Orientation::Vertical</enum>
  159. </property>
  160. <property name="sizeHint" stdset="0">
  161. <size>
  162. <width>20</width>
  163. <height>40</height>
  164. </size>
  165. </property>
  166. </spacer>
  167. </item>
  168. </layout>
  169. </widget>
  170. <resources/>
  171. <connections>
  172. <connection>
  173. <sender>language_picker</sender>
  174. <signal>currentIndexChanged(int)</signal>
  175. <receiver>OfbQtUiSettingsModule</receiver>
  176. <slot>on_language_choose(int)</slot>
  177. <hints>
  178. <hint type="sourcelabel">
  179. <x>362</x>
  180. <y>76</y>
  181. </hint>
  182. <hint type="destinationlabel">
  183. <x>247</x>
  184. <y>261</y>
  185. </hint>
  186. </hints>
  187. </connection>
  188. <connection>
  189. <sender>tray_dc_toggle</sender>
  190. <signal>toggled(bool)</signal>
  191. <receiver>OfbQtUiSettingsModule</receiver>
  192. <slot>on_tray_dc_toggle(bool)</slot>
  193. <hints>
  194. <hint type="sourcelabel">
  195. <x>247</x>
  196. <y>235</y>
  197. </hint>
  198. <hint type="destinationlabel">
  199. <x>247</x>
  200. <y>261</y>
  201. </hint>
  202. </hints>
  203. </connection>
  204. <connection>
  205. <sender>tray_eq_toggle</sender>
  206. <signal>toggled(bool)</signal>
  207. <receiver>OfbQtUiSettingsModule</receiver>
  208. <slot>on_tray_eq_toggle(bool)</slot>
  209. <hints>
  210. <hint type="sourcelabel">
  211. <x>247</x>
  212. <y>264</y>
  213. </hint>
  214. <hint type="destinationlabel">
  215. <x>247</x>
  216. <y>261</y>
  217. </hint>
  218. </hints>
  219. </connection>
  220. <connection>
  221. <sender>tray_shortcut_picker</sender>
  222. <signal>currentIndexChanged(int)</signal>
  223. <receiver>OfbQtUiSettingsModule</receiver>
  224. <slot>on_tray_shortcut_choose(int)</slot>
  225. <hints>
  226. <hint type="sourcelabel">
  227. <x>362</x>
  228. <y>205</y>
  229. </hint>
  230. <hint type="destinationlabel">
  231. <x>247</x>
  232. <y>261</y>
  233. </hint>
  234. </hints>
  235. </connection>
  236. <connection>
  237. <sender>tray_icon_picker</sender>
  238. <signal>currentIndexChanged(int)</signal>
  239. <receiver>OfbQtUiSettingsModule</receiver>
  240. <slot>on_tray_color_choose(int)</slot>
  241. <hints>
  242. <hint type="sourcelabel">
  243. <x>362</x>
  244. <y>174</y>
  245. </hint>
  246. <hint type="destinationlabel">
  247. <x>247</x>
  248. <y>261</y>
  249. </hint>
  250. </hints>
  251. </connection>
  252. <connection>
  253. <sender>autostart_toggle</sender>
  254. <signal>toggled(bool)</signal>
  255. <receiver>OfbQtUiSettingsModule</receiver>
  256. <slot>on_autostart_toggle(bool)</slot>
  257. <hints>
  258. <hint type="sourcelabel">
  259. <x>247</x>
  260. <y>129</y>
  261. </hint>
  262. <hint type="destinationlabel">
  263. <x>247</x>
  264. <y>261</y>
  265. </hint>
  266. </hints>
  267. </connection>
  268. <connection>
  269. <sender>updater_policy_picker</sender>
  270. <signal>currentIndexChanged(int)</signal>
  271. <receiver>OfbQtUiSettingsModule</receiver>
  272. <slot>on_updater_policy_choose(int)</slot>
  273. <hints>
  274. <hint type="sourcelabel">
  275. <x>362</x>
  276. <y>107</y>
  277. </hint>
  278. <hint type="destinationlabel">
  279. <x>247</x>
  280. <y>261</y>
  281. </hint>
  282. </hints>
  283. </connection>
  284. <connection>
  285. <sender>background_toggle</sender>
  286. <signal>toggled(bool)</signal>
  287. <receiver>OfbQtUiSettingsModule</receiver>
  288. <slot>on_background_toggle()</slot>
  289. <hints>
  290. <hint type="sourcelabel">
  291. <x>247</x>
  292. <y>202</y>
  293. </hint>
  294. <hint type="destinationlabel">
  295. <x>247</x>
  296. <y>261</y>
  297. </hint>
  298. </hints>
  299. </connection>
  300. </connections>
  301. <slots>
  302. <slot>on_tray_eq_toggle(bool)</slot>
  303. <slot>on_tray_dc_toggle(bool)</slot>
  304. <slot>on_language_choose(int)</slot>
  305. <slot>on_tray_color_choose(int)</slot>
  306. <slot>on_tray_shortcut_choose(int)</slot>
  307. <slot>on_autostart_toggle(bool)</slot>
  308. <slot>on_updater_policy_choose(int)</slot>
  309. <slot>on_background_toggle()</slot>
  310. </slots>
  311. </ui>