statuswidget.ui 28 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061626364656667686970717273747576777879808182838485868788899091929394959697989910010110210310410510610710810911011111211311411511611711811912012112212312412512612712812913013113213313413513613713813914014114214314414514614714814915015115215315415515615715815916016116216316416516616716816917017117217317417517617717817918018118218318418518618718818919019119219319419519619719819920020120220320420520620720820921021121221321421521621721821922022122222322422522622722822923023123223323423523623723823924024124224324424524624724824925025125225325425525625725825926026126226326426526626726826927027127227327427527627727827928028128228328428528628728828929029129229329429529629729829930030130230330430530630730830931031131231331431531631731831932032132232332432532632732832933033133233333433533633733833934034134234334434534634734834935035135235335435535635735835936036136236336436536636736836937037137237337437537637737837938038138238338438538638738838939039139239339439539639739839940040140240340440540640740840941041141241341441541641741841942042142242342442542642742842943043143243343443543643743843944044144244344444544644744844945045145245345445545645745845946046146246346446546646746846947047147247347447547647747847948048148248348448548648748848949049149249349449549649749849950050150250350450550650750850951051151251351451551651751851952052152252352452552652752852953053153253353453553653753853954054154254354454554654754854955055155255355455555655755855956056156256356456556656756856957057157257357457557657757857958058158258358458558658758858959059159259359459559659759859960060160260360460560660760860961061161261361461561661761861962062162262362462562662762862963063163263363463563663763863964064164264364464564664764864965065165265365465565665765865966066166266366466566666766866967067167267367467567667767867968068168268368468568668768868969069169269369469569669769869970070170270370470570670770870971071171271371471571671771871972072172272372472572672772872973073173273373473573673773873974074174274374474574674774874975075175275375475575675775875976076176276376476576676776876977077177277377477577677777877978078178278378478578678778878979079179279379479579679779879980080180280380480580680780880981081181281381481581681781881982082182282382482582682782882983083183283383483583683783883984084184284384484584684784884985085185285385485585685785885986086186286386486586686786886987087187287387487587687787887988088188288388488588688788888989089189289389489589689789889990090190290390490590690790890991091191291391491591691791891992092192292392492592692792892993093193293393493593693793893994094194294394494594694794894995095195295395495595695795895996096196296396496596696796896997097197297397497597697797897998098198298398498598698798898999099199299399499599699799899910001001100210031004100510061007100810091010101110121013101410151016101710181019102010211022102310241025102610271028102910301031103210331034103510361037
  1. <?xml version="1.0" encoding="UTF-8"?>
  2. <ui version="4.0">
  3. <class>StatusWidget</class>
  4. <widget class="QWidget" name="StatusWidget">
  5. <property name="geometry">
  6. <rect>
  7. <x>0</x>
  8. <y>0</y>
  9. <width>892</width>
  10. <height>1132</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>Form</string>
  21. </property>
  22. <property name="styleSheet">
  23. <string notr="true">QLabel {
  24. color: white;
  25. }</string>
  26. </property>
  27. <layout class="QGridLayout" name="gridLayout_4">
  28. <property name="leftMargin">
  29. <number>0</number>
  30. </property>
  31. <property name="topMargin">
  32. <number>0</number>
  33. </property>
  34. <property name="rightMargin">
  35. <number>0</number>
  36. </property>
  37. <property name="bottomMargin">
  38. <number>0</number>
  39. </property>
  40. <property name="spacing">
  41. <number>0</number>
  42. </property>
  43. <item row="0" column="0">
  44. <spacer name="verticalSpacer">
  45. <property name="orientation">
  46. <enum>Qt::Vertical</enum>
  47. </property>
  48. <property name="sizeType">
  49. <enum>QSizePolicy::Fixed</enum>
  50. </property>
  51. <property name="sizeHint" stdset="0">
  52. <size>
  53. <width>20</width>
  54. <height>30</height>
  55. </size>
  56. </property>
  57. </spacer>
  58. </item>
  59. <item row="1" column="0">
  60. <widget class="WeeklyCodeWidget" name="weekly_code">
  61. <property name="minimumSize">
  62. <size>
  63. <width>130</width>
  64. <height>130</height>
  65. </size>
  66. </property>
  67. <property name="maximumSize">
  68. <size>
  69. <width>130</width>
  70. <height>130</height>
  71. </size>
  72. </property>
  73. <property name="font">
  74. <font>
  75. <family>Trajan Pro 3</family>
  76. <pointsize>12</pointsize>
  77. <weight>50</weight>
  78. <bold>false</bold>
  79. </font>
  80. </property>
  81. <property name="cursor">
  82. <cursorShape>PointingHandCursor</cursorShape>
  83. </property>
  84. <property name="styleSheet">
  85. <string notr="true">color: rgb(255, 180, 0);</string>
  86. </property>
  87. <property name="text">
  88. <string>Загрузка...</string>
  89. </property>
  90. <property name="alignment">
  91. <set>Qt::AlignCenter</set>
  92. </property>
  93. </widget>
  94. </item>
  95. <item row="0" column="3">
  96. <spacer name="verticalSpacer_3">
  97. <property name="orientation">
  98. <enum>Qt::Vertical</enum>
  99. </property>
  100. <property name="sizeType">
  101. <enum>QSizePolicy::Fixed</enum>
  102. </property>
  103. <property name="sizeHint" stdset="0">
  104. <size>
  105. <width>20</width>
  106. <height>30</height>
  107. </size>
  108. </property>
  109. </spacer>
  110. </item>
  111. <item row="2" column="0" rowspan="2">
  112. <widget class="StatusFlagWidget" name="server_status_flag" native="true">
  113. <property name="minimumSize">
  114. <size>
  115. <width>124</width>
  116. <height>276</height>
  117. </size>
  118. </property>
  119. <property name="maximumSize">
  120. <size>
  121. <width>124</width>
  122. <height>276</height>
  123. </size>
  124. </property>
  125. <property name="cursor">
  126. <cursorShape>PointingHandCursor</cursorShape>
  127. </property>
  128. </widget>
  129. </item>
  130. <item row="1" column="3" rowspan="3">
  131. <widget class="QWidget" name="button_list" native="true">
  132. <property name="sizePolicy">
  133. <sizepolicy hsizetype="Preferred" vsizetype="Preferred">
  134. <horstretch>0</horstretch>
  135. <verstretch>0</verstretch>
  136. </sizepolicy>
  137. </property>
  138. <property name="minimumSize">
  139. <size>
  140. <width>0</width>
  141. <height>0</height>
  142. </size>
  143. </property>
  144. <property name="maximumSize">
  145. <size>
  146. <width>150</width>
  147. <height>16777215</height>
  148. </size>
  149. </property>
  150. <layout class="QVBoxLayout" name="verticalLayout_5">
  151. <property name="spacing">
  152. <number>6</number>
  153. </property>
  154. <property name="leftMargin">
  155. <number>0</number>
  156. </property>
  157. <property name="topMargin">
  158. <number>0</number>
  159. </property>
  160. <property name="rightMargin">
  161. <number>0</number>
  162. </property>
  163. <property name="bottomMargin">
  164. <number>0</number>
  165. </property>
  166. <item>
  167. <widget class="QPushButton" name="site_link_button">
  168. <property name="sizePolicy">
  169. <sizepolicy hsizetype="Minimum" vsizetype="Fixed">
  170. <horstretch>0</horstretch>
  171. <verstretch>0</verstretch>
  172. </sizepolicy>
  173. </property>
  174. <property name="minimumSize">
  175. <size>
  176. <width>0</width>
  177. <height>20</height>
  178. </size>
  179. </property>
  180. <property name="font">
  181. <font>
  182. <family>Trajan Pro 3</family>
  183. <pointsize>7</pointsize>
  184. <weight>50</weight>
  185. <bold>false</bold>
  186. </font>
  187. </property>
  188. <property name="mouseTracking">
  189. <bool>true</bool>
  190. </property>
  191. <property name="styleSheet">
  192. <string notr="true">QPushButton{
  193. border: 1px solid silver;
  194. border-radius: 7px;
  195. background-color: rgba(30, 0, 0, 220);
  196. color: white;
  197. }
  198. QPushButton:hover{
  199. border: 1px solid silver;
  200. border-radius: 7px;
  201. color: white;
  202. background-color: rgba(60, 25, 25, 220);
  203. }
  204. QPushButton:pressed{
  205. border: 1px solid silver;
  206. border-radius: 7px;
  207. background-color: rgba(10, 0, 0, 220);
  208. color: white;
  209. }</string>
  210. </property>
  211. <property name="text">
  212. <string>Сайт</string>
  213. </property>
  214. <property name="flat">
  215. <bool>false</bool>
  216. </property>
  217. </widget>
  218. </item>
  219. <item>
  220. <widget class="QPushButton" name="forum_link_button">
  221. <property name="minimumSize">
  222. <size>
  223. <width>0</width>
  224. <height>20</height>
  225. </size>
  226. </property>
  227. <property name="font">
  228. <font>
  229. <family>Trajan Pro 3</family>
  230. <pointsize>7</pointsize>
  231. <weight>50</weight>
  232. <bold>false</bold>
  233. </font>
  234. </property>
  235. <property name="mouseTracking">
  236. <bool>true</bool>
  237. </property>
  238. <property name="styleSheet">
  239. <string notr="true">QPushButton{
  240. border: 1px solid silver;
  241. border-radius: 7px;
  242. background-color: rgba(30, 0, 0, 220);
  243. color: white;
  244. }
  245. QPushButton:hover{
  246. border: 1px solid silver;
  247. border-radius: 7px;
  248. color: white;
  249. background-color: rgba(60, 25, 25, 220);
  250. }
  251. QPushButton:pressed{
  252. border: 1px solid silver;
  253. border-radius: 7px;
  254. background-color: rgba(10, 0, 0, 220);
  255. color: white;
  256. }</string>
  257. </property>
  258. <property name="text">
  259. <string>Форум</string>
  260. </property>
  261. </widget>
  262. </item>
  263. <item>
  264. <widget class="QPushButton" name="guides_link_button">
  265. <property name="minimumSize">
  266. <size>
  267. <width>0</width>
  268. <height>20</height>
  269. </size>
  270. </property>
  271. <property name="font">
  272. <font>
  273. <family>Trajan Pro 3</family>
  274. <pointsize>7</pointsize>
  275. <weight>50</weight>
  276. <bold>false</bold>
  277. </font>
  278. </property>
  279. <property name="mouseTracking">
  280. <bool>true</bool>
  281. </property>
  282. <property name="styleSheet">
  283. <string notr="true">QPushButton{
  284. border: 1px solid silver;
  285. border-radius: 7px;
  286. background-color: rgba(30, 0, 0, 220);
  287. color: white;
  288. }
  289. QPushButton:hover{
  290. border: 1px solid silver;
  291. border-radius: 7px;
  292. color: white;
  293. background-color: rgba(60, 25, 25, 220);
  294. }
  295. QPushButton:pressed{
  296. border: 1px solid silver;
  297. border-radius: 7px;
  298. background-color: rgba(10, 0, 0, 220);
  299. color: white;
  300. }</string>
  301. </property>
  302. <property name="text">
  303. <string>Гайды</string>
  304. </property>
  305. </widget>
  306. </item>
  307. <item>
  308. <widget class="QPushButton" name="addons_link_button">
  309. <property name="minimumSize">
  310. <size>
  311. <width>0</width>
  312. <height>20</height>
  313. </size>
  314. </property>
  315. <property name="font">
  316. <font>
  317. <family>Trajan Pro 3</family>
  318. <pointsize>7</pointsize>
  319. <weight>50</weight>
  320. <bold>false</bold>
  321. </font>
  322. </property>
  323. <property name="mouseTracking">
  324. <bool>true</bool>
  325. </property>
  326. <property name="styleSheet">
  327. <string notr="true">QPushButton{
  328. border: 1px solid silver;
  329. border-radius: 7px;
  330. background-color: rgba(30, 0, 0, 220);
  331. color: white;
  332. }
  333. QPushButton:hover{
  334. border: 1px solid silver;
  335. border-radius: 7px;
  336. color: white;
  337. background-color: rgba(60, 25, 25, 220);
  338. }
  339. QPushButton:pressed{
  340. border: 1px solid silver;
  341. border-radius: 7px;
  342. background-color: rgba(10, 0, 0, 220);
  343. color: white;
  344. }</string>
  345. </property>
  346. <property name="text">
  347. <string>Дополнения</string>
  348. </property>
  349. </widget>
  350. </item>
  351. <item>
  352. <widget class="QPushButton" name="bugreport_link_button">
  353. <property name="minimumSize">
  354. <size>
  355. <width>0</width>
  356. <height>40</height>
  357. </size>
  358. </property>
  359. <property name="font">
  360. <font>
  361. <family>Trajan Pro 3</family>
  362. <pointsize>7</pointsize>
  363. <weight>50</weight>
  364. <bold>false</bold>
  365. </font>
  366. </property>
  367. <property name="mouseTracking">
  368. <bool>true</bool>
  369. </property>
  370. <property name="styleSheet">
  371. <string notr="true">QPushButton{
  372. border: 1px solid silver;
  373. border-radius: 7px;
  374. background-color: rgba(30, 0, 0, 220);
  375. color: white;
  376. }
  377. QPushButton:hover{
  378. border: 1px solid silver;
  379. border-radius: 7px;
  380. color: white;
  381. background-color: rgba(60, 25, 25, 220);
  382. }
  383. QPushButton:pressed{
  384. border: 1px solid silver;
  385. border-radius: 7px;
  386. background-color: rgba(10, 0, 0, 220);
  387. color: white;
  388. }</string>
  389. </property>
  390. <property name="text">
  391. <string>Сообщить
  392. об ошибке</string>
  393. </property>
  394. </widget>
  395. </item>
  396. <item>
  397. <widget class="QPushButton" name="donate_link_button">
  398. <property name="minimumSize">
  399. <size>
  400. <width>0</width>
  401. <height>20</height>
  402. </size>
  403. </property>
  404. <property name="font">
  405. <font>
  406. <family>Trajan Pro 3</family>
  407. <pointsize>7</pointsize>
  408. <weight>50</weight>
  409. <bold>false</bold>
  410. <stylestrategy>PreferDefault</stylestrategy>
  411. <kerning>true</kerning>
  412. </font>
  413. </property>
  414. <property name="mouseTracking">
  415. <bool>true</bool>
  416. </property>
  417. <property name="styleSheet">
  418. <string notr="true">QPushButton{
  419. border: 1px solid silver;
  420. border-radius: 7px;
  421. background-color: rgba(30, 0, 0, 220);
  422. color: white;
  423. }
  424. QPushButton:hover{
  425. border: 1px solid silver;
  426. border-radius: 7px;
  427. color: white;
  428. background-color: rgba(60, 25, 25, 220);
  429. }
  430. QPushButton:pressed{
  431. border: 1px solid silver;
  432. border-radius: 7px;
  433. background-color: rgba(10, 0, 0, 220);
  434. color: white;
  435. }</string>
  436. </property>
  437. <property name="text">
  438. <string>Поддержать проект</string>
  439. </property>
  440. </widget>
  441. </item>
  442. <item>
  443. <spacer name="verticalSpacer_2">
  444. <property name="orientation">
  445. <enum>Qt::Vertical</enum>
  446. </property>
  447. <property name="sizeHint" stdset="0">
  448. <size>
  449. <width>20</width>
  450. <height>40</height>
  451. </size>
  452. </property>
  453. </spacer>
  454. </item>
  455. <item>
  456. <widget class="TooltipLabel" name="tooltip" native="true">
  457. <property name="sizePolicy">
  458. <sizepolicy hsizetype="Expanding" vsizetype="Preferred">
  459. <horstretch>0</horstretch>
  460. <verstretch>0</verstretch>
  461. </sizepolicy>
  462. </property>
  463. </widget>
  464. </item>
  465. <item>
  466. <spacer name="verticalSpacer_4">
  467. <property name="orientation">
  468. <enum>Qt::Vertical</enum>
  469. </property>
  470. <property name="sizeHint" stdset="0">
  471. <size>
  472. <width>20</width>
  473. <height>40</height>
  474. </size>
  475. </property>
  476. </spacer>
  477. </item>
  478. <item>
  479. <widget class="QPushButton" name="game_button">
  480. <property name="sizePolicy">
  481. <sizepolicy hsizetype="Preferred" vsizetype="Preferred">
  482. <horstretch>0</horstretch>
  483. <verstretch>0</verstretch>
  484. </sizepolicy>
  485. </property>
  486. <property name="minimumSize">
  487. <size>
  488. <width>150</width>
  489. <height>60</height>
  490. </size>
  491. </property>
  492. <property name="maximumSize">
  493. <size>
  494. <width>150</width>
  495. <height>60</height>
  496. </size>
  497. </property>
  498. <property name="font">
  499. <font>
  500. <family>Trajan Pro 3</family>
  501. <pointsize>9</pointsize>
  502. <weight>75</weight>
  503. <bold>true</bold>
  504. </font>
  505. </property>
  506. <property name="autoFillBackground">
  507. <bool>false</bool>
  508. </property>
  509. <property name="styleSheet">
  510. <string notr="true">QPushButton#game_button {
  511. color: white;
  512. border-image: url(:/buttons/button_big_normal.png);
  513. }
  514. QPushButton#game_button:hover {
  515. color: white;
  516. border-image: url(:/buttons/button_big_over.png);
  517. }
  518. QPushButton#game_button:pressed {
  519. color: white;
  520. border-image: url(:/buttons/button_big_pressed.png);
  521. }
  522. </string>
  523. </property>
  524. <property name="text">
  525. <string notr="true"> ИГРАТЬ </string>
  526. </property>
  527. <property name="iconSize">
  528. <size>
  529. <width>0</width>
  530. <height>0</height>
  531. </size>
  532. </property>
  533. <property name="default">
  534. <bool>false</bool>
  535. </property>
  536. <property name="flat">
  537. <bool>true</bool>
  538. </property>
  539. </widget>
  540. </item>
  541. </layout>
  542. </widget>
  543. </item>
  544. <item row="0" column="1" rowspan="4" colspan="2">
  545. <widget class="QWidget" name="central_widget" native="true">
  546. <property name="sizePolicy">
  547. <sizepolicy hsizetype="Expanding" vsizetype="Expanding">
  548. <horstretch>0</horstretch>
  549. <verstretch>0</verstretch>
  550. </sizepolicy>
  551. </property>
  552. <layout class="QVBoxLayout" name="verticalLayout">
  553. <property name="leftMargin">
  554. <number>0</number>
  555. </property>
  556. <property name="topMargin">
  557. <number>0</number>
  558. </property>
  559. <property name="rightMargin">
  560. <number>0</number>
  561. </property>
  562. <property name="bottomMargin">
  563. <number>11</number>
  564. </property>
  565. <item>
  566. <widget class="QWidget" name="announcements_widget" native="true">
  567. <property name="enabled">
  568. <bool>true</bool>
  569. </property>
  570. <layout class="QVBoxLayout" name="verticalLayout_2">
  571. <property name="leftMargin">
  572. <number>11</number>
  573. </property>
  574. <property name="topMargin">
  575. <number>11</number>
  576. </property>
  577. <property name="rightMargin">
  578. <number>11</number>
  579. </property>
  580. <property name="bottomMargin">
  581. <number>11</number>
  582. </property>
  583. <item>
  584. <widget class="QLabel" name="announcements_title">
  585. <property name="sizePolicy">
  586. <sizepolicy hsizetype="Preferred" vsizetype="Fixed">
  587. <horstretch>0</horstretch>
  588. <verstretch>0</verstretch>
  589. </sizepolicy>
  590. </property>
  591. <property name="font">
  592. <font>
  593. <family>Trajan Pro 3</family>
  594. <pointsize>10</pointsize>
  595. <weight>50</weight>
  596. <bold>false</bold>
  597. <kerning>true</kerning>
  598. </font>
  599. </property>
  600. <property name="styleSheet">
  601. <string notr="true">color:white;</string>
  602. </property>
  603. <property name="text">
  604. <string>Новости проекта</string>
  605. </property>
  606. <property name="alignment">
  607. <set>Qt::AlignCenter</set>
  608. </property>
  609. </widget>
  610. </item>
  611. <item>
  612. <widget class="QScrollArea" name="announcements_scroll_list">
  613. <property name="sizePolicy">
  614. <sizepolicy hsizetype="Expanding" vsizetype="Expanding">
  615. <horstretch>0</horstretch>
  616. <verstretch>0</verstretch>
  617. </sizepolicy>
  618. </property>
  619. <property name="styleSheet">
  620. <string notr="true">QScrollArea{
  621. background: transparent;
  622. border: 0px solid grey;
  623. border-radius: 20px;
  624. }
  625. QScrollArea &gt; QWidget &gt; QWidget { background: transparent; }
  626. QScrollBar:vertical {
  627. border: 0px solid grey;
  628. background: transparent;
  629. width: 10px;
  630. margin: 22px 0 22px 0;
  631. }
  632. QScrollBar::handle:vertical {
  633. background-color: rgba(129, 129, 129, 150);
  634. min-height: 10px;
  635. border-radius: 5px;
  636. }
  637. QScrollBar::add-line:vertical {
  638. border: 0px solid grey;
  639. background: transparent;
  640. height: 1px;
  641. subcontrol-position: bottom;
  642. subcontrol-origin: margin;
  643. }
  644. QScrollBar::sub-line:vertical {
  645. border: 0px solid grey;
  646. background: transparent;
  647. height: 1px;
  648. subcontrol-position: top;
  649. subcontrol-origin: margin;
  650. }
  651. QScrollBar::up-arrow:vertical, QScrollBar::down-arrow:vertical {
  652. border: 0px;
  653. width: 3px;
  654. height: 3px;
  655. background: transparent;
  656. }
  657. QScrollBar::add-page:vertical, QScrollBar::sub-page:vertical {
  658. background: none;
  659. }</string>
  660. </property>
  661. <property name="sizeAdjustPolicy">
  662. <enum>QAbstractScrollArea::AdjustIgnored</enum>
  663. </property>
  664. <property name="widgetResizable">
  665. <bool>true</bool>
  666. </property>
  667. <property name="alignment">
  668. <set>Qt::AlignLeading|Qt::AlignLeft|Qt::AlignTop</set>
  669. </property>
  670. <widget class="NewsListWidget" name="announcements_list">
  671. <property name="geometry">
  672. <rect>
  673. <x>0</x>
  674. <y>0</y>
  675. <width>590</width>
  676. <height>471</height>
  677. </rect>
  678. </property>
  679. <property name="sizePolicy">
  680. <sizepolicy hsizetype="Expanding" vsizetype="Ignored">
  681. <horstretch>0</horstretch>
  682. <verstretch>0</verstretch>
  683. </sizepolicy>
  684. </property>
  685. </widget>
  686. </widget>
  687. </item>
  688. </layout>
  689. </widget>
  690. </item>
  691. <item>
  692. <widget class="QWidget" name="status_widget" native="true">
  693. <property name="sizePolicy">
  694. <sizepolicy hsizetype="Expanding" vsizetype="Expanding">
  695. <horstretch>0</horstretch>
  696. <verstretch>0</verstretch>
  697. </sizepolicy>
  698. </property>
  699. <property name="minimumSize">
  700. <size>
  701. <width>0</width>
  702. <height>0</height>
  703. </size>
  704. </property>
  705. <layout class="QVBoxLayout" name="verticalLayout_4">
  706. <property name="leftMargin">
  707. <number>11</number>
  708. </property>
  709. <property name="topMargin">
  710. <number>11</number>
  711. </property>
  712. <property name="rightMargin">
  713. <number>11</number>
  714. </property>
  715. <property name="bottomMargin">
  716. <number>11</number>
  717. </property>
  718. <item>
  719. <widget class="QScrollArea" name="status_scroll_list">
  720. <property name="sizePolicy">
  721. <sizepolicy hsizetype="Expanding" vsizetype="Expanding">
  722. <horstretch>0</horstretch>
  723. <verstretch>0</verstretch>
  724. </sizepolicy>
  725. </property>
  726. <property name="styleSheet">
  727. <string notr="true">QScrollArea{
  728. background: transparent;
  729. border: 0px solid grey;
  730. border-radius: 20px;
  731. }
  732. QScrollArea &gt; QWidget &gt; QWidget { background: transparent; }
  733. QScrollBar:vertical {
  734. border: 0px solid grey;
  735. background: transparent;
  736. width: 10px;
  737. margin: 22px 0 22px 0;
  738. }
  739. QScrollBar::handle:vertical {
  740. background-color: rgba(129, 129, 129, 150);
  741. min-height: 10px;
  742. border-radius: 5px;
  743. }
  744. QScrollBar::add-line:vertical {
  745. border: 0px solid grey;
  746. background: transparent;
  747. height: 1px;
  748. subcontrol-position: bottom;
  749. subcontrol-origin: margin;
  750. }
  751. QScrollBar::sub-line:vertical {
  752. border: 0px solid grey;
  753. background: transparent;
  754. height: 1px;
  755. subcontrol-position: top;
  756. subcontrol-origin: margin;
  757. }
  758. QScrollBar::up-arrow:vertical, QScrollBar::down-arrow:vertical {
  759. border: 0px;
  760. width: 3px;
  761. height: 3px;
  762. background: transparent;
  763. }
  764. QScrollBar::add-page:vertical, QScrollBar::sub-page:vertical {
  765. background: none;
  766. }</string>
  767. </property>
  768. <property name="sizeAdjustPolicy">
  769. <enum>QAbstractScrollArea::AdjustIgnored</enum>
  770. </property>
  771. <property name="widgetResizable">
  772. <bool>true</bool>
  773. </property>
  774. <property name="alignment">
  775. <set>Qt::AlignLeading|Qt::AlignLeft|Qt::AlignTop</set>
  776. </property>
  777. <widget class="QWidget" name="status_scroll_contents">
  778. <property name="geometry">
  779. <rect>
  780. <x>0</x>
  781. <y>0</y>
  782. <width>590</width>
  783. <height>502</height>
  784. </rect>
  785. </property>
  786. <property name="sizePolicy">
  787. <sizepolicy hsizetype="Expanding" vsizetype="Ignored">
  788. <horstretch>0</horstretch>
  789. <verstretch>0</verstretch>
  790. </sizepolicy>
  791. </property>
  792. <layout class="QVBoxLayout" name="verticalLayout_3">
  793. <property name="leftMargin">
  794. <number>0</number>
  795. </property>
  796. <property name="topMargin">
  797. <number>0</number>
  798. </property>
  799. <property name="rightMargin">
  800. <number>0</number>
  801. </property>
  802. <property name="bottomMargin">
  803. <number>0</number>
  804. </property>
  805. <item>
  806. <widget class="QLabel" name="status_title">
  807. <property name="sizePolicy">
  808. <sizepolicy hsizetype="Preferred" vsizetype="Fixed">
  809. <horstretch>0</horstretch>
  810. <verstretch>0</verstretch>
  811. </sizepolicy>
  812. </property>
  813. <property name="font">
  814. <font>
  815. <family>Trajan Pro 3</family>
  816. <pointsize>10</pointsize>
  817. <weight>50</weight>
  818. <bold>false</bold>
  819. <kerning>true</kerning>
  820. </font>
  821. </property>
  822. <property name="styleSheet">
  823. <string notr="true">color:white;</string>
  824. </property>
  825. <property name="text">
  826. <string>Ближайшее событие</string>
  827. </property>
  828. <property name="alignment">
  829. <set>Qt::AlignCenter</set>
  830. </property>
  831. </widget>
  832. </item>
  833. <item>
  834. <widget class="EventsListWidget" name="events_widget" native="true"/>
  835. </item>
  836. <item>
  837. <widget class="QWidget" name="recommended_instance_widget_2" native="true">
  838. <layout class="QGridLayout" name="gridLayout">
  839. <item row="1" column="0" colspan="2">
  840. <widget class="ServerStatusWidget" name="server_status_widget" native="true"/>
  841. </item>
  842. <item row="0" column="0" colspan="2">
  843. <widget class="QLabel" name="status_title_2">
  844. <property name="sizePolicy">
  845. <sizepolicy hsizetype="Preferred" vsizetype="Fixed">
  846. <horstretch>0</horstretch>
  847. <verstretch>0</verstretch>
  848. </sizepolicy>
  849. </property>
  850. <property name="font">
  851. <font>
  852. <family>Trajan Pro 3</family>
  853. <pointsize>10</pointsize>
  854. <weight>50</weight>
  855. <bold>false</bold>
  856. <kerning>true</kerning>
  857. </font>
  858. </property>
  859. <property name="styleSheet">
  860. <string notr="true">color:white;</string>
  861. </property>
  862. <property name="text">
  863. <string>Статус серверов</string>
  864. </property>
  865. <property name="alignment">
  866. <set>Qt::AlignCenter</set>
  867. </property>
  868. </widget>
  869. </item>
  870. </layout>
  871. </widget>
  872. </item>
  873. </layout>
  874. </widget>
  875. </widget>
  876. </item>
  877. </layout>
  878. </widget>
  879. </item>
  880. <item>
  881. <widget class="QWidget" name="bottom_widget" native="true">
  882. <property name="enabled">
  883. <bool>false</bool>
  884. </property>
  885. <property name="sizePolicy">
  886. <sizepolicy hsizetype="Preferred" vsizetype="Fixed">
  887. <horstretch>0</horstretch>
  888. <verstretch>0</verstretch>
  889. </sizepolicy>
  890. </property>
  891. <layout class="QGridLayout" name="gridLayout_3">
  892. <property name="topMargin">
  893. <number>0</number>
  894. </property>
  895. <property name="bottomMargin">
  896. <number>0</number>
  897. </property>
  898. <property name="verticalSpacing">
  899. <number>0</number>
  900. </property>
  901. <item row="1" column="0">
  902. <widget class="QProgressBar" name="progressBar">
  903. <property name="minimumSize">
  904. <size>
  905. <width>0</width>
  906. <height>40</height>
  907. </size>
  908. </property>
  909. <property name="maximumSize">
  910. <size>
  911. <width>16777215</width>
  912. <height>39</height>
  913. </size>
  914. </property>
  915. <property name="styleSheet">
  916. <string notr="true">QProgressBar {
  917. border: 0px solid grey;
  918. border-image: url(:/per.png);
  919. }
  920. QProgressBar::chunk {
  921. background-image: url(:/letters.png);
  922. margin-left:8px;
  923. margin-right:8px;
  924. margin-top:7px;
  925. margin-bottom:7px;
  926. }
  927. </string>
  928. </property>
  929. <property name="maximum">
  930. <number>100</number>
  931. </property>
  932. <property name="value">
  933. <number>50</number>
  934. </property>
  935. <property name="textVisible">
  936. <bool>false</bool>
  937. </property>
  938. </widget>
  939. </item>
  940. <item row="0" column="0">
  941. <widget class="QLabel" name="process_label">
  942. <property name="sizePolicy">
  943. <sizepolicy hsizetype="Preferred" vsizetype="Fixed">
  944. <horstretch>0</horstretch>
  945. <verstretch>0</verstretch>
  946. </sizepolicy>
  947. </property>
  948. <property name="font">
  949. <font>
  950. <family>Montserrat</family>
  951. </font>
  952. </property>
  953. <property name="text">
  954. <string>Установка чего-то - 50%</string>
  955. </property>
  956. <property name="alignment">
  957. <set>Qt::AlignCenter</set>
  958. </property>
  959. <property name="wordWrap">
  960. <bool>true</bool>
  961. </property>
  962. </widget>
  963. </item>
  964. </layout>
  965. </widget>
  966. </item>
  967. </layout>
  968. </widget>
  969. </item>
  970. </layout>
  971. </widget>
  972. <customwidgets>
  973. <customwidget>
  974. <class>StatusFlagWidget</class>
  975. <extends>QWidget</extends>
  976. <header>widgets/statusflagwidget.h</header>
  977. <container>1</container>
  978. </customwidget>
  979. <customwidget>
  980. <class>WeeklyCodeWidget</class>
  981. <extends>QLabel</extends>
  982. <header>widgets/weeklycodewidget.h</header>
  983. </customwidget>
  984. <customwidget>
  985. <class>NewsListWidget</class>
  986. <extends>QWidget</extends>
  987. <header>widgets/newslistwidget.h</header>
  988. <container>1</container>
  989. </customwidget>
  990. <customwidget>
  991. <class>ServerStatusWidget</class>
  992. <extends>QWidget</extends>
  993. <header>widgets/serverstatuswidget.h</header>
  994. <container>1</container>
  995. </customwidget>
  996. <customwidget>
  997. <class>EventsListWidget</class>
  998. <extends>QWidget</extends>
  999. <header>widgets/eventslistwidget.h</header>
  1000. <container>1</container>
  1001. </customwidget>
  1002. <customwidget>
  1003. <class>TooltipLabel</class>
  1004. <extends>QWidget</extends>
  1005. <header>widgets/tooltiplabel.h</header>
  1006. <container>1</container>
  1007. </customwidget>
  1008. </customwidgets>
  1009. <resources/>
  1010. <connections/>
  1011. </ui>