logtimewindow.ui 11 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420
  1. <?xml version="1.0" encoding="UTF-8"?>
  2. <ui version="4.0">
  3. <class>LogTimeWindow</class>
  4. <widget class="QScrollArea" name="LogTimeWindow">
  5. <property name="geometry">
  6. <rect>
  7. <x>0</x>
  8. <y>0</y>
  9. <width>366</width>
  10. <height>406</height>
  11. </rect>
  12. </property>
  13. <property name="windowTitle">
  14. <string>ScrollArea</string>
  15. </property>
  16. <property name="widgetResizable">
  17. <bool>true</bool>
  18. </property>
  19. <widget class="QWidget" name="scrollAreaWidgetContents">
  20. <property name="geometry">
  21. <rect>
  22. <x>0</x>
  23. <y>0</y>
  24. <width>364</width>
  25. <height>404</height>
  26. </rect>
  27. </property>
  28. <layout class="QVBoxLayout" name="verticalLayout_2">
  29. <item>
  30. <layout class="QVBoxLayout" name="verticalLayout">
  31. <item>
  32. <layout class="QGridLayout" name="gridLayout_2">
  33. <item row="1" column="0">
  34. <widget class="QLabel" name="untilLabel">
  35. <property name="sizePolicy">
  36. <sizepolicy hsizetype="Minimum" vsizetype="Preferred">
  37. <horstretch>0</horstretch>
  38. <verstretch>0</verstretch>
  39. </sizepolicy>
  40. </property>
  41. <property name="text">
  42. <string>По:</string>
  43. </property>
  44. </widget>
  45. </item>
  46. <item row="0" column="0">
  47. <widget class="QLabel" name="sinceLabel">
  48. <property name="sizePolicy">
  49. <sizepolicy hsizetype="Minimum" vsizetype="Preferred">
  50. <horstretch>0</horstretch>
  51. <verstretch>0</verstretch>
  52. </sizepolicy>
  53. </property>
  54. <property name="text">
  55. <string>C:</string>
  56. </property>
  57. </widget>
  58. </item>
  59. <item row="0" column="1">
  60. <widget class="QTimeEdit" name="sinceInput">
  61. <property name="sizePolicy">
  62. <sizepolicy hsizetype="Expanding" vsizetype="Fixed">
  63. <horstretch>0</horstretch>
  64. <verstretch>0</verstretch>
  65. </sizepolicy>
  66. </property>
  67. <property name="currentSection">
  68. <enum>QDateTimeEdit::HourSection</enum>
  69. </property>
  70. <property name="displayFormat">
  71. <string>hh:mm</string>
  72. </property>
  73. </widget>
  74. </item>
  75. <item row="1" column="1">
  76. <widget class="QTimeEdit" name="untilInput">
  77. <property name="currentSection">
  78. <enum>QDateTimeEdit::HourSection</enum>
  79. </property>
  80. <property name="displayFormat">
  81. <string>hh:mm</string>
  82. </property>
  83. </widget>
  84. </item>
  85. </layout>
  86. </item>
  87. <item>
  88. <widget class="QComboBox" name="project">
  89. <item>
  90. <property name="text">
  91. <string>По всем проектам</string>
  92. </property>
  93. </item>
  94. </widget>
  95. </item>
  96. <item>
  97. <widget class="QTreeWidget" name="issue">
  98. <property name="columnCount">
  99. <number>2</number>
  100. </property>
  101. <column>
  102. <property name="text">
  103. <string>№</string>
  104. </property>
  105. <property name="foreground">
  106. <brush brushstyle="NoBrush">
  107. <color alpha="255">
  108. <red>111</red>
  109. <green>111</green>
  110. <blue>111</blue>
  111. </color>
  112. </brush>
  113. </property>
  114. </column>
  115. <column>
  116. <property name="text">
  117. <string>Задача</string>
  118. </property>
  119. </column>
  120. <item>
  121. <property name="text">
  122. <string>0</string>
  123. </property>
  124. <property name="font">
  125. <font>
  126. <weight>50</weight>
  127. <bold>false</bold>
  128. </font>
  129. </property>
  130. <property name="foreground">
  131. <brush brushstyle="NoBrush">
  132. <color alpha="255">
  133. <red>121</red>
  134. <green>121</green>
  135. <blue>121</blue>
  136. </color>
  137. </brush>
  138. </property>
  139. <property name="text">
  140. <string>Другое</string>
  141. </property>
  142. <property name="font">
  143. <font>
  144. <weight>75</weight>
  145. <bold>true</bold>
  146. </font>
  147. </property>
  148. </item>
  149. </widget>
  150. </item>
  151. <item>
  152. <widget class="QComboBox" name="activityType">
  153. <property name="editable">
  154. <bool>false</bool>
  155. </property>
  156. <property name="currentText">
  157. <string>Разработка</string>
  158. </property>
  159. <property name="currentIndex">
  160. <number>1</number>
  161. </property>
  162. <item>
  163. <property name="text">
  164. <string>Проектирование</string>
  165. </property>
  166. </item>
  167. <item>
  168. <property name="text">
  169. <string>Разработка</string>
  170. </property>
  171. </item>
  172. <item>
  173. <property name="text">
  174. <string>Отчётность</string>
  175. </property>
  176. </item>
  177. </widget>
  178. </item>
  179. <item>
  180. <widget class="MyQLineEdit" name="comment">
  181. <property name="placeholderText">
  182. <string>Комментарий</string>
  183. </property>
  184. </widget>
  185. </item>
  186. <item>
  187. <layout class="QHBoxLayout" name="horizontalLayout">
  188. <item>
  189. <widget class="QPushButton" name="cancel">
  190. <property name="sizePolicy">
  191. <sizepolicy hsizetype="Minimum" vsizetype="Preferred">
  192. <horstretch>0</horstretch>
  193. <verstretch>0</verstretch>
  194. </sizepolicy>
  195. </property>
  196. <property name="minimumSize">
  197. <size>
  198. <width>0</width>
  199. <height>0</height>
  200. </size>
  201. </property>
  202. <property name="text">
  203. <string>Отменить</string>
  204. </property>
  205. </widget>
  206. </item>
  207. <item>
  208. <widget class="QPushButton" name="refresh">
  209. <property name="maximumSize">
  210. <size>
  211. <width>40</width>
  212. <height>16777215</height>
  213. </size>
  214. </property>
  215. <property name="font">
  216. <font>
  217. <pointsize>18</pointsize>
  218. </font>
  219. </property>
  220. <property name="text">
  221. <string>⟳</string>
  222. </property>
  223. </widget>
  224. </item>
  225. <item>
  226. <widget class="QPushButton" name="accept">
  227. <property name="sizePolicy">
  228. <sizepolicy hsizetype="Expanding" vsizetype="Fixed">
  229. <horstretch>0</horstretch>
  230. <verstretch>0</verstretch>
  231. </sizepolicy>
  232. </property>
  233. <property name="minimumSize">
  234. <size>
  235. <width>0</width>
  236. <height>36</height>
  237. </size>
  238. </property>
  239. <property name="text">
  240. <string>Подтвердить</string>
  241. </property>
  242. </widget>
  243. </item>
  244. </layout>
  245. </item>
  246. </layout>
  247. </item>
  248. <item>
  249. <widget class="QLabel" name="continousLogging">
  250. <property name="minimumSize">
  251. <size>
  252. <width>0</width>
  253. <height>25</height>
  254. </size>
  255. </property>
  256. <property name="text">
  257. <string>Непрерывное журналирование:</string>
  258. </property>
  259. <property name="alignment">
  260. <set>Qt::AlignBottom|Qt::AlignLeading|Qt::AlignLeft</set>
  261. </property>
  262. </widget>
  263. </item>
  264. <item>
  265. <widget class="QPushButton" name="continousLoggingStartButton">
  266. <property name="minimumSize">
  267. <size>
  268. <width>0</width>
  269. <height>50</height>
  270. </size>
  271. </property>
  272. <property name="palette">
  273. <palette>
  274. <active>
  275. <colorrole role="Button">
  276. <brush brushstyle="SolidPattern">
  277. <color alpha="255">
  278. <red>91</red>
  279. <green>239</green>
  280. <blue>101</blue>
  281. </color>
  282. </brush>
  283. </colorrole>
  284. <colorrole role="Light">
  285. <brush brushstyle="SolidPattern">
  286. <color alpha="255">
  287. <red>255</red>
  288. <green>255</green>
  289. <blue>255</blue>
  290. </color>
  291. </brush>
  292. </colorrole>
  293. </active>
  294. <inactive>
  295. <colorrole role="Button">
  296. <brush brushstyle="SolidPattern">
  297. <color alpha="255">
  298. <red>91</red>
  299. <green>239</green>
  300. <blue>101</blue>
  301. </color>
  302. </brush>
  303. </colorrole>
  304. <colorrole role="Light">
  305. <brush brushstyle="SolidPattern">
  306. <color alpha="255">
  307. <red>255</red>
  308. <green>255</green>
  309. <blue>255</blue>
  310. </color>
  311. </brush>
  312. </colorrole>
  313. </inactive>
  314. <disabled>
  315. <colorrole role="Button">
  316. <brush brushstyle="SolidPattern">
  317. <color alpha="255">
  318. <red>91</red>
  319. <green>239</green>
  320. <blue>101</blue>
  321. </color>
  322. </brush>
  323. </colorrole>
  324. <colorrole role="Light">
  325. <brush brushstyle="SolidPattern">
  326. <color alpha="255">
  327. <red>255</red>
  328. <green>255</green>
  329. <blue>255</blue>
  330. </color>
  331. </brush>
  332. </colorrole>
  333. </disabled>
  334. </palette>
  335. </property>
  336. <property name="font">
  337. <font>
  338. <pointsize>18</pointsize>
  339. </font>
  340. </property>
  341. <property name="autoFillBackground">
  342. <bool>false</bool>
  343. </property>
  344. <property name="text">
  345. <string>Начал работу!</string>
  346. </property>
  347. </widget>
  348. </item>
  349. <item>
  350. <widget class="QPushButton" name="continousLoggingStopButton">
  351. <property name="enabled">
  352. <bool>false</bool>
  353. </property>
  354. <property name="minimumSize">
  355. <size>
  356. <width>0</width>
  357. <height>50</height>
  358. </size>
  359. </property>
  360. <property name="palette">
  361. <palette>
  362. <active>
  363. <colorrole role="Button">
  364. <brush brushstyle="SolidPattern">
  365. <color alpha="255">
  366. <red>239</red>
  367. <green>161</green>
  368. <blue>163</blue>
  369. </color>
  370. </brush>
  371. </colorrole>
  372. </active>
  373. <inactive>
  374. <colorrole role="Button">
  375. <brush brushstyle="SolidPattern">
  376. <color alpha="255">
  377. <red>239</red>
  378. <green>161</green>
  379. <blue>163</blue>
  380. </color>
  381. </brush>
  382. </colorrole>
  383. </inactive>
  384. <disabled>
  385. <colorrole role="Button">
  386. <brush brushstyle="SolidPattern">
  387. <color alpha="255">
  388. <red>239</red>
  389. <green>161</green>
  390. <blue>163</blue>
  391. </color>
  392. </brush>
  393. </colorrole>
  394. </disabled>
  395. </palette>
  396. </property>
  397. <property name="font">
  398. <font>
  399. <pointsize>18</pointsize>
  400. </font>
  401. </property>
  402. <property name="text">
  403. <string>Приостановил работу</string>
  404. </property>
  405. </widget>
  406. </item>
  407. </layout>
  408. </widget>
  409. </widget>
  410. <customwidgets>
  411. <customwidget>
  412. <class>MyQLineEdit</class>
  413. <extends>QLineEdit</extends>
  414. <header>myqlineedit.h</header>
  415. </customwidget>
  416. </customwidgets>
  417. <resources/>
  418. <connections/>
  419. </ui>