simpletimerqt.ui 5.4 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209
  1. <?xml version="1.0" encoding="UTF-8"?>
  2. <ui version="4.0">
  3. <class>SimpleTimerQt</class>
  4. <widget class="QMainWindow" name="SimpleTimerQt">
  5. <property name="geometry">
  6. <rect>
  7. <x>0</x>
  8. <y>0</y>
  9. <width>400</width>
  10. <height>370</height>
  11. </rect>
  12. </property>
  13. <property name="sizePolicy">
  14. <sizepolicy hsizetype="Fixed" vsizetype="Fixed">
  15. <horstretch>0</horstretch>
  16. <verstretch>0</verstretch>
  17. </sizepolicy>
  18. </property>
  19. <property name="minimumSize">
  20. <size>
  21. <width>400</width>
  22. <height>370</height>
  23. </size>
  24. </property>
  25. <property name="maximumSize">
  26. <size>
  27. <width>400</width>
  28. <height>370</height>
  29. </size>
  30. </property>
  31. <property name="baseSize">
  32. <size>
  33. <width>400</width>
  34. <height>370</height>
  35. </size>
  36. </property>
  37. <property name="windowTitle">
  38. <string>SimpleTimerQt</string>
  39. </property>
  40. <property name="animated">
  41. <bool>false</bool>
  42. </property>
  43. <widget class="QWidget" name="centralwidget">
  44. <property name="sizePolicy">
  45. <sizepolicy hsizetype="Fixed" vsizetype="Fixed">
  46. <horstretch>0</horstretch>
  47. <verstretch>0</verstretch>
  48. </sizepolicy>
  49. </property>
  50. <property name="minimumSize">
  51. <size>
  52. <width>400</width>
  53. <height>350</height>
  54. </size>
  55. </property>
  56. <property name="maximumSize">
  57. <size>
  58. <width>400</width>
  59. <height>350</height>
  60. </size>
  61. </property>
  62. <property name="baseSize">
  63. <size>
  64. <width>400</width>
  65. <height>350</height>
  66. </size>
  67. </property>
  68. <property name="font">
  69. <font/>
  70. </property>
  71. <layout class="QHBoxLayout" name="horizontalLayout">
  72. <item>
  73. <layout class="QVBoxLayout" name="verticalLayout" stretch="0,0,0">
  74. <property name="spacing">
  75. <number>10</number>
  76. </property>
  77. <property name="sizeConstraint">
  78. <enum>QLayout::SetFixedSize</enum>
  79. </property>
  80. <property name="leftMargin">
  81. <number>0</number>
  82. </property>
  83. <property name="topMargin">
  84. <number>0</number>
  85. </property>
  86. <property name="rightMargin">
  87. <number>0</number>
  88. </property>
  89. <property name="bottomMargin">
  90. <number>0</number>
  91. </property>
  92. <item>
  93. <widget class="QLabel" name="timeLabel">
  94. <property name="font">
  95. <font>
  96. <pointsize>24</pointsize>
  97. </font>
  98. </property>
  99. <property name="text">
  100. <string>00:00:00</string>
  101. </property>
  102. <property name="alignment">
  103. <set>Qt::AlignCenter</set>
  104. </property>
  105. </widget>
  106. </item>
  107. <item>
  108. <widget class="QPushButton" name="pushButton">
  109. <property name="sizePolicy">
  110. <sizepolicy hsizetype="Minimum" vsizetype="Fixed">
  111. <horstretch>0</horstretch>
  112. <verstretch>0</verstretch>
  113. </sizepolicy>
  114. </property>
  115. <property name="cursor">
  116. <cursorShape>PointingHandCursor</cursorShape>
  117. </property>
  118. <property name="text">
  119. <string>Start</string>
  120. </property>
  121. </widget>
  122. </item>
  123. <item>
  124. <layout class="QGridLayout" name="gridLayout">
  125. <item row="0" column="1">
  126. <widget class="QLabel" name="labelSetMinute">
  127. <property name="text">
  128. <string>Minutes</string>
  129. </property>
  130. <property name="alignment">
  131. <set>Qt::AlignCenter</set>
  132. </property>
  133. </widget>
  134. </item>
  135. <item row="1" column="1">
  136. <widget class="QLabel" name="labelSetSeconds">
  137. <property name="text">
  138. <string>Seconds</string>
  139. </property>
  140. <property name="alignment">
  141. <set>Qt::AlignCenter</set>
  142. </property>
  143. </widget>
  144. </item>
  145. <item row="0" column="0">
  146. <widget class="QSpinBox" name="spinBoxMinutes">
  147. <property name="maximum">
  148. <number>360</number>
  149. </property>
  150. <property name="value">
  151. <number>5</number>
  152. </property>
  153. </widget>
  154. </item>
  155. <item row="1" column="0">
  156. <widget class="QSpinBox" name="spinBoxSeconds">
  157. <property name="maximum">
  158. <number>0</number>
  159. </property>
  160. <property name="value">
  161. <number>0</number>
  162. </property>
  163. </widget>
  164. </item>
  165. <item row="2" column="0">
  166. <widget class="QSpinBox" name="spinBoxMS">
  167. <property name="value">
  168. <number>0</number>
  169. </property>
  170. </widget>
  171. </item>
  172. <item row="2" column="1">
  173. <widget class="QLabel" name="labelSetMS">
  174. <property name="text">
  175. <string>Miliseconds</string>
  176. </property>
  177. <property name="alignment">
  178. <set>Qt::AlignCenter</set>
  179. </property>
  180. </widget>
  181. </item>
  182. <item row="3" column="1">
  183. <widget class="QPushButton" name="pushButtonSetValues">
  184. <property name="text">
  185. <string>Set values</string>
  186. </property>
  187. </widget>
  188. </item>
  189. </layout>
  190. </item>
  191. </layout>
  192. </item>
  193. </layout>
  194. </widget>
  195. <widget class="QMenuBar" name="menubar">
  196. <property name="geometry">
  197. <rect>
  198. <x>0</x>
  199. <y>0</y>
  200. <width>400</width>
  201. <height>20</height>
  202. </rect>
  203. </property>
  204. </widget>
  205. </widget>
  206. <resources/>
  207. <connections/>
  208. </ui>