linux_extras.ui 5.4 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190
  1. <?xml version="1.0" encoding="UTF-8"?>
  2. <ui version="4.0">
  3. <class>OfbQtLinuxExtrasModule</class>
  4. <widget class="QWidget" name="OfbQtLinuxExtrasModule">
  5. <property name="geometry">
  6. <rect>
  7. <x>0</x>
  8. <y>0</y>
  9. <width>588</width>
  10. <height>534</height>
  11. </rect>
  12. </property>
  13. <property name="windowTitle">
  14. <string notr="true">Linux-specific</string>
  15. </property>
  16. <layout class="QVBoxLayout" name="verticalLayout_2">
  17. <item>
  18. <widget class="QGroupBox" name="groupBox">
  19. <property name="title">
  20. <string>Compatibility</string>
  21. </property>
  22. <layout class="QVBoxLayout" name="verticalLayout">
  23. <item>
  24. <widget class="QCheckBox" name="mpris_helper_checkbox">
  25. <property name="text">
  26. <string>Enable MPRIS helper service</string>
  27. </property>
  28. </widget>
  29. </item>
  30. <item>
  31. <widget class="QLabel" name="label">
  32. <property name="text">
  33. <string>Try this option if auto-pause doesn't work with your desktop environment. Note that only MPRIS-compatible media players are supported (mostly all standalone player and browsers support this API).</string>
  34. </property>
  35. <property name="wordWrap">
  36. <bool>true</bool>
  37. </property>
  38. </widget>
  39. </item>
  40. <item>
  41. <widget class="QCheckBox" name="force_x11_checkbox">
  42. <property name="text">
  43. <string>Force use X11 backend (may look better in GNOME-based desktop environments)</string>
  44. </property>
  45. </widget>
  46. </item>
  47. <item>
  48. <widget class="QLabel" name="label_5">
  49. <property name="text">
  50. <string>Restart application to apply.</string>
  51. </property>
  52. </widget>
  53. </item>
  54. </layout>
  55. </widget>
  56. </item>
  57. <item>
  58. <widget class="QGroupBox" name="groupBox_2">
  59. <property name="title">
  60. <string>Theme</string>
  61. </property>
  62. <layout class="QVBoxLayout" name="verticalLayout_3">
  63. <item>
  64. <widget class="QLabel" name="label_3">
  65. <property name="text">
  66. <string>Fresh versions of OpenFreebuds are written in Qt6, and uses system-wide Qt UI theme. So, if application color scheme didn't match with system, or it looks ugly, you should configure global Qt style settings.</string>
  67. </property>
  68. <property name="wordWrap">
  69. <bool>true</bool>
  70. </property>
  71. </widget>
  72. </item>
  73. <item>
  74. <widget class="QLabel" name="label_4">
  75. <property name="text">
  76. <string>In KDE, LxQT or other Qt-based desktop environments, use system appearance settings. Otherwise, configure qt manually or use any configuration tool like qt6ct.</string>
  77. </property>
  78. <property name="wordWrap">
  79. <bool>true</bool>
  80. </property>
  81. </widget>
  82. </item>
  83. </layout>
  84. </widget>
  85. </item>
  86. <item>
  87. <widget class="QGroupBox" name="wayland_root">
  88. <property name="title">
  89. <string>Keyboard shortcuts</string>
  90. </property>
  91. <layout class="QHBoxLayout" name="horizontalLayout">
  92. <item>
  93. <widget class="QLabel" name="label_2">
  94. <property name="text">
  95. <string>Looks like you're using Wayland desktop environment. Due to that OpenFreebuds built-in global hotkeys won't work. If you want to use keyboard shortcuts, setup them from your desktop environment settings.</string>
  96. </property>
  97. <property name="wordWrap">
  98. <bool>true</bool>
  99. </property>
  100. </widget>
  101. </item>
  102. <item>
  103. <widget class="QPushButton" name="pushButton">
  104. <property name="sizePolicy">
  105. <sizepolicy hsizetype="Fixed" vsizetype="Fixed">
  106. <horstretch>0</horstretch>
  107. <verstretch>0</verstretch>
  108. </sizepolicy>
  109. </property>
  110. <property name="text">
  111. <string>Documentation</string>
  112. </property>
  113. </widget>
  114. </item>
  115. </layout>
  116. </widget>
  117. </item>
  118. <item>
  119. <spacer name="verticalSpacer">
  120. <property name="orientation">
  121. <enum>Qt::Vertical</enum>
  122. </property>
  123. <property name="sizeHint" stdset="0">
  124. <size>
  125. <width>20</width>
  126. <height>40</height>
  127. </size>
  128. </property>
  129. </spacer>
  130. </item>
  131. </layout>
  132. </widget>
  133. <resources/>
  134. <connections>
  135. <connection>
  136. <sender>pushButton</sender>
  137. <signal>clicked()</signal>
  138. <receiver>OfbQtLinuxExtrasModule</receiver>
  139. <slot>on_hotkeys_doc()</slot>
  140. <hints>
  141. <hint type="sourcelabel">
  142. <x>356</x>
  143. <y>264</y>
  144. </hint>
  145. <hint type="destinationlabel">
  146. <x>293</x>
  147. <y>206</y>
  148. </hint>
  149. </hints>
  150. </connection>
  151. <connection>
  152. <sender>mpris_helper_checkbox</sender>
  153. <signal>toggled(bool)</signal>
  154. <receiver>OfbQtLinuxExtrasModule</receiver>
  155. <slot>on_mpris_toggle(bool)</slot>
  156. <hints>
  157. <hint type="sourcelabel">
  158. <x>293</x>
  159. <y>52</y>
  160. </hint>
  161. <hint type="destinationlabel">
  162. <x>293</x>
  163. <y>206</y>
  164. </hint>
  165. </hints>
  166. </connection>
  167. <connection>
  168. <sender>force_x11_checkbox</sender>
  169. <signal>toggled(bool)</signal>
  170. <receiver>OfbQtLinuxExtrasModule</receiver>
  171. <slot>on_force_x11_toggle(bool)</slot>
  172. <hints>
  173. <hint type="sourcelabel">
  174. <x>293</x>
  175. <y>182</y>
  176. </hint>
  177. <hint type="destinationlabel">
  178. <x>293</x>
  179. <y>266</y>
  180. </hint>
  181. </hints>
  182. </connection>
  183. </connections>
  184. <slots>
  185. <slot>on_hotkeys_doc()</slot>
  186. <slot>on_mpris_toggle(bool)</slot>
  187. <slot>on_force_x11_toggle(bool)</slot>
  188. </slots>
  189. </ui>