statuswidget.ui 32 KB

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