statuswidget.ui 14 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492493494495496497498499500501502503504505506507508509510511512513514515516517518519520521522523524525526527528529530531532533534535536537538539540541542543544545546547548549550551
  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>1000</width>
  10. <height>538</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. <widget class="QLabel" name="news_label">
  28. <property name="geometry">
  29. <rect>
  30. <x>57</x>
  31. <y>33</y>
  32. <width>180</width>
  33. <height>21</height>
  34. </rect>
  35. </property>
  36. <property name="font">
  37. <font>
  38. <family>Trajan Pro 3</family>
  39. <pointsize>10</pointsize>
  40. <kerning>false</kerning>
  41. </font>
  42. </property>
  43. <property name="text">
  44. <string>новости проекта</string>
  45. </property>
  46. </widget>
  47. <widget class="QScrollArea" name="news_scroll_area">
  48. <property name="geometry">
  49. <rect>
  50. <x>40</x>
  51. <y>75</y>
  52. <width>250</width>
  53. <height>440</height>
  54. </rect>
  55. </property>
  56. <property name="styleSheet">
  57. <string notr="true">QScrollArea{
  58. background: transparent;
  59. }
  60. QScrollArea &gt; QWidget &gt; QWidget { background: transparent; }
  61. QScrollBar:vertical {
  62. border: 0px solid grey;
  63. background: transparent;
  64. width: 10px;
  65. margin: 22px 0 22px 0;
  66. }
  67. QScrollBar::handle:vertical {
  68. min-height: 10px;
  69. background-color:rgba(0,0,0,80);
  70. border-radius: 5px;
  71. border: 1px solid #6d6867;
  72. }
  73. QScrollBar::add-line:vertical {
  74. border: 0px solid grey;
  75. background: transparent;
  76. height: 1px;
  77. subcontrol-position: bottom;
  78. subcontrol-origin: margin;
  79. }
  80. QScrollBar::sub-line:vertical {
  81. border: 0px solid grey;
  82. background: transparent;
  83. height: 1px;
  84. subcontrol-position: top;
  85. subcontrol-origin: margin;
  86. }
  87. QScrollBar::up-arrow:vertical, QScrollBar::down-arrow:vertical {
  88. border: 0px;
  89. width: 3px;
  90. height: 3px;
  91. background: transparent;
  92. }
  93. QScrollBar::add-page:vertical, QScrollBar::sub-page:vertical {
  94. background: none;
  95. }</string>
  96. </property>
  97. <property name="frameShape">
  98. <enum>QFrame::NoFrame</enum>
  99. </property>
  100. <property name="widgetResizable">
  101. <bool>true</bool>
  102. </property>
  103. <widget class="NewsListWidget" name="news_list">
  104. <property name="geometry">
  105. <rect>
  106. <x>0</x>
  107. <y>0</y>
  108. <width>250</width>
  109. <height>440</height>
  110. </rect>
  111. </property>
  112. </widget>
  113. </widget>
  114. <widget class="ServerStatusWidget" name="server_status_widget" native="true">
  115. <property name="geometry">
  116. <rect>
  117. <x>820</x>
  118. <y>90</y>
  119. <width>155</width>
  120. <height>320</height>
  121. </rect>
  122. </property>
  123. </widget>
  124. <widget class="WeeklyCodeWidget" name="weekly_code_widget" native="true">
  125. <property name="geometry">
  126. <rect>
  127. <x>810</x>
  128. <y>13</y>
  129. <width>173</width>
  130. <height>57</height>
  131. </rect>
  132. </property>
  133. <property name="autoFillBackground">
  134. <bool>false</bool>
  135. </property>
  136. <property name="styleSheet">
  137. <string notr="true"/>
  138. </property>
  139. </widget>
  140. <widget class="QWidget" name="witch_king_widget" native="true">
  141. <property name="geometry">
  142. <rect>
  143. <x>315</x>
  144. <y>20</y>
  145. <width>511</width>
  146. <height>421</height>
  147. </rect>
  148. </property>
  149. <property name="styleSheet">
  150. <string notr="true">QWidget#witch_king_widget{
  151. border-image: url(:/characters/witch_king_with_text.png);
  152. }</string>
  153. </property>
  154. <widget class="QWidget" name="witch_king_text_content" native="true">
  155. <property name="geometry">
  156. <rect>
  157. <x>50</x>
  158. <y>30</y>
  159. <width>331</width>
  160. <height>101</height>
  161. </rect>
  162. </property>
  163. <layout class="QVBoxLayout" name="verticalLayout">
  164. <property name="spacing">
  165. <number>0</number>
  166. </property>
  167. <property name="leftMargin">
  168. <number>0</number>
  169. </property>
  170. <property name="topMargin">
  171. <number>0</number>
  172. </property>
  173. <property name="rightMargin">
  174. <number>0</number>
  175. </property>
  176. <property name="bottomMargin">
  177. <number>0</number>
  178. </property>
  179. <item>
  180. <widget class="QWidget" name="patches_status" native="true">
  181. <layout class="QGridLayout" name="gridLayout">
  182. <property name="leftMargin">
  183. <number>0</number>
  184. </property>
  185. <property name="topMargin">
  186. <number>0</number>
  187. </property>
  188. <property name="rightMargin">
  189. <number>0</number>
  190. </property>
  191. <property name="bottomMargin">
  192. <number>0</number>
  193. </property>
  194. <item row="0" column="0">
  195. <widget class="QLabel" name="texts_label">
  196. <property name="sizePolicy">
  197. <sizepolicy hsizetype="Fixed" vsizetype="Preferred">
  198. <horstretch>0</horstretch>
  199. <verstretch>0</verstretch>
  200. </sizepolicy>
  201. </property>
  202. <property name="font">
  203. <font>
  204. <family>Trajan Pro 3</family>
  205. <pointsize>7</pointsize>
  206. </font>
  207. </property>
  208. <property name="text">
  209. <string>Тексты:</string>
  210. </property>
  211. </widget>
  212. </item>
  213. <item row="0" column="1">
  214. <widget class="QLabel" name="texts_status">
  215. <property name="font">
  216. <font>
  217. <family>Trajan Pro 3</family>
  218. <pointsize>7</pointsize>
  219. </font>
  220. </property>
  221. <property name="text">
  222. <string>скачивание 95.6% (956.2кб/с)</string>
  223. </property>
  224. </widget>
  225. </item>
  226. <item row="1" column="0">
  227. <widget class="QLabel" name="images_label">
  228. <property name="sizePolicy">
  229. <sizepolicy hsizetype="Fixed" vsizetype="Preferred">
  230. <horstretch>0</horstretch>
  231. <verstretch>0</verstretch>
  232. </sizepolicy>
  233. </property>
  234. <property name="font">
  235. <font>
  236. <family>Trajan Pro 3</family>
  237. <pointsize>7</pointsize>
  238. </font>
  239. </property>
  240. <property name="text">
  241. <string>Картинки:</string>
  242. </property>
  243. </widget>
  244. </item>
  245. <item row="1" column="1">
  246. <widget class="QLabel" name="images_status">
  247. <property name="font">
  248. <font>
  249. <family>Trajan Pro 3</family>
  250. <pointsize>7</pointsize>
  251. </font>
  252. </property>
  253. <property name="text">
  254. <string>Установка: 32.2%</string>
  255. </property>
  256. </widget>
  257. </item>
  258. <item row="2" column="0">
  259. <widget class="QLabel" name="sounds_label">
  260. <property name="sizePolicy">
  261. <sizepolicy hsizetype="Fixed" vsizetype="Preferred">
  262. <horstretch>0</horstretch>
  263. <verstretch>0</verstretch>
  264. </sizepolicy>
  265. </property>
  266. <property name="font">
  267. <font>
  268. <family>Trajan Pro 3</family>
  269. <pointsize>7</pointsize>
  270. </font>
  271. </property>
  272. <property name="text">
  273. <string>Озвучка:</string>
  274. </property>
  275. </widget>
  276. </item>
  277. <item row="2" column="1">
  278. <widget class="QLabel" name="sounds_status">
  279. <property name="font">
  280. <font>
  281. <family>Trajan Pro 3</family>
  282. <pointsize>7</pointsize>
  283. </font>
  284. </property>
  285. <property name="text">
  286. <string>Ожидание установки...</string>
  287. </property>
  288. </widget>
  289. </item>
  290. <item row="3" column="0">
  291. <widget class="QLabel" name="videos_label">
  292. <property name="sizePolicy">
  293. <sizepolicy hsizetype="Fixed" vsizetype="Preferred">
  294. <horstretch>0</horstretch>
  295. <verstretch>0</verstretch>
  296. </sizepolicy>
  297. </property>
  298. <property name="font">
  299. <font>
  300. <family>Trajan Pro 3</family>
  301. <pointsize>7</pointsize>
  302. </font>
  303. </property>
  304. <property name="text">
  305. <string>Ролики:</string>
  306. </property>
  307. </widget>
  308. </item>
  309. <item row="3" column="1">
  310. <widget class="QLabel" name="videos_status">
  311. <property name="font">
  312. <font>
  313. <family>Trajan Pro 3</family>
  314. <pointsize>7</pointsize>
  315. </font>
  316. </property>
  317. <property name="text">
  318. <string>скачивание 35.6% (956.кб/с)</string>
  319. </property>
  320. </widget>
  321. </item>
  322. </layout>
  323. </widget>
  324. </item>
  325. <item>
  326. <widget class="QLabel" name="news_tooltip">
  327. <property name="font">
  328. <font>
  329. <family>Trajan Pro 3</family>
  330. <pointsize>9</pointsize>
  331. </font>
  332. </property>
  333. <property name="text">
  334. <string>Кликайте по заголовку новости, чтобы открыть её в браузере</string>
  335. </property>
  336. <property name="alignment">
  337. <set>Qt::AlignCenter</set>
  338. </property>
  339. <property name="wordWrap">
  340. <bool>true</bool>
  341. </property>
  342. </widget>
  343. </item>
  344. <item>
  345. <widget class="QLabel" name="weekly_code_tooltip_2">
  346. <property name="font">
  347. <font>
  348. <family>Trajan Pro 3</family>
  349. <pointsize>9</pointsize>
  350. </font>
  351. </property>
  352. <property name="text">
  353. <string>Еженедельный код успешно скопирован в буфер обмена!</string>
  354. </property>
  355. <property name="wordWrap">
  356. <bool>true</bool>
  357. </property>
  358. </widget>
  359. </item>
  360. <item>
  361. <widget class="QLabel" name="weekly_code_tooltip_1">
  362. <property name="font">
  363. <font>
  364. <family>Trajan Pro 3</family>
  365. <pointsize>9</pointsize>
  366. </font>
  367. </property>
  368. <property name="text">
  369. <string>Кликните по еженедельному коду, чтобы скопировать его в буфер обмена</string>
  370. </property>
  371. <property name="alignment">
  372. <set>Qt::AlignCenter</set>
  373. </property>
  374. <property name="wordWrap">
  375. <bool>true</bool>
  376. </property>
  377. </widget>
  378. </item>
  379. </layout>
  380. </widget>
  381. </widget>
  382. <widget class="QPushButton" name="game_button">
  383. <property name="geometry">
  384. <rect>
  385. <x>840</x>
  386. <y>460</y>
  387. <width>150</width>
  388. <height>60</height>
  389. </rect>
  390. </property>
  391. <property name="sizePolicy">
  392. <sizepolicy hsizetype="Fixed" vsizetype="Fixed">
  393. <horstretch>0</horstretch>
  394. <verstretch>0</verstretch>
  395. </sizepolicy>
  396. </property>
  397. <property name="font">
  398. <font>
  399. <family>Trajan Pro 3</family>
  400. <pointsize>11</pointsize>
  401. <weight>50</weight>
  402. <bold>false</bold>
  403. <kerning>false</kerning>
  404. </font>
  405. </property>
  406. <property name="autoFillBackground">
  407. <bool>false</bool>
  408. </property>
  409. <property name="styleSheet">
  410. <string notr="true">QPushButton#game_button {
  411. color: white;
  412. border-image: url(:/buttons/button_big_normal.png);
  413. }
  414. QPushButton#game_button:hover {
  415. color: white;
  416. border-image: url(:/buttons/button_big_over.png);
  417. }
  418. QPushButton#game_button:pressed {
  419. color: white;
  420. border-image: url(:/buttons/button_big_pressed.png);
  421. }
  422. </string>
  423. </property>
  424. <property name="text">
  425. <string notr="true"> ИГРАТЬ </string>
  426. </property>
  427. <property name="iconSize">
  428. <size>
  429. <width>0</width>
  430. <height>0</height>
  431. </size>
  432. </property>
  433. <property name="default">
  434. <bool>false</bool>
  435. </property>
  436. <property name="flat">
  437. <bool>true</bool>
  438. </property>
  439. </widget>
  440. <widget class="QLabel" name="progress_label">
  441. <property name="geometry">
  442. <rect>
  443. <x>330</x>
  444. <y>450</y>
  445. <width>501</width>
  446. <height>31</height>
  447. </rect>
  448. </property>
  449. <property name="sizePolicy">
  450. <sizepolicy hsizetype="Preferred" vsizetype="Fixed">
  451. <horstretch>0</horstretch>
  452. <verstretch>0</verstretch>
  453. </sizepolicy>
  454. </property>
  455. <property name="font">
  456. <font>
  457. <family>Trajan Pro 3</family>
  458. <pointsize>8</pointsize>
  459. <weight>50</weight>
  460. <bold>false</bold>
  461. </font>
  462. </property>
  463. <property name="text">
  464. <string>Скачивание и установка обновлений... 72.6%</string>
  465. </property>
  466. <property name="alignment">
  467. <set>Qt::AlignCenter</set>
  468. </property>
  469. <property name="wordWrap">
  470. <bool>true</bool>
  471. </property>
  472. </widget>
  473. <widget class="QProgressBar" name="progressBar">
  474. <property name="geometry">
  475. <rect>
  476. <x>330</x>
  477. <y>480</y>
  478. <width>501</width>
  479. <height>40</height>
  480. </rect>
  481. </property>
  482. <property name="minimumSize">
  483. <size>
  484. <width>0</width>
  485. <height>40</height>
  486. </size>
  487. </property>
  488. <property name="maximumSize">
  489. <size>
  490. <width>16777215</width>
  491. <height>40</height>
  492. </size>
  493. </property>
  494. <property name="styleSheet">
  495. <string notr="true">QProgressBar {
  496. border: 0px solid grey;
  497. border-image: url(:/per.png);
  498. }
  499. QProgressBar::chunk {
  500. background-image: url(:/letters.png);
  501. margin-left:8px;
  502. margin-right:8px;
  503. margin-top:7px;
  504. margin-bottom:7px;
  505. }
  506. </string>
  507. </property>
  508. <property name="maximum">
  509. <number>100</number>
  510. </property>
  511. <property name="value">
  512. <number>72</number>
  513. </property>
  514. <property name="textVisible">
  515. <bool>false</bool>
  516. </property>
  517. </widget>
  518. </widget>
  519. <customwidgets>
  520. <customwidget>
  521. <class>ServerStatusWidget</class>
  522. <extends>QWidget</extends>
  523. <header>widgets/serverstatuswidget.h</header>
  524. <container>1</container>
  525. </customwidget>
  526. <customwidget>
  527. <class>NewsListWidget</class>
  528. <extends>QWidget</extends>
  529. <header>widgets/newslistwidget.h</header>
  530. <container>1</container>
  531. </customwidget>
  532. <customwidget>
  533. <class>WeeklyCodeWidget</class>
  534. <extends>QWidget</extends>
  535. <header>widgets/weeklycodewidget.h</header>
  536. <container>1</container>
  537. </customwidget>
  538. </customwidgets>
  539. <resources/>
  540. <connections/>
  541. </ui>