mainwindow.ui 8.4 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274
  1. <?xml version="1.0" encoding="UTF-8"?>
  2. <ui version="4.0">
  3. <class>MainWindow</class>
  4. <widget class="QMainWindow" name="MainWindow">
  5. <property name="geometry">
  6. <rect>
  7. <x>0</x>
  8. <y>0</y>
  9. <width>571</width>
  10. <height>727</height>
  11. </rect>
  12. </property>
  13. <property name="sizePolicy">
  14. <sizepolicy hsizetype="Expanding" vsizetype="Expanding">
  15. <horstretch>0</horstretch>
  16. <verstretch>0</verstretch>
  17. </sizepolicy>
  18. </property>
  19. <property name="windowTitle">
  20. <string>MainWindow</string>
  21. </property>
  22. <property name="styleSheet">
  23. <string notr="true">background-color: rgb(0, 0, 0);</string>
  24. </property>
  25. <widget class="QWidget" name="centralWidget">
  26. <property name="sizePolicy">
  27. <sizepolicy hsizetype="Expanding" vsizetype="Expanding">
  28. <horstretch>0</horstretch>
  29. <verstretch>0</verstretch>
  30. </sizepolicy>
  31. </property>
  32. <layout class="QVBoxLayout" name="verticalLayout_2">
  33. <item>
  34. <widget class="QFrame" name="gridFrame">
  35. <property name="sizePolicy">
  36. <sizepolicy hsizetype="Expanding" vsizetype="Expanding">
  37. <horstretch>0</horstretch>
  38. <verstretch>0</verstretch>
  39. </sizepolicy>
  40. </property>
  41. <layout class="QVBoxLayout" name="verticalLayout">
  42. <property name="margin">
  43. <number>0</number>
  44. </property>
  45. <item>
  46. <widget class="QTimeEdit" name="timeEdit_mobile">
  47. <property name="sizePolicy">
  48. <sizepolicy hsizetype="Expanding" vsizetype="Expanding">
  49. <horstretch>0</horstretch>
  50. <verstretch>0</verstretch>
  51. </sizepolicy>
  52. </property>
  53. <property name="font">
  54. <font>
  55. <pointsize>14</pointsize>
  56. </font>
  57. </property>
  58. <property name="autoFillBackground">
  59. <bool>false</bool>
  60. </property>
  61. <property name="styleSheet">
  62. <string notr="true">color: rgb(184, 0, 3);</string>
  63. </property>
  64. <property name="alignment">
  65. <set>Qt::AlignCenter</set>
  66. </property>
  67. <property name="readOnly">
  68. <bool>true</bool>
  69. </property>
  70. <property name="buttonSymbols">
  71. <enum>QAbstractSpinBox::NoButtons</enum>
  72. </property>
  73. <property name="displayFormat">
  74. <string>H:mm</string>
  75. </property>
  76. </widget>
  77. </item>
  78. <item>
  79. <layout class="QHBoxLayout" name="horizontalLayout">
  80. <item>
  81. <widget class="QSpinBox" name="spinBox_h">
  82. <property name="sizePolicy">
  83. <sizepolicy hsizetype="Fixed" vsizetype="Expanding">
  84. <horstretch>0</horstretch>
  85. <verstretch>0</verstretch>
  86. </sizepolicy>
  87. </property>
  88. <property name="font">
  89. <font>
  90. <pointsize>14</pointsize>
  91. </font>
  92. </property>
  93. <property name="autoFillBackground">
  94. <bool>false</bool>
  95. </property>
  96. <property name="styleSheet">
  97. <string notr="true">color: rgb(184, 0, 3);</string>
  98. </property>
  99. <property name="readOnly">
  100. <bool>true</bool>
  101. </property>
  102. <property name="buttonSymbols">
  103. <enum>QAbstractSpinBox::NoButtons</enum>
  104. </property>
  105. </widget>
  106. </item>
  107. <item>
  108. <widget class="QDial" name="dial_h">
  109. <property name="sizePolicy">
  110. <sizepolicy hsizetype="Expanding" vsizetype="Expanding">
  111. <horstretch>0</horstretch>
  112. <verstretch>0</verstretch>
  113. </sizepolicy>
  114. </property>
  115. <property name="autoFillBackground">
  116. <bool>false</bool>
  117. </property>
  118. <property name="styleSheet">
  119. <string notr="true">background-color: rgb(0, 0, 0);</string>
  120. </property>
  121. <property name="maximum">
  122. <number>23</number>
  123. </property>
  124. <property name="wrapping">
  125. <bool>false</bool>
  126. </property>
  127. <property name="notchTarget">
  128. <double>3.699999999999999</double>
  129. </property>
  130. <property name="notchesVisible">
  131. <bool>true</bool>
  132. </property>
  133. </widget>
  134. </item>
  135. <item>
  136. <widget class="QSpinBox" name="spinBox_m">
  137. <property name="sizePolicy">
  138. <sizepolicy hsizetype="Fixed" vsizetype="Expanding">
  139. <horstretch>0</horstretch>
  140. <verstretch>0</verstretch>
  141. </sizepolicy>
  142. </property>
  143. <property name="font">
  144. <font>
  145. <pointsize>14</pointsize>
  146. </font>
  147. </property>
  148. <property name="autoFillBackground">
  149. <bool>false</bool>
  150. </property>
  151. <property name="styleSheet">
  152. <string notr="true">color: rgb(184, 0, 3);</string>
  153. </property>
  154. <property name="readOnly">
  155. <bool>true</bool>
  156. </property>
  157. <property name="buttonSymbols">
  158. <enum>QAbstractSpinBox::NoButtons</enum>
  159. </property>
  160. </widget>
  161. </item>
  162. <item>
  163. <widget class="QDial" name="dial_m">
  164. <property name="sizePolicy">
  165. <sizepolicy hsizetype="Expanding" vsizetype="Expanding">
  166. <horstretch>0</horstretch>
  167. <verstretch>0</verstretch>
  168. </sizepolicy>
  169. </property>
  170. <property name="autoFillBackground">
  171. <bool>false</bool>
  172. </property>
  173. <property name="styleSheet">
  174. <string notr="true">background-color: rgb(0, 0, 0);</string>
  175. </property>
  176. <property name="maximum">
  177. <number>59</number>
  178. </property>
  179. <property name="tracking">
  180. <bool>true</bool>
  181. </property>
  182. <property name="orientation">
  183. <enum>Qt::Horizontal</enum>
  184. </property>
  185. <property name="wrapping">
  186. <bool>false</bool>
  187. </property>
  188. <property name="notchTarget">
  189. <double>3.699999999999999</double>
  190. </property>
  191. <property name="notchesVisible">
  192. <bool>true</bool>
  193. </property>
  194. </widget>
  195. </item>
  196. </layout>
  197. </item>
  198. <item>
  199. <widget class="QTimeEdit" name="timeEdit_result">
  200. <property name="sizePolicy">
  201. <sizepolicy hsizetype="Expanding" vsizetype="Expanding">
  202. <horstretch>0</horstretch>
  203. <verstretch>0</verstretch>
  204. </sizepolicy>
  205. </property>
  206. <property name="font">
  207. <font>
  208. <pointsize>14</pointsize>
  209. </font>
  210. </property>
  211. <property name="autoFillBackground">
  212. <bool>false</bool>
  213. </property>
  214. <property name="styleSheet">
  215. <string notr="true">color: rgb(184, 0, 3);</string>
  216. </property>
  217. <property name="alignment">
  218. <set>Qt::AlignCenter</set>
  219. </property>
  220. <property name="readOnly">
  221. <bool>true</bool>
  222. </property>
  223. <property name="buttonSymbols">
  224. <enum>QAbstractSpinBox::NoButtons</enum>
  225. </property>
  226. <property name="displayFormat">
  227. <string>H:mm</string>
  228. </property>
  229. </widget>
  230. </item>
  231. </layout>
  232. </widget>
  233. </item>
  234. </layout>
  235. </widget>
  236. </widget>
  237. <layoutdefault spacing="6" margin="11"/>
  238. <resources/>
  239. <connections>
  240. <connection>
  241. <sender>dial_h</sender>
  242. <signal>valueChanged(int)</signal>
  243. <receiver>spinBox_h</receiver>
  244. <slot>setValue(int)</slot>
  245. <hints>
  246. <hint type="sourcelabel">
  247. <x>126</x>
  248. <y>319</y>
  249. </hint>
  250. <hint type="destinationlabel">
  251. <x>40</x>
  252. <y>319</y>
  253. </hint>
  254. </hints>
  255. </connection>
  256. <connection>
  257. <sender>dial_m</sender>
  258. <signal>valueChanged(int)</signal>
  259. <receiver>spinBox_m</receiver>
  260. <slot>setValue(int)</slot>
  261. <hints>
  262. <hint type="sourcelabel">
  263. <x>299</x>
  264. <y>319</y>
  265. </hint>
  266. <hint type="destinationlabel">
  267. <x>213</x>
  268. <y>319</y>
  269. </hint>
  270. </hints>
  271. </connection>
  272. </connections>
  273. </ui>