statuswidget.ui 14 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492493494495496497498499500501502503504505506507508509510511512513514515516517518519520521522523524525526527528529530531532533534535536537538539540541542543544545546547548549550551552553554555556557558559560561562563564565
  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: 10px 0 10px 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: 0px;
  90. height: 0px;
  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="galadriel_widget" native="true">
  141. <property name="geometry">
  142. <rect>
  143. <x>305</x>
  144. <y>20</y>
  145. <width>531</width>
  146. <height>461</height>
  147. </rect>
  148. </property>
  149. <property name="styleSheet">
  150. <string notr="true">QWidget#galadriel_widget{
  151. border-image: url(:/characters/galadriel_with_text.png);
  152. }</string>
  153. </property>
  154. <widget class="QLabel" name="weekly_code_tooltip_1">
  155. <property name="geometry">
  156. <rect>
  157. <x>60</x>
  158. <y>30</y>
  159. <width>381</width>
  160. <height>101</height>
  161. </rect>
  162. </property>
  163. <property name="font">
  164. <font>
  165. <family>Trajan Pro 3</family>
  166. <pointsize>11</pointsize>
  167. <italic>true</italic>
  168. </font>
  169. </property>
  170. <property name="text">
  171. <string>Кликните по еженедельному коду, чтобы скопировать его в буфер обмена</string>
  172. </property>
  173. <property name="alignment">
  174. <set>Qt::AlignCenter</set>
  175. </property>
  176. <property name="wordWrap">
  177. <bool>true</bool>
  178. </property>
  179. </widget>
  180. <widget class="QLabel" name="news_tooltip">
  181. <property name="geometry">
  182. <rect>
  183. <x>60</x>
  184. <y>30</y>
  185. <width>381</width>
  186. <height>101</height>
  187. </rect>
  188. </property>
  189. <property name="font">
  190. <font>
  191. <family>Trajan Pro 3</family>
  192. <pointsize>11</pointsize>
  193. <italic>true</italic>
  194. </font>
  195. </property>
  196. <property name="styleSheet">
  197. <string notr="true">o</string>
  198. </property>
  199. <property name="text">
  200. <string>Кликайте по заголовку новости, чтобы открыть её в браузере</string>
  201. </property>
  202. <property name="alignment">
  203. <set>Qt::AlignCenter</set>
  204. </property>
  205. <property name="wordWrap">
  206. <bool>true</bool>
  207. </property>
  208. </widget>
  209. <widget class="QLabel" name="weekly_code_tooltip_2">
  210. <property name="geometry">
  211. <rect>
  212. <x>60</x>
  213. <y>30</y>
  214. <width>381</width>
  215. <height>101</height>
  216. </rect>
  217. </property>
  218. <property name="font">
  219. <font>
  220. <family>Trajan Pro 3</family>
  221. <pointsize>11</pointsize>
  222. <italic>false</italic>
  223. </font>
  224. </property>
  225. <property name="text">
  226. <string>Еженедельный код успешно скопирован в буфер обмена!</string>
  227. </property>
  228. <property name="alignment">
  229. <set>Qt::AlignCenter</set>
  230. </property>
  231. <property name="wordWrap">
  232. <bool>true</bool>
  233. </property>
  234. </widget>
  235. <widget class="QWidget" name="patches_status" native="true">
  236. <property name="geometry">
  237. <rect>
  238. <x>70</x>
  239. <y>30</y>
  240. <width>371</width>
  241. <height>101</height>
  242. </rect>
  243. </property>
  244. <layout class="QGridLayout" name="gridLayout">
  245. <property name="leftMargin">
  246. <number>0</number>
  247. </property>
  248. <property name="topMargin">
  249. <number>0</number>
  250. </property>
  251. <property name="rightMargin">
  252. <number>0</number>
  253. </property>
  254. <property name="bottomMargin">
  255. <number>0</number>
  256. </property>
  257. <item row="0" column="0">
  258. <widget class="QLabel" name="texts_label">
  259. <property name="sizePolicy">
  260. <sizepolicy hsizetype="Fixed" vsizetype="Preferred">
  261. <horstretch>0</horstretch>
  262. <verstretch>0</verstretch>
  263. </sizepolicy>
  264. </property>
  265. <property name="font">
  266. <font>
  267. <family>Trajan Pro 3</family>
  268. <pointsize>9</pointsize>
  269. </font>
  270. </property>
  271. <property name="text">
  272. <string>Тексты:</string>
  273. </property>
  274. </widget>
  275. </item>
  276. <item row="0" column="1">
  277. <widget class="QLabel" name="texts_status">
  278. <property name="font">
  279. <font>
  280. <family>Trajan Pro 3</family>
  281. <pointsize>9</pointsize>
  282. </font>
  283. </property>
  284. <property name="text">
  285. <string>скачивание 95.6% (956.2кб/с)</string>
  286. </property>
  287. </widget>
  288. </item>
  289. <item row="1" column="0">
  290. <widget class="QLabel" name="images_label">
  291. <property name="sizePolicy">
  292. <sizepolicy hsizetype="Fixed" vsizetype="Preferred">
  293. <horstretch>0</horstretch>
  294. <verstretch>0</verstretch>
  295. </sizepolicy>
  296. </property>
  297. <property name="font">
  298. <font>
  299. <family>Trajan Pro 3</family>
  300. <pointsize>9</pointsize>
  301. </font>
  302. </property>
  303. <property name="text">
  304. <string>Картинки:</string>
  305. </property>
  306. </widget>
  307. </item>
  308. <item row="1" column="1">
  309. <widget class="QLabel" name="images_status">
  310. <property name="font">
  311. <font>
  312. <family>Trajan Pro 3</family>
  313. <pointsize>9</pointsize>
  314. </font>
  315. </property>
  316. <property name="text">
  317. <string>Установка: 32.2%</string>
  318. </property>
  319. </widget>
  320. </item>
  321. <item row="2" column="0">
  322. <widget class="QLabel" name="sounds_label">
  323. <property name="sizePolicy">
  324. <sizepolicy hsizetype="Fixed" vsizetype="Preferred">
  325. <horstretch>0</horstretch>
  326. <verstretch>0</verstretch>
  327. </sizepolicy>
  328. </property>
  329. <property name="font">
  330. <font>
  331. <family>Trajan Pro 3</family>
  332. <pointsize>9</pointsize>
  333. </font>
  334. </property>
  335. <property name="text">
  336. <string>Озвучка:</string>
  337. </property>
  338. </widget>
  339. </item>
  340. <item row="2" column="1">
  341. <widget class="QLabel" name="sounds_status">
  342. <property name="font">
  343. <font>
  344. <family>Trajan Pro 3</family>
  345. <pointsize>9</pointsize>
  346. </font>
  347. </property>
  348. <property name="text">
  349. <string>Ожидание установки...</string>
  350. </property>
  351. </widget>
  352. </item>
  353. <item row="3" column="0">
  354. <widget class="QLabel" name="videos_label">
  355. <property name="sizePolicy">
  356. <sizepolicy hsizetype="Fixed" vsizetype="Preferred">
  357. <horstretch>0</horstretch>
  358. <verstretch>0</verstretch>
  359. </sizepolicy>
  360. </property>
  361. <property name="font">
  362. <font>
  363. <family>Trajan Pro 3</family>
  364. <pointsize>9</pointsize>
  365. </font>
  366. </property>
  367. <property name="text">
  368. <string>Ролики:</string>
  369. </property>
  370. </widget>
  371. </item>
  372. <item row="3" column="1">
  373. <widget class="QLabel" name="videos_status">
  374. <property name="font">
  375. <font>
  376. <family>Trajan Pro 3</family>
  377. <pointsize>9</pointsize>
  378. </font>
  379. </property>
  380. <property name="text">
  381. <string>скачивание 35.6% (956.кб/с)</string>
  382. </property>
  383. </widget>
  384. </item>
  385. </layout>
  386. </widget>
  387. </widget>
  388. <widget class="QPushButton" name="game_button">
  389. <property name="geometry">
  390. <rect>
  391. <x>840</x>
  392. <y>460</y>
  393. <width>150</width>
  394. <height>60</height>
  395. </rect>
  396. </property>
  397. <property name="sizePolicy">
  398. <sizepolicy hsizetype="Fixed" vsizetype="Fixed">
  399. <horstretch>0</horstretch>
  400. <verstretch>0</verstretch>
  401. </sizepolicy>
  402. </property>
  403. <property name="font">
  404. <font>
  405. <family>Trajan Pro 3</family>
  406. <pointsize>11</pointsize>
  407. <weight>50</weight>
  408. <bold>false</bold>
  409. <kerning>false</kerning>
  410. </font>
  411. </property>
  412. <property name="autoFillBackground">
  413. <bool>false</bool>
  414. </property>
  415. <property name="styleSheet">
  416. <string notr="true">QPushButton#game_button {
  417. color: white;
  418. border-image: url(:/buttons/button_big_normal.png);
  419. }
  420. QPushButton#game_button:hover {
  421. color: white;
  422. border-image: url(:/buttons/button_big_over.png);
  423. }
  424. QPushButton#game_button:pressed {
  425. color: white;
  426. border-image: url(:/buttons/button_big_pressed.png);
  427. }
  428. </string>
  429. </property>
  430. <property name="text">
  431. <string notr="true"> ИГРАТЬ </string>
  432. </property>
  433. <property name="iconSize">
  434. <size>
  435. <width>0</width>
  436. <height>0</height>
  437. </size>
  438. </property>
  439. <property name="default">
  440. <bool>false</bool>
  441. </property>
  442. <property name="flat">
  443. <bool>true</bool>
  444. </property>
  445. </widget>
  446. <widget class="QLabel" name="progress_label">
  447. <property name="geometry">
  448. <rect>
  449. <x>330</x>
  450. <y>450</y>
  451. <width>501</width>
  452. <height>31</height>
  453. </rect>
  454. </property>
  455. <property name="sizePolicy">
  456. <sizepolicy hsizetype="Preferred" vsizetype="Fixed">
  457. <horstretch>0</horstretch>
  458. <verstretch>0</verstretch>
  459. </sizepolicy>
  460. </property>
  461. <property name="font">
  462. <font>
  463. <family>Trajan Pro 3</family>
  464. <pointsize>8</pointsize>
  465. <weight>50</weight>
  466. <bold>false</bold>
  467. </font>
  468. </property>
  469. <property name="text">
  470. <string>Русификация... 72.6%</string>
  471. </property>
  472. <property name="alignment">
  473. <set>Qt::AlignCenter</set>
  474. </property>
  475. <property name="wordWrap">
  476. <bool>true</bool>
  477. </property>
  478. </widget>
  479. <widget class="QProgressBar" name="progressBar">
  480. <property name="geometry">
  481. <rect>
  482. <x>330</x>
  483. <y>480</y>
  484. <width>501</width>
  485. <height>40</height>
  486. </rect>
  487. </property>
  488. <property name="minimumSize">
  489. <size>
  490. <width>0</width>
  491. <height>40</height>
  492. </size>
  493. </property>
  494. <property name="maximumSize">
  495. <size>
  496. <width>16777215</width>
  497. <height>40</height>
  498. </size>
  499. </property>
  500. <property name="styleSheet">
  501. <string notr="true">QProgressBar {
  502. border: 0px solid grey;
  503. border-image: url(:/per.png);
  504. }
  505. QProgressBar::chunk {
  506. background-image: url(:/letters.png);
  507. margin-left:8px;
  508. margin-right:8px;
  509. margin-top:7px;
  510. margin-bottom:7px;
  511. }
  512. </string>
  513. </property>
  514. <property name="maximum">
  515. <number>100</number>
  516. </property>
  517. <property name="value">
  518. <number>72</number>
  519. </property>
  520. <property name="textVisible">
  521. <bool>false</bool>
  522. </property>
  523. </widget>
  524. <zorder>galadriel_widget</zorder>
  525. <zorder>news_label</zorder>
  526. <zorder>news_scroll_area</zorder>
  527. <zorder>game_button</zorder>
  528. <zorder>progress_label</zorder>
  529. <zorder>progressBar</zorder>
  530. <zorder>server_status_widget</zorder>
  531. <zorder>weekly_code_widget</zorder>
  532. </widget>
  533. <customwidgets>
  534. <customwidget>
  535. <class>ServerStatusWidget</class>
  536. <extends>QWidget</extends>
  537. <header>widgets/serverstatuswidget.h</header>
  538. <container>1</container>
  539. </customwidget>
  540. <customwidget>
  541. <class>NewsListWidget</class>
  542. <extends>QWidget</extends>
  543. <header>widgets/newslistwidget.h</header>
  544. <container>1</container>
  545. </customwidget>
  546. <customwidget>
  547. <class>WeeklyCodeWidget</class>
  548. <extends>QWidget</extends>
  549. <header>widgets/weeklycodewidget.h</header>
  550. <container>1</container>
  551. </customwidget>
  552. </customwidgets>
  553. <resources/>
  554. <connections/>
  555. </ui>