mainmenu.ui 13 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413
  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>1626</width>
  10. <height>1186</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="content_" native="true">
  34. <property name="styleSheet">
  35. <string notr="true">border-image: url(:/assets/common/background.jpg);</string>
  36. </property>
  37. <layout class="QGridLayout" name="gridLayout_2">
  38. <property name="leftMargin">
  39. <number>75</number>
  40. </property>
  41. <property name="topMargin">
  42. <number>150</number>
  43. </property>
  44. <item row="0" column="0">
  45. <widget class="QWidget" name="menu_" native="true">
  46. <property name="minimumSize">
  47. <size>
  48. <width>400</width>
  49. <height>600</height>
  50. </size>
  51. </property>
  52. <property name="maximumSize">
  53. <size>
  54. <width>400</width>
  55. <height>600</height>
  56. </size>
  57. </property>
  58. <property name="styleSheet">
  59. <string notr="true">border-image:none;
  60. background-image:none;</string>
  61. </property>
  62. <layout class="QGridLayout" name="gridLayout_3">
  63. <property name="leftMargin">
  64. <number>0</number>
  65. </property>
  66. <property name="topMargin">
  67. <number>0</number>
  68. </property>
  69. <property name="rightMargin">
  70. <number>0</number>
  71. </property>
  72. <property name="bottomMargin">
  73. <number>0</number>
  74. </property>
  75. <property name="spacing">
  76. <number>0</number>
  77. </property>
  78. <item row="0" column="0">
  79. <widget class="QWidget" name="border_upleft_" native="true">
  80. <property name="minimumSize">
  81. <size>
  82. <width>8</width>
  83. <height>8</height>
  84. </size>
  85. </property>
  86. <property name="maximumSize">
  87. <size>
  88. <width>8</width>
  89. <height>8</height>
  90. </size>
  91. </property>
  92. <property name="styleSheet">
  93. <string notr="true">background:url(:/assets/window/opaque-border-topleft.png)</string>
  94. </property>
  95. </widget>
  96. </item>
  97. <item row="0" column="1">
  98. <widget class="QWidget" name="border_up_" native="true">
  99. <property name="minimumSize">
  100. <size>
  101. <width>8</width>
  102. <height>5</height>
  103. </size>
  104. </property>
  105. <property name="maximumSize">
  106. <size>
  107. <width>16777215</width>
  108. <height>5</height>
  109. </size>
  110. </property>
  111. <property name="styleSheet">
  112. <string notr="true">background:url(:/assets/window/opaque-border-top.png)</string>
  113. </property>
  114. </widget>
  115. </item>
  116. <item row="0" column="2">
  117. <widget class="QWidget" name="border_upright_" native="true">
  118. <property name="minimumSize">
  119. <size>
  120. <width>8</width>
  121. <height>8</height>
  122. </size>
  123. </property>
  124. <property name="maximumSize">
  125. <size>
  126. <width>8</width>
  127. <height>8</height>
  128. </size>
  129. </property>
  130. <property name="styleSheet">
  131. <string notr="true">background:url(:/assets/window/opaque-border-topright.png)</string>
  132. </property>
  133. </widget>
  134. </item>
  135. <item row="1" column="0">
  136. <widget class="QWidget" name="border_left_" native="true">
  137. <property name="minimumSize">
  138. <size>
  139. <width>5</width>
  140. <height>8</height>
  141. </size>
  142. </property>
  143. <property name="maximumSize">
  144. <size>
  145. <width>5</width>
  146. <height>16777215</height>
  147. </size>
  148. </property>
  149. <property name="styleSheet">
  150. <string notr="true">background:url(:/assets/window/opaque-border-left.png)</string>
  151. </property>
  152. </widget>
  153. </item>
  154. <item row="1" column="1">
  155. <widget class="QWidget" name="content" native="true">
  156. <property name="styleSheet">
  157. <string notr="true">background-image: url(:/assets/window/strong_translucent-background.png);</string>
  158. </property>
  159. <widget class="QPushButton" name="exit_button">
  160. <property name="geometry">
  161. <rect>
  162. <x>10</x>
  163. <y>350</y>
  164. <width>350</width>
  165. <height>100</height>
  166. </rect>
  167. </property>
  168. <property name="sizePolicy">
  169. <sizepolicy hsizetype="Expanding" vsizetype="Expanding">
  170. <horstretch>0</horstretch>
  171. <verstretch>0</verstretch>
  172. </sizepolicy>
  173. </property>
  174. <property name="minimumSize">
  175. <size>
  176. <width>350</width>
  177. <height>100</height>
  178. </size>
  179. </property>
  180. <property name="maximumSize">
  181. <size>
  182. <width>350</width>
  183. <height>100</height>
  184. </size>
  185. </property>
  186. <property name="styleSheet">
  187. <string notr="true">font: 10pt &quot;Viking Cyr&quot;;
  188. color: rgb(255, 255, 0);
  189. border-image: url(:/assets/window/button1.png);
  190. </string>
  191. </property>
  192. <property name="text">
  193. <string>Выйти из игры</string>
  194. </property>
  195. </widget>
  196. <widget class="QPushButton" name="pvp_local_battle_button">
  197. <property name="geometry">
  198. <rect>
  199. <x>10</x>
  200. <y>250</y>
  201. <width>350</width>
  202. <height>100</height>
  203. </rect>
  204. </property>
  205. <property name="sizePolicy">
  206. <sizepolicy hsizetype="Expanding" vsizetype="Expanding">
  207. <horstretch>0</horstretch>
  208. <verstretch>0</verstretch>
  209. </sizepolicy>
  210. </property>
  211. <property name="minimumSize">
  212. <size>
  213. <width>350</width>
  214. <height>100</height>
  215. </size>
  216. </property>
  217. <property name="maximumSize">
  218. <size>
  219. <width>350</width>
  220. <height>100</height>
  221. </size>
  222. </property>
  223. <property name="font">
  224. <font>
  225. <family>Viking Cyr</family>
  226. <pointsize>10</pointsize>
  227. <weight>50</weight>
  228. <italic>false</italic>
  229. <bold>false</bold>
  230. </font>
  231. </property>
  232. <property name="styleSheet">
  233. <string notr="true">font: 10pt &quot;Viking Cyr&quot;;
  234. color: rgb(255, 255, 0);
  235. border-image: url(:/assets/window/button1.png);
  236. </string>
  237. </property>
  238. <property name="text">
  239. <string>Игрок против игрока</string>
  240. </property>
  241. <property name="checkable">
  242. <bool>false</bool>
  243. </property>
  244. <property name="flat">
  245. <bool>true</bool>
  246. </property>
  247. </widget>
  248. <widget class="QLabel" name="title_">
  249. <property name="geometry">
  250. <rect>
  251. <x>170</x>
  252. <y>10</y>
  253. <width>191</width>
  254. <height>211</height>
  255. </rect>
  256. </property>
  257. <property name="sizePolicy">
  258. <sizepolicy hsizetype="Ignored" vsizetype="Fixed">
  259. <horstretch>0</horstretch>
  260. <verstretch>0</verstretch>
  261. </sizepolicy>
  262. </property>
  263. <property name="styleSheet">
  264. <string notr="true">font: 14pt &quot;Barocco Initial&quot;;
  265. border-image:none;
  266. background-image:none;</string>
  267. </property>
  268. <property name="text">
  269. <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>
  270. </property>
  271. <property name="wordWrap">
  272. <bool>true</bool>
  273. </property>
  274. </widget>
  275. <widget class="QWidget" name="widget" native="true">
  276. <property name="geometry">
  277. <rect>
  278. <x>10</x>
  279. <y>20</y>
  280. <width>150</width>
  281. <height>150</height>
  282. </rect>
  283. </property>
  284. <property name="styleSheet">
  285. <string notr="true">border-image: url(:/assets/common/logo.png);</string>
  286. </property>
  287. </widget>
  288. </widget>
  289. </item>
  290. <item row="1" column="2">
  291. <widget class="QWidget" name="border_right_" native="true">
  292. <property name="minimumSize">
  293. <size>
  294. <width>8</width>
  295. <height>8</height>
  296. </size>
  297. </property>
  298. <property name="maximumSize">
  299. <size>
  300. <width>8</width>
  301. <height>16777215</height>
  302. </size>
  303. </property>
  304. <property name="styleSheet">
  305. <string notr="true">background:url(:/assets/window/opaque-border-right.png)</string>
  306. </property>
  307. </widget>
  308. </item>
  309. <item row="2" column="0">
  310. <widget class="QWidget" name="border_botleft_" native="true">
  311. <property name="minimumSize">
  312. <size>
  313. <width>8</width>
  314. <height>8</height>
  315. </size>
  316. </property>
  317. <property name="maximumSize">
  318. <size>
  319. <width>8</width>
  320. <height>8</height>
  321. </size>
  322. </property>
  323. <property name="styleSheet">
  324. <string notr="true">background:url(:/assets/window/opaque-border-botleft.png)</string>
  325. </property>
  326. </widget>
  327. </item>
  328. <item row="2" column="1">
  329. <widget class="QWidget" name="border_bottom_" native="true">
  330. <property name="minimumSize">
  331. <size>
  332. <width>8</width>
  333. <height>8</height>
  334. </size>
  335. </property>
  336. <property name="maximumSize">
  337. <size>
  338. <width>16777215</width>
  339. <height>8</height>
  340. </size>
  341. </property>
  342. <property name="styleSheet">
  343. <string notr="true">background:url(:/assets/window/opaque-border-bottom.png)</string>
  344. </property>
  345. </widget>
  346. </item>
  347. <item row="2" column="2">
  348. <widget class="QWidget" name="border_botright_" native="true">
  349. <property name="minimumSize">
  350. <size>
  351. <width>8</width>
  352. <height>8</height>
  353. </size>
  354. </property>
  355. <property name="maximumSize">
  356. <size>
  357. <width>8</width>
  358. <height>8</height>
  359. </size>
  360. </property>
  361. <property name="styleSheet">
  362. <string notr="true">background:url(:/assets/window/opaque-border-botright.png)</string>
  363. </property>
  364. </widget>
  365. </item>
  366. </layout>
  367. </widget>
  368. </item>
  369. <item row="3" column="0">
  370. <spacer name="verticalSpacer">
  371. <property name="orientation">
  372. <enum>Qt::Vertical</enum>
  373. </property>
  374. <property name="sizeType">
  375. <enum>QSizePolicy::MinimumExpanding</enum>
  376. </property>
  377. <property name="sizeHint" stdset="0">
  378. <size>
  379. <width>20</width>
  380. <height>40</height>
  381. </size>
  382. </property>
  383. </spacer>
  384. </item>
  385. <item row="0" column="1">
  386. <spacer name="horizontalSpacer">
  387. <property name="orientation">
  388. <enum>Qt::Horizontal</enum>
  389. </property>
  390. <property name="sizeHint" stdset="0">
  391. <size>
  392. <width>40</width>
  393. <height>20</height>
  394. </size>
  395. </property>
  396. </spacer>
  397. </item>
  398. </layout>
  399. </widget>
  400. </item>
  401. </layout>
  402. </widget>
  403. <customwidgets>
  404. <customwidget>
  405. <class>Scene</class>
  406. <extends>QWidget</extends>
  407. <header location="global">gui/scene.h</header>
  408. <container>1</container>
  409. </customwidget>
  410. </customwidgets>
  411. <resources/>
  412. <connections/>
  413. </ui>