mainmenu.ui 15 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480
  1. <?xml version="1.0" encoding="UTF-8"?>
  2. <ui version="4.0">
  3. <class>MainMenu</class>
  4. <widget class="Scene" name="MainMenu">
  5. <property name="geometry">
  6. <rect>
  7. <x>0</x>
  8. <y>0</y>
  9. <width>1145</width>
  10. <height>702</height>
  11. </rect>
  12. </property>
  13. <property name="windowTitle">
  14. <string>Form</string>
  15. </property>
  16. <layout class="QGridLayout" name="gridLayout">
  17. <property name="leftMargin">
  18. <number>0</number>
  19. </property>
  20. <property name="topMargin">
  21. <number>0</number>
  22. </property>
  23. <property name="rightMargin">
  24. <number>0</number>
  25. </property>
  26. <property name="bottomMargin">
  27. <number>0</number>
  28. </property>
  29. <property name="spacing">
  30. <number>0</number>
  31. </property>
  32. <item row="0" column="0">
  33. <widget class="QWidget" name="topleft_border_" native="true">
  34. <property name="minimumSize">
  35. <size>
  36. <width>45</width>
  37. <height>45</height>
  38. </size>
  39. </property>
  40. <property name="maximumSize">
  41. <size>
  42. <width>45</width>
  43. <height>45</height>
  44. </size>
  45. </property>
  46. <property name="styleSheet">
  47. <string notr="true">border-image: url(:/assets/window/thick_opaque-border-topleft.png);</string>
  48. </property>
  49. </widget>
  50. </item>
  51. <item row="0" column="1">
  52. <widget class="QWidget" name="top_border_" native="true">
  53. <property name="styleSheet">
  54. <string notr="true">background-image: url(:/assets/window/thick_opaque-border-top.png);</string>
  55. </property>
  56. </widget>
  57. </item>
  58. <item row="0" column="2">
  59. <widget class="QWidget" name="topright_border_" native="true">
  60. <property name="minimumSize">
  61. <size>
  62. <width>45</width>
  63. <height>45</height>
  64. </size>
  65. </property>
  66. <property name="maximumSize">
  67. <size>
  68. <width>45</width>
  69. <height>45</height>
  70. </size>
  71. </property>
  72. <property name="styleSheet">
  73. <string notr="true">background-image: url(:/assets/window/thick_opaque-border-topright.png);</string>
  74. </property>
  75. </widget>
  76. </item>
  77. <item row="1" column="0">
  78. <widget class="QWidget" name="left_border_" native="true">
  79. <property name="styleSheet">
  80. <string notr="true">background-image: url(:/assets/window/thick_opaque-border-left.png);</string>
  81. </property>
  82. </widget>
  83. </item>
  84. <item row="1" column="1">
  85. <widget class="QWidget" name="content_" native="true">
  86. <property name="styleSheet">
  87. <string notr="true">background-image: url(:/assets/window/thick_opaque-background.png);</string>
  88. </property>
  89. <layout class="QGridLayout" name="gridLayout_2">
  90. <item row="2" column="0">
  91. <widget class="QWidget" name="menu_" native="true">
  92. <property name="maximumSize">
  93. <size>
  94. <width>400</width>
  95. <height>200</height>
  96. </size>
  97. </property>
  98. <layout class="QVBoxLayout" name="verticalLayout">
  99. <item>
  100. <widget class="QPushButton" name="pvp_local_battle_button">
  101. <property name="sizePolicy">
  102. <sizepolicy hsizetype="Expanding" vsizetype="Expanding">
  103. <horstretch>0</horstretch>
  104. <verstretch>0</verstretch>
  105. </sizepolicy>
  106. </property>
  107. <property name="minimumSize">
  108. <size>
  109. <width>350</width>
  110. <height>100</height>
  111. </size>
  112. </property>
  113. <property name="maximumSize">
  114. <size>
  115. <width>350</width>
  116. <height>100</height>
  117. </size>
  118. </property>
  119. <property name="font">
  120. <font>
  121. <family>Viking Cyr</family>
  122. <pointsize>10</pointsize>
  123. <weight>50</weight>
  124. <italic>false</italic>
  125. <bold>false</bold>
  126. </font>
  127. </property>
  128. <property name="styleSheet">
  129. <string notr="true">font: 10pt &quot;Viking Cyr&quot;;
  130. color: rgb(255, 255, 0);
  131. border-image: url(:/assets/window/button1.png);
  132. </string>
  133. </property>
  134. <property name="text">
  135. <string>Игрок против игрока</string>
  136. </property>
  137. <property name="checkable">
  138. <bool>false</bool>
  139. </property>
  140. <property name="flat">
  141. <bool>true</bool>
  142. </property>
  143. </widget>
  144. </item>
  145. <item>
  146. <widget class="QPushButton" name="exit_button">
  147. <property name="sizePolicy">
  148. <sizepolicy hsizetype="Expanding" vsizetype="Expanding">
  149. <horstretch>0</horstretch>
  150. <verstretch>0</verstretch>
  151. </sizepolicy>
  152. </property>
  153. <property name="minimumSize">
  154. <size>
  155. <width>350</width>
  156. <height>100</height>
  157. </size>
  158. </property>
  159. <property name="maximumSize">
  160. <size>
  161. <width>350</width>
  162. <height>100</height>
  163. </size>
  164. </property>
  165. <property name="styleSheet">
  166. <string notr="true">font: 10pt &quot;Viking Cyr&quot;;
  167. color: rgb(255, 255, 0);
  168. border-image: url(:/assets/window/button1.png);
  169. </string>
  170. </property>
  171. <property name="text">
  172. <string>Выйти из игры</string>
  173. </property>
  174. </widget>
  175. </item>
  176. </layout>
  177. </widget>
  178. </item>
  179. <item row="3" column="0">
  180. <spacer name="verticalSpacer">
  181. <property name="orientation">
  182. <enum>Qt::Vertical</enum>
  183. </property>
  184. <property name="sizeType">
  185. <enum>QSizePolicy::MinimumExpanding</enum>
  186. </property>
  187. <property name="sizeHint" stdset="0">
  188. <size>
  189. <width>20</width>
  190. <height>40</height>
  191. </size>
  192. </property>
  193. </spacer>
  194. </item>
  195. <item row="0" column="0" colspan="2">
  196. <widget class="QLabel" name="title_">
  197. <property name="sizePolicy">
  198. <sizepolicy hsizetype="Ignored" vsizetype="Fixed">
  199. <horstretch>0</horstretch>
  200. <verstretch>0</verstretch>
  201. </sizepolicy>
  202. </property>
  203. <property name="styleSheet">
  204. <string notr="true">font: 14pt &quot;Barocco Initial&quot;;</string>
  205. </property>
  206. <property name="text">
  207. <string>&lt;html&gt;&lt;head/&gt;&lt;body&gt;&lt;p align=&quot;center&quot;&gt;&lt;span style=&quot; font-size:18pt; color:#b12d2d;&quot;&gt;Супер-мега-крутая-игрушка-название-которой-мы-еще-не-придумали&lt;/span&gt;&lt;/p&gt;&lt;/body&gt;&lt;/html&gt;</string>
  208. </property>
  209. <property name="wordWrap">
  210. <bool>true</bool>
  211. </property>
  212. </widget>
  213. </item>
  214. <item row="1" column="0">
  215. <spacer name="verticalSpacer_2">
  216. <property name="orientation">
  217. <enum>Qt::Vertical</enum>
  218. </property>
  219. <property name="sizeType">
  220. <enum>QSizePolicy::MinimumExpanding</enum>
  221. </property>
  222. <property name="sizeHint" stdset="0">
  223. <size>
  224. <width>20</width>
  225. <height>40</height>
  226. </size>
  227. </property>
  228. </spacer>
  229. </item>
  230. <item row="1" column="1" rowspan="3">
  231. <widget class="QWidget" name="image" native="true">
  232. <property name="minimumSize">
  233. <size>
  234. <width>600</width>
  235. <height>400</height>
  236. </size>
  237. </property>
  238. <layout class="QGridLayout" name="gridLayout_3">
  239. <property name="leftMargin">
  240. <number>0</number>
  241. </property>
  242. <property name="topMargin">
  243. <number>0</number>
  244. </property>
  245. <property name="rightMargin">
  246. <number>0</number>
  247. </property>
  248. <property name="bottomMargin">
  249. <number>0</number>
  250. </property>
  251. <property name="spacing">
  252. <number>0</number>
  253. </property>
  254. <item row="0" column="0">
  255. <widget class="QWidget" name="widget" native="true">
  256. <property name="minimumSize">
  257. <size>
  258. <width>8</width>
  259. <height>8</height>
  260. </size>
  261. </property>
  262. <property name="maximumSize">
  263. <size>
  264. <width>8</width>
  265. <height>8</height>
  266. </size>
  267. </property>
  268. <property name="styleSheet">
  269. <string notr="true">background:url(:/assets/window/opaque-border-topleft.png)</string>
  270. </property>
  271. </widget>
  272. </item>
  273. <item row="0" column="1">
  274. <widget class="QWidget" name="widget_2" native="true">
  275. <property name="minimumSize">
  276. <size>
  277. <width>0</width>
  278. <height>5</height>
  279. </size>
  280. </property>
  281. <property name="maximumSize">
  282. <size>
  283. <width>16777215</width>
  284. <height>5</height>
  285. </size>
  286. </property>
  287. <property name="styleSheet">
  288. <string notr="true">background:url(:/assets/window/opaque-border-top.png)</string>
  289. </property>
  290. </widget>
  291. </item>
  292. <item row="0" column="2">
  293. <widget class="QWidget" name="widget_3" native="true">
  294. <property name="minimumSize">
  295. <size>
  296. <width>8</width>
  297. <height>8</height>
  298. </size>
  299. </property>
  300. <property name="maximumSize">
  301. <size>
  302. <width>8</width>
  303. <height>8</height>
  304. </size>
  305. </property>
  306. <property name="styleSheet">
  307. <string notr="true">background:url(:/assets/window/opaque-border-topright.png)</string>
  308. </property>
  309. </widget>
  310. </item>
  311. <item row="1" column="0">
  312. <widget class="QWidget" name="widget_4" native="true">
  313. <property name="minimumSize">
  314. <size>
  315. <width>5</width>
  316. <height>0</height>
  317. </size>
  318. </property>
  319. <property name="maximumSize">
  320. <size>
  321. <width>5</width>
  322. <height>16777215</height>
  323. </size>
  324. </property>
  325. <property name="styleSheet">
  326. <string notr="true">background:url(:/assets/window/opaque-border-left.png)</string>
  327. </property>
  328. </widget>
  329. </item>
  330. <item row="1" column="1">
  331. <widget class="QWidget" name="widget_5" native="true">
  332. <property name="styleSheet">
  333. <string notr="true">border-image: url(:/assets/common/background.jpg);</string>
  334. </property>
  335. </widget>
  336. </item>
  337. <item row="1" column="2">
  338. <widget class="QWidget" name="widget_6" native="true">
  339. <property name="maximumSize">
  340. <size>
  341. <width>8</width>
  342. <height>16777215</height>
  343. </size>
  344. </property>
  345. <property name="styleSheet">
  346. <string notr="true">background:url(:/assets/window/opaque-border-right.png)</string>
  347. </property>
  348. </widget>
  349. </item>
  350. <item row="2" column="0">
  351. <widget class="QWidget" name="widget_8" native="true">
  352. <property name="minimumSize">
  353. <size>
  354. <width>8</width>
  355. <height>8</height>
  356. </size>
  357. </property>
  358. <property name="maximumSize">
  359. <size>
  360. <width>8</width>
  361. <height>8</height>
  362. </size>
  363. </property>
  364. <property name="styleSheet">
  365. <string notr="true">background:url(:/assets/window/opaque-border-botleft.png)</string>
  366. </property>
  367. </widget>
  368. </item>
  369. <item row="2" column="1">
  370. <widget class="QWidget" name="widget_9" native="true">
  371. <property name="maximumSize">
  372. <size>
  373. <width>16777215</width>
  374. <height>8</height>
  375. </size>
  376. </property>
  377. <property name="styleSheet">
  378. <string notr="true">background:url(:/assets/window/opaque-border-bottom.png)</string>
  379. </property>
  380. </widget>
  381. </item>
  382. <item row="2" column="2">
  383. <widget class="QWidget" name="widget_7" native="true">
  384. <property name="minimumSize">
  385. <size>
  386. <width>8</width>
  387. <height>8</height>
  388. </size>
  389. </property>
  390. <property name="maximumSize">
  391. <size>
  392. <width>8</width>
  393. <height>8</height>
  394. </size>
  395. </property>
  396. <property name="styleSheet">
  397. <string notr="true">background:url(:/assets/window/opaque-border-botright.png)</string>
  398. </property>
  399. </widget>
  400. </item>
  401. </layout>
  402. </widget>
  403. </item>
  404. </layout>
  405. </widget>
  406. </item>
  407. <item row="1" column="2">
  408. <widget class="QWidget" name="right_border_" native="true">
  409. <property name="styleSheet">
  410. <string notr="true">background-image: url(:/assets/window/thick_opaque-border-right.png);</string>
  411. </property>
  412. </widget>
  413. </item>
  414. <item row="2" column="0">
  415. <widget class="QWidget" name="botleft_border_" native="true">
  416. <property name="minimumSize">
  417. <size>
  418. <width>45</width>
  419. <height>45</height>
  420. </size>
  421. </property>
  422. <property name="maximumSize">
  423. <size>
  424. <width>45</width>
  425. <height>45</height>
  426. </size>
  427. </property>
  428. <property name="styleSheet">
  429. <string notr="true">background-image: url(:/assets/window/thick_opaque-border-botleft.png);</string>
  430. </property>
  431. </widget>
  432. </item>
  433. <item row="2" column="1">
  434. <widget class="QWidget" name="bottom_border_" native="true">
  435. <property name="styleSheet">
  436. <string notr="true">background-image: url(:/assets/window/thick_opaque-border-bottom.png);</string>
  437. </property>
  438. </widget>
  439. </item>
  440. <item row="2" column="2">
  441. <widget class="QWidget" name="botright_border_" native="true">
  442. <property name="minimumSize">
  443. <size>
  444. <width>45</width>
  445. <height>45</height>
  446. </size>
  447. </property>
  448. <property name="maximumSize">
  449. <size>
  450. <width>45</width>
  451. <height>45</height>
  452. </size>
  453. </property>
  454. <property name="styleSheet">
  455. <string notr="true">background-image: url(:/assets/window/thick_opaque-border-botright.png);</string>
  456. </property>
  457. </widget>
  458. </item>
  459. </layout>
  460. <zorder>content_</zorder>
  461. <zorder>top_border_</zorder>
  462. <zorder>topleft_border_</zorder>
  463. <zorder>left_border_</zorder>
  464. <zorder>botleft_border_</zorder>
  465. <zorder>bottom_border_</zorder>
  466. <zorder>botright_border_</zorder>
  467. <zorder>right_border_</zorder>
  468. <zorder>topright_border_</zorder>
  469. </widget>
  470. <customwidgets>
  471. <customwidget>
  472. <class>Scene</class>
  473. <extends>QWidget</extends>
  474. <header location="global">gui/scene.h</header>
  475. <container>1</container>
  476. </customwidget>
  477. </customwidgets>
  478. <resources/>
  479. <connections/>
  480. </ui>