first_run_dialog.ui 7.8 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273
  1. <?xml version="1.0" encoding="UTF-8"?>
  2. <ui version="4.0">
  3. <class>OfbQtFirstRunDialog</class>
  4. <widget class="QWidget" name="OfbQtFirstRunDialog">
  5. <property name="geometry">
  6. <rect>
  7. <x>0</x>
  8. <y>0</y>
  9. <width>570</width>
  10. <height>320</height>
  11. </rect>
  12. </property>
  13. <property name="maximumSize">
  14. <size>
  15. <width>16777215</width>
  16. <height>320</height>
  17. </size>
  18. </property>
  19. <property name="windowTitle">
  20. <string>Welcome</string>
  21. </property>
  22. <layout class="QVBoxLayout" name="verticalLayout">
  23. <item>
  24. <widget class="QWidget" name="widget_2" native="true">
  25. <layout class="QHBoxLayout" name="horizontalLayout_2">
  26. <property name="leftMargin">
  27. <number>0</number>
  28. </property>
  29. <property name="topMargin">
  30. <number>0</number>
  31. </property>
  32. <property name="rightMargin">
  33. <number>0</number>
  34. </property>
  35. <property name="bottomMargin">
  36. <number>0</number>
  37. </property>
  38. <item>
  39. <widget class="QWidget" name="widget_4" native="true">
  40. <property name="sizePolicy">
  41. <sizepolicy hsizetype="Fixed" vsizetype="Preferred">
  42. <horstretch>0</horstretch>
  43. <verstretch>0</verstretch>
  44. </sizepolicy>
  45. </property>
  46. <layout class="QVBoxLayout" name="verticalLayout_3">
  47. <property name="leftMargin">
  48. <number>0</number>
  49. </property>
  50. <property name="topMargin">
  51. <number>0</number>
  52. </property>
  53. <property name="rightMargin">
  54. <number>0</number>
  55. </property>
  56. <property name="bottomMargin">
  57. <number>0</number>
  58. </property>
  59. <item>
  60. <widget class="QLabel" name="preview_root">
  61. <property name="sizePolicy">
  62. <sizepolicy hsizetype="Fixed" vsizetype="Preferred">
  63. <horstretch>0</horstretch>
  64. <verstretch>0</verstretch>
  65. </sizepolicy>
  66. </property>
  67. <property name="minimumSize">
  68. <size>
  69. <width>180</width>
  70. <height>120</height>
  71. </size>
  72. </property>
  73. <property name="maximumSize">
  74. <size>
  75. <width>16777215</width>
  76. <height>16777215</height>
  77. </size>
  78. </property>
  79. <property name="text">
  80. <string notr="true">Image</string>
  81. </property>
  82. </widget>
  83. </item>
  84. </layout>
  85. </widget>
  86. </item>
  87. <item>
  88. <widget class="QWidget" name="widget_3" native="true">
  89. <layout class="QVBoxLayout" name="verticalLayout_2">
  90. <property name="leftMargin">
  91. <number>0</number>
  92. </property>
  93. <property name="topMargin">
  94. <number>0</number>
  95. </property>
  96. <property name="rightMargin">
  97. <number>0</number>
  98. </property>
  99. <property name="bottomMargin">
  100. <number>0</number>
  101. </property>
  102. <item>
  103. <widget class="QLabel" name="label">
  104. <property name="sizePolicy">
  105. <sizepolicy hsizetype="Preferred" vsizetype="Preferred">
  106. <horstretch>0</horstretch>
  107. <verstretch>0</verstretch>
  108. </sizepolicy>
  109. </property>
  110. <property name="text">
  111. <string>This application allows you to manage your HUAWEI Bluetooth earphones. To access them, look for headphones icon in system tray panel, near other icons.</string>
  112. </property>
  113. <property name="wordWrap">
  114. <bool>true</bool>
  115. </property>
  116. </widget>
  117. </item>
  118. <item>
  119. <widget class="QLabel" name="label_2">
  120. <property name="sizePolicy">
  121. <sizepolicy hsizetype="Preferred" vsizetype="Preferred">
  122. <horstretch>0</horstretch>
  123. <verstretch>0</verstretch>
  124. </sizepolicy>
  125. </property>
  126. <property name="text">
  127. <string>Left-click on this icon will cycle through noise cancellation modes (can be configured), right-click will provide access to full battery status and main options. Settings window provides access to all features.</string>
  128. </property>
  129. <property name="wordWrap">
  130. <bool>true</bool>
  131. </property>
  132. </widget>
  133. </item>
  134. <item>
  135. <spacer name="verticalSpacer_2">
  136. <property name="orientation">
  137. <enum>Qt::Orientation::Vertical</enum>
  138. </property>
  139. <property name="sizeHint" stdset="0">
  140. <size>
  141. <width>20</width>
  142. <height>40</height>
  143. </size>
  144. </property>
  145. </spacer>
  146. </item>
  147. <item>
  148. <widget class="QCheckBox" name="autostart_checkbox">
  149. <property name="text">
  150. <string>Launch OpenFreebuds at system boot</string>
  151. </property>
  152. <property name="checked">
  153. <bool>true</bool>
  154. </property>
  155. </widget>
  156. </item>
  157. <item>
  158. <widget class="QCheckBox" name="background_checkbox">
  159. <property name="text">
  160. <string>Mininize to system tray instead of closing</string>
  161. </property>
  162. <property name="checked">
  163. <bool>true</bool>
  164. </property>
  165. </widget>
  166. </item>
  167. <item>
  168. <widget class="QLabel" name="label_5">
  169. <property name="text">
  170. <string>You could change this options anytime later in settings.</string>
  171. </property>
  172. <property name="wordWrap">
  173. <bool>true</bool>
  174. </property>
  175. </widget>
  176. </item>
  177. </layout>
  178. </widget>
  179. </item>
  180. </layout>
  181. </widget>
  182. </item>
  183. <item>
  184. <widget class="QWidget" name="widget" native="true">
  185. <layout class="QHBoxLayout" name="horizontalLayout">
  186. <property name="leftMargin">
  187. <number>0</number>
  188. </property>
  189. <property name="topMargin">
  190. <number>0</number>
  191. </property>
  192. <property name="rightMargin">
  193. <number>0</number>
  194. </property>
  195. <property name="bottomMargin">
  196. <number>0</number>
  197. </property>
  198. <item>
  199. <spacer name="horizontalSpacer">
  200. <property name="orientation">
  201. <enum>Qt::Orientation::Horizontal</enum>
  202. </property>
  203. <property name="sizeHint" stdset="0">
  204. <size>
  205. <width>40</width>
  206. <height>20</height>
  207. </size>
  208. </property>
  209. </spacer>
  210. </item>
  211. <item>
  212. <widget class="QPushButton" name="faq_btn">
  213. <property name="text">
  214. <string>FAQ</string>
  215. </property>
  216. <property name="flat">
  217. <bool>true</bool>
  218. </property>
  219. </widget>
  220. </item>
  221. <item>
  222. <widget class="QPushButton" name="confirm_btn">
  223. <property name="text">
  224. <string>Get started</string>
  225. </property>
  226. </widget>
  227. </item>
  228. </layout>
  229. </widget>
  230. </item>
  231. </layout>
  232. </widget>
  233. <resources/>
  234. <connections>
  235. <connection>
  236. <sender>faq_btn</sender>
  237. <signal>clicked()</signal>
  238. <receiver>OfbQtFirstRunDialog</receiver>
  239. <slot>on_faq_click()</slot>
  240. <hints>
  241. <hint type="sourcelabel">
  242. <x>436</x>
  243. <y>300</y>
  244. </hint>
  245. <hint type="destinationlabel">
  246. <x>285</x>
  247. <y>160</y>
  248. </hint>
  249. </hints>
  250. </connection>
  251. <connection>
  252. <sender>confirm_btn</sender>
  253. <signal>clicked()</signal>
  254. <receiver>OfbQtFirstRunDialog</receiver>
  255. <slot>on_confirm()</slot>
  256. <hints>
  257. <hint type="sourcelabel">
  258. <x>522</x>
  259. <y>300</y>
  260. </hint>
  261. <hint type="destinationlabel">
  262. <x>285</x>
  263. <y>160</y>
  264. </hint>
  265. </hints>
  266. </connection>
  267. </connections>
  268. <slots>
  269. <slot>on_faq_click()</slot>
  270. <slot>on_confirm()</slot>
  271. </slots>
  272. </ui>