playervsplayerintro.ui 22 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492493494495496497498499500501502503504505506507508509510511512513514515516517518519520521522523524525526527528529530531532533534535536537538539540541542543544545546547548549550551552553554555556557558559560561562563564565566567568569570571572573574575576577578579580581582583584585586587588589590591592593594595596597598599600601602603604605606607608609610611612613614615616617618619620621622623624625626627628629630631632633634635636637638639640641642643644645646647648649650651652653654655656657658
  1. <?xml version="1.0" encoding="UTF-8"?>
  2. <ui version="4.0">
  3. <class>PlayerVsPlayerIntro</class>
  4. <widget class="Scene" name="PlayerVsPlayerIntro">
  5. <property name="geometry">
  6. <rect>
  7. <x>0</x>
  8. <y>0</y>
  9. <width>1700</width>
  10. <height>979</height>
  11. </rect>
  12. </property>
  13. <property name="windowTitle">
  14. <string>Form</string>
  15. </property>
  16. <property name="autoFillBackground">
  17. <bool>true</bool>
  18. </property>
  19. <property name="styleSheet">
  20. <string notr="true"/>
  21. </property>
  22. <layout class="QGridLayout" name="gridLayout">
  23. <property name="leftMargin">
  24. <number>0</number>
  25. </property>
  26. <property name="topMargin">
  27. <number>0</number>
  28. </property>
  29. <property name="rightMargin">
  30. <number>0</number>
  31. </property>
  32. <property name="bottomMargin">
  33. <number>0</number>
  34. </property>
  35. <property name="spacing">
  36. <number>0</number>
  37. </property>
  38. <item row="0" column="0">
  39. <widget class="QWidget" name="widget" native="true">
  40. <property name="styleSheet">
  41. <string notr="true">border-image: url(:/assets/common/background.jpg);</string>
  42. </property>
  43. <layout class="QGridLayout" name="gridLayout_2">
  44. <property name="leftMargin">
  45. <number>25</number>
  46. </property>
  47. <property name="topMargin">
  48. <number>0</number>
  49. </property>
  50. <property name="rightMargin">
  51. <number>0</number>
  52. </property>
  53. <property name="bottomMargin">
  54. <number>0</number>
  55. </property>
  56. <property name="spacing">
  57. <number>0</number>
  58. </property>
  59. <item row="1" column="0">
  60. <widget class="QWidget" name="menu_" native="true">
  61. <property name="sizePolicy">
  62. <sizepolicy hsizetype="Fixed" vsizetype="Fixed">
  63. <horstretch>0</horstretch>
  64. <verstretch>0</verstretch>
  65. </sizepolicy>
  66. </property>
  67. <property name="minimumSize">
  68. <size>
  69. <width>400</width>
  70. <height>600</height>
  71. </size>
  72. </property>
  73. <property name="maximumSize">
  74. <size>
  75. <width>16777215</width>
  76. <height>16777215</height>
  77. </size>
  78. </property>
  79. <property name="styleSheet">
  80. <string notr="true">border-image:none;
  81. background-image:none;</string>
  82. </property>
  83. <layout class="QGridLayout" name="gridLayout_3">
  84. <property name="leftMargin">
  85. <number>0</number>
  86. </property>
  87. <property name="topMargin">
  88. <number>0</number>
  89. </property>
  90. <property name="rightMargin">
  91. <number>0</number>
  92. </property>
  93. <property name="bottomMargin">
  94. <number>0</number>
  95. </property>
  96. <property name="spacing">
  97. <number>0</number>
  98. </property>
  99. <item row="0" column="0">
  100. <widget class="QWidget" name="border_upleft_3" native="true">
  101. <property name="minimumSize">
  102. <size>
  103. <width>26</width>
  104. <height>25</height>
  105. </size>
  106. </property>
  107. <property name="maximumSize">
  108. <size>
  109. <width>25</width>
  110. <height>25</height>
  111. </size>
  112. </property>
  113. <property name="styleSheet">
  114. <string notr="true">background:url(:/assets/window/strong_translucent-border-topleft.png);
  115. background-color: rgb(0, 0, 0);</string>
  116. </property>
  117. </widget>
  118. </item>
  119. <item row="0" column="1">
  120. <widget class="QWidget" name="border_up_3" native="true">
  121. <property name="minimumSize">
  122. <size>
  123. <width>25</width>
  124. <height>25</height>
  125. </size>
  126. </property>
  127. <property name="maximumSize">
  128. <size>
  129. <width>16777215</width>
  130. <height>25</height>
  131. </size>
  132. </property>
  133. <property name="styleSheet">
  134. <string notr="true">background:url(:/assets/window/strong_translucent-border-top.png);
  135. background-color: rgb(0, 0, 0);</string>
  136. </property>
  137. </widget>
  138. </item>
  139. <item row="0" column="2">
  140. <widget class="QWidget" name="border_upright_3" native="true">
  141. <property name="minimumSize">
  142. <size>
  143. <width>25</width>
  144. <height>25</height>
  145. </size>
  146. </property>
  147. <property name="maximumSize">
  148. <size>
  149. <width>25</width>
  150. <height>25</height>
  151. </size>
  152. </property>
  153. <property name="styleSheet">
  154. <string notr="true">background:url(:/assets/window/strong_translucent-border-topright.png);
  155. background-color: rgb(0, 0, 0);</string>
  156. </property>
  157. </widget>
  158. </item>
  159. <item row="1" column="0">
  160. <widget class="QWidget" name="border_left_3" native="true">
  161. <property name="minimumSize">
  162. <size>
  163. <width>25</width>
  164. <height>25</height>
  165. </size>
  166. </property>
  167. <property name="maximumSize">
  168. <size>
  169. <width>26</width>
  170. <height>16777215</height>
  171. </size>
  172. </property>
  173. <property name="styleSheet">
  174. <string notr="true">background:url(:/assets/window/strong_translucent-border-left.png);
  175. background-color: rgb(0, 0, 0);</string>
  176. </property>
  177. </widget>
  178. </item>
  179. <item row="1" column="1">
  180. <widget class="QWidget" name="game_widget_2" native="true">
  181. <property name="styleSheet">
  182. <string notr="true">background-color: rgb(0, 0, 0);</string>
  183. </property>
  184. <widget class="QPushButton" name="go_next">
  185. <property name="geometry">
  186. <rect>
  187. <x>0</x>
  188. <y>240</y>
  189. <width>350</width>
  190. <height>100</height>
  191. </rect>
  192. </property>
  193. <property name="sizePolicy">
  194. <sizepolicy hsizetype="Expanding" vsizetype="Expanding">
  195. <horstretch>0</horstretch>
  196. <verstretch>0</verstretch>
  197. </sizepolicy>
  198. </property>
  199. <property name="minimumSize">
  200. <size>
  201. <width>350</width>
  202. <height>100</height>
  203. </size>
  204. </property>
  205. <property name="maximumSize">
  206. <size>
  207. <width>350</width>
  208. <height>100</height>
  209. </size>
  210. </property>
  211. <property name="font">
  212. <font>
  213. <family>Viking Cyr</family>
  214. <pointsize>10</pointsize>
  215. <weight>50</weight>
  216. <italic>false</italic>
  217. <bold>false</bold>
  218. </font>
  219. </property>
  220. <property name="styleSheet">
  221. <string notr="true">font: 10pt &quot;Viking Cyr&quot;;
  222. color: rgb(255, 255, 0);
  223. border-image: url(:/assets/window/button1.png);
  224. </string>
  225. </property>
  226. <property name="text">
  227. <string>Продолжить</string>
  228. </property>
  229. <property name="checkable">
  230. <bool>false</bool>
  231. </property>
  232. <property name="flat">
  233. <bool>true</bool>
  234. </property>
  235. </widget>
  236. <widget class="QWidget" name="widget_3" native="true">
  237. <property name="geometry">
  238. <rect>
  239. <x>0</x>
  240. <y>10</y>
  241. <width>150</width>
  242. <height>150</height>
  243. </rect>
  244. </property>
  245. <property name="styleSheet">
  246. <string notr="true">border-image: url(:/assets/common/logo.png);</string>
  247. </property>
  248. </widget>
  249. <widget class="QPushButton" name="back_to_menu">
  250. <property name="geometry">
  251. <rect>
  252. <x>0</x>
  253. <y>340</y>
  254. <width>350</width>
  255. <height>100</height>
  256. </rect>
  257. </property>
  258. <property name="sizePolicy">
  259. <sizepolicy hsizetype="Expanding" vsizetype="Expanding">
  260. <horstretch>0</horstretch>
  261. <verstretch>0</verstretch>
  262. </sizepolicy>
  263. </property>
  264. <property name="minimumSize">
  265. <size>
  266. <width>350</width>
  267. <height>100</height>
  268. </size>
  269. </property>
  270. <property name="maximumSize">
  271. <size>
  272. <width>350</width>
  273. <height>100</height>
  274. </size>
  275. </property>
  276. <property name="styleSheet">
  277. <string notr="true">font: 10pt &quot;Viking Cyr&quot;;
  278. color: rgb(255, 255, 0);
  279. border-image: url(:/assets/window/button1.png);
  280. </string>
  281. </property>
  282. <property name="text">
  283. <string>Назад</string>
  284. </property>
  285. </widget>
  286. <widget class="QLabel" name="title_3">
  287. <property name="geometry">
  288. <rect>
  289. <x>140</x>
  290. <y>60</y>
  291. <width>211</width>
  292. <height>21</height>
  293. </rect>
  294. </property>
  295. <property name="sizePolicy">
  296. <sizepolicy hsizetype="Ignored" vsizetype="Fixed">
  297. <horstretch>0</horstretch>
  298. <verstretch>0</verstretch>
  299. </sizepolicy>
  300. </property>
  301. <property name="styleSheet">
  302. <string notr="true">font: 14pt &quot;Barocco Initial&quot;;
  303. border-image:none;
  304. background-image:none;</string>
  305. </property>
  306. <property name="text">
  307. <string>&lt;html&gt;&lt;head/&gt;&lt;body&gt;&lt;p align=&quot;center&quot;&gt;&lt;span style=&quot; font-size:12pt; color:#b12d2d;&quot;&gt;Выбор режима&lt;/span&gt;&lt;/p&gt;&lt;/body&gt;&lt;/html&gt;</string>
  308. </property>
  309. <property name="alignment">
  310. <set>Qt::AlignLeading|Qt::AlignLeft|Qt::AlignTop</set>
  311. </property>
  312. <property name="wordWrap">
  313. <bool>true</bool>
  314. </property>
  315. <property name="margin">
  316. <number>0</number>
  317. </property>
  318. </widget>
  319. </widget>
  320. </item>
  321. <item row="1" column="2">
  322. <widget class="QWidget" name="border_right_3" native="true">
  323. <property name="minimumSize">
  324. <size>
  325. <width>25</width>
  326. <height>25</height>
  327. </size>
  328. </property>
  329. <property name="maximumSize">
  330. <size>
  331. <width>26</width>
  332. <height>16777215</height>
  333. </size>
  334. </property>
  335. <property name="styleSheet">
  336. <string notr="true">background:url(:/assets/window/strong_translucent-border-right.png);
  337. background-color: rgb(0, 0, 0);</string>
  338. </property>
  339. </widget>
  340. </item>
  341. <item row="2" column="0">
  342. <widget class="QWidget" name="border_botleft_3" native="true">
  343. <property name="minimumSize">
  344. <size>
  345. <width>26</width>
  346. <height>26</height>
  347. </size>
  348. </property>
  349. <property name="maximumSize">
  350. <size>
  351. <width>26</width>
  352. <height>26</height>
  353. </size>
  354. </property>
  355. <property name="styleSheet">
  356. <string notr="true">background:url(:/assets/window/strong_translucent-border-botleft.png)</string>
  357. </property>
  358. </widget>
  359. </item>
  360. <item row="2" column="1">
  361. <widget class="QWidget" name="border_bottom_3" native="true">
  362. <property name="minimumSize">
  363. <size>
  364. <width>26</width>
  365. <height>26</height>
  366. </size>
  367. </property>
  368. <property name="maximumSize">
  369. <size>
  370. <width>16777215</width>
  371. <height>26</height>
  372. </size>
  373. </property>
  374. <property name="styleSheet">
  375. <string notr="true">background:url(:/assets/window/strong_translucent-border_bottom.png);
  376. background-color: rgb(0, 0, 0);</string>
  377. </property>
  378. </widget>
  379. </item>
  380. <item row="2" column="2">
  381. <widget class="QWidget" name="border_botright_3" native="true">
  382. <property name="minimumSize">
  383. <size>
  384. <width>25</width>
  385. <height>26</height>
  386. </size>
  387. </property>
  388. <property name="maximumSize">
  389. <size>
  390. <width>25</width>
  391. <height>26</height>
  392. </size>
  393. </property>
  394. <property name="styleSheet">
  395. <string notr="true">background:url(:/assets/window/strong_translucent-border-botright.png)</string>
  396. </property>
  397. </widget>
  398. </item>
  399. </layout>
  400. </widget>
  401. </item>
  402. <item row="0" column="1" rowspan="3">
  403. <widget class="QWidget" name="widget_2" native="true">
  404. <property name="sizePolicy">
  405. <sizepolicy hsizetype="Expanding" vsizetype="Expanding">
  406. <horstretch>0</horstretch>
  407. <verstretch>0</verstretch>
  408. </sizepolicy>
  409. </property>
  410. <property name="styleSheet">
  411. <string notr="true">background-image:none;
  412. border-image:none;
  413. image:none;</string>
  414. </property>
  415. <layout class="QGridLayout" name="gridLayout_4">
  416. <property name="leftMargin">
  417. <number>0</number>
  418. </property>
  419. <property name="topMargin">
  420. <number>0</number>
  421. </property>
  422. <property name="rightMargin">
  423. <number>0</number>
  424. </property>
  425. <property name="bottomMargin">
  426. <number>0</number>
  427. </property>
  428. <property name="spacing">
  429. <number>0</number>
  430. </property>
  431. <item row="0" column="0">
  432. <widget class="QWidget" name="content_" native="true">
  433. <property name="styleSheet">
  434. <string notr="true">background: none;
  435. background-image:none;
  436. image: none;</string>
  437. </property>
  438. <widget class="QLabel" name="label_4">
  439. <property name="geometry">
  440. <rect>
  441. <x>528</x>
  442. <y>110</y>
  443. <width>356</width>
  444. <height>262</height>
  445. </rect>
  446. </property>
  447. <property name="styleSheet">
  448. <string notr="true">background-image:none;
  449. image:none;
  450. border-image: url(:/assets/pvp_intro/picture.jpg);</string>
  451. </property>
  452. <property name="frameShape">
  453. <enum>QFrame::WinPanel</enum>
  454. </property>
  455. <property name="frameShadow">
  456. <enum>QFrame::Raised</enum>
  457. </property>
  458. <property name="text">
  459. <string>&lt;html&gt;&lt;head/&gt;&lt;body&gt;&lt;p&gt;&lt;br/&gt;&lt;/p&gt;&lt;/body&gt;&lt;/html&gt;</string>
  460. </property>
  461. </widget>
  462. <widget class="QLabel" name="title_5">
  463. <property name="geometry">
  464. <rect>
  465. <x>80</x>
  466. <y>156</y>
  467. <width>334</width>
  468. <height>216</height>
  469. </rect>
  470. </property>
  471. <property name="sizePolicy">
  472. <sizepolicy hsizetype="Minimum" vsizetype="Minimum">
  473. <horstretch>0</horstretch>
  474. <verstretch>0</verstretch>
  475. </sizepolicy>
  476. </property>
  477. <property name="styleSheet">
  478. <string notr="true">background: none;
  479. background-image:none;
  480. image: none;</string>
  481. </property>
  482. <property name="text">
  483. <string>&lt;html&gt;&lt;head/&gt;&lt;body&gt;&lt;p align=&quot;center&quot;&gt;&lt;span style=&quot; font-size:11pt; color:#fdeaa8;&quot;&gt;Этот режим включает в себя стандартное пошаговое сражение между двумя игроками в отсутствие какого-либо сценария. Каждому игроку будет предложено выбрать расу и набрать армию в соответствии с указанным бюджетом. &lt;/span&gt;&lt;/p&gt;&lt;/body&gt;&lt;/html&gt;</string>
  484. </property>
  485. <property name="alignment">
  486. <set>Qt::AlignLeading|Qt::AlignLeft|Qt::AlignTop</set>
  487. </property>
  488. <property name="wordWrap">
  489. <bool>true</bool>
  490. </property>
  491. <property name="margin">
  492. <number>20</number>
  493. </property>
  494. </widget>
  495. <widget class="QLabel" name="divider_2">
  496. <property name="geometry">
  497. <rect>
  498. <x>80</x>
  499. <y>110</y>
  500. <width>334</width>
  501. <height>39</height>
  502. </rect>
  503. </property>
  504. <property name="sizePolicy">
  505. <sizepolicy hsizetype="Minimum" vsizetype="Minimum">
  506. <horstretch>0</horstretch>
  507. <verstretch>0</verstretch>
  508. </sizepolicy>
  509. </property>
  510. <property name="styleSheet">
  511. <string notr="true">background: none;
  512. background-image:none;
  513. image: url(:/assets/recruitscene/divider.png);</string>
  514. </property>
  515. <property name="text">
  516. <string>&lt;html&gt;&lt;head/&gt;&lt;body&gt;&lt;p align=&quot;center&quot;&gt;&lt;br/&gt;&lt;/p&gt;&lt;/body&gt;&lt;/html&gt;</string>
  517. </property>
  518. </widget>
  519. <widget class="QWidget" name="widget_13" native="true">
  520. <property name="geometry">
  521. <rect>
  522. <x>528</x>
  523. <y>379</y>
  524. <width>356</width>
  525. <height>200</height>
  526. </rect>
  527. </property>
  528. <property name="minimumSize">
  529. <size>
  530. <width>0</width>
  531. <height>200</height>
  532. </size>
  533. </property>
  534. <property name="styleSheet">
  535. <string notr="true">background: none;
  536. background-image:none;
  537. image: none;</string>
  538. </property>
  539. <layout class="QGridLayout" name="gridLayout_5">
  540. <item row="1" column="0">
  541. <spacer name="horizontalSpacer_7">
  542. <property name="orientation">
  543. <enum>Qt::Horizontal</enum>
  544. </property>
  545. <property name="sizeHint" stdset="0">
  546. <size>
  547. <width>40</width>
  548. <height>20</height>
  549. </size>
  550. </property>
  551. </spacer>
  552. </item>
  553. <item row="0" column="0">
  554. <widget class="QLabel" name="label_1">
  555. <property name="sizePolicy">
  556. <sizepolicy hsizetype="Fixed" vsizetype="Minimum">
  557. <horstretch>0</horstretch>
  558. <verstretch>0</verstretch>
  559. </sizepolicy>
  560. </property>
  561. <property name="text">
  562. <string>&lt;html&gt;&lt;head/&gt;&lt;body&gt;&lt;p align=&quot;center&quot;&gt;&lt;span style=&quot; font-size:12pt; color:#b12d2d;&quot;&gt;Кол-во монет:&lt;/span&gt;&lt;/p&gt;&lt;/body&gt;&lt;/html&gt;</string>
  563. </property>
  564. </widget>
  565. </item>
  566. <item row="1" column="1">
  567. <spacer name="horizontalSpacer_8">
  568. <property name="orientation">
  569. <enum>Qt::Horizontal</enum>
  570. </property>
  571. <property name="sizeHint" stdset="0">
  572. <size>
  573. <width>40</width>
  574. <height>20</height>
  575. </size>
  576. </property>
  577. </spacer>
  578. </item>
  579. <item row="0" column="1" colspan="2">
  580. <widget class="QLineEdit" name="money">
  581. <property name="text">
  582. <string>1000</string>
  583. </property>
  584. </widget>
  585. </item>
  586. </layout>
  587. </widget>
  588. <widget class="QLabel" name="title_6">
  589. <property name="geometry">
  590. <rect>
  591. <x>110</x>
  592. <y>70</y>
  593. <width>303</width>
  594. <height>28</height>
  595. </rect>
  596. </property>
  597. <property name="sizePolicy">
  598. <sizepolicy hsizetype="Minimum" vsizetype="Minimum">
  599. <horstretch>0</horstretch>
  600. <verstretch>0</verstretch>
  601. </sizepolicy>
  602. </property>
  603. <property name="styleSheet">
  604. <string notr="true">background: none;
  605. background-image:none;
  606. image: none;</string>
  607. </property>
  608. <property name="text">
  609. <string>&lt;html&gt;&lt;head/&gt;&lt;body&gt;&lt;p align=&quot;center&quot;&gt;&lt;span style=&quot; font-size:14pt; color:#b12d2d;&quot;&gt;Режим: игрок против игрока&lt;/span&gt;&lt;/p&gt;&lt;/body&gt;&lt;/html&gt;</string>
  610. </property>
  611. </widget>
  612. </widget>
  613. </item>
  614. </layout>
  615. </widget>
  616. </item>
  617. <item row="2" column="0">
  618. <spacer name="verticalSpacer_2">
  619. <property name="orientation">
  620. <enum>Qt::Vertical</enum>
  621. </property>
  622. <property name="sizeHint" stdset="0">
  623. <size>
  624. <width>20</width>
  625. <height>179</height>
  626. </size>
  627. </property>
  628. </spacer>
  629. </item>
  630. <item row="0" column="0">
  631. <spacer name="verticalSpacer">
  632. <property name="orientation">
  633. <enum>Qt::Vertical</enum>
  634. </property>
  635. <property name="sizeHint" stdset="0">
  636. <size>
  637. <width>20</width>
  638. <height>180</height>
  639. </size>
  640. </property>
  641. </spacer>
  642. </item>
  643. </layout>
  644. </widget>
  645. </item>
  646. </layout>
  647. </widget>
  648. <customwidgets>
  649. <customwidget>
  650. <class>Scene</class>
  651. <extends>QWidget</extends>
  652. <header location="global">gui/scene.h</header>
  653. <container>1</container>
  654. </customwidget>
  655. </customwidgets>
  656. <resources/>
  657. <connections/>
  658. </ui>