mainmenu.ui 11 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355
  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>1000</width>
  10. <height>800</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">background-image: url(:/assets/main_menu/background.png);</string>
  36. </property>
  37. <layout class="QGridLayout" name="gridLayout_2">
  38. <property name="leftMargin">
  39. <number>25</number>
  40. </property>
  41. <property name="topMargin">
  42. <number>0</number>
  43. </property>
  44. <property name="rightMargin">
  45. <number>0</number>
  46. </property>
  47. <property name="bottomMargin">
  48. <number>0</number>
  49. </property>
  50. <property name="spacing">
  51. <number>0</number>
  52. </property>
  53. <item row="1" column="1">
  54. <widget class="QWidget" name="menu_" native="true">
  55. <property name="sizePolicy">
  56. <sizepolicy hsizetype="Fixed" vsizetype="Fixed">
  57. <horstretch>0</horstretch>
  58. <verstretch>0</verstretch>
  59. </sizepolicy>
  60. </property>
  61. <property name="minimumSize">
  62. <size>
  63. <width>400</width>
  64. <height>600</height>
  65. </size>
  66. </property>
  67. <property name="maximumSize">
  68. <size>
  69. <width>400</width>
  70. <height>600</height>
  71. </size>
  72. </property>
  73. <property name="styleSheet">
  74. <string notr="true">border-image:none;
  75. background-image:none;</string>
  76. </property>
  77. <layout class="QGridLayout" name="gridLayout_3">
  78. <property name="leftMargin">
  79. <number>0</number>
  80. </property>
  81. <property name="topMargin">
  82. <number>0</number>
  83. </property>
  84. <property name="rightMargin">
  85. <number>0</number>
  86. </property>
  87. <property name="bottomMargin">
  88. <number>0</number>
  89. </property>
  90. <property name="spacing">
  91. <number>0</number>
  92. </property>
  93. <item row="0" column="0">
  94. <widget class="QWidget" name="game_widget_1" native="true">
  95. <property name="styleSheet">
  96. <string notr="true">background-color: rgb(0, 0, 0);</string>
  97. </property>
  98. <widget class="QPushButton" name="hotseat_button">
  99. <property name="geometry">
  100. <rect>
  101. <x>70</x>
  102. <y>180</y>
  103. <width>230</width>
  104. <height>70</height>
  105. </rect>
  106. </property>
  107. <property name="sizePolicy">
  108. <sizepolicy hsizetype="Expanding" vsizetype="Expanding">
  109. <horstretch>0</horstretch>
  110. <verstretch>0</verstretch>
  111. </sizepolicy>
  112. </property>
  113. <property name="minimumSize">
  114. <size>
  115. <width>0</width>
  116. <height>0</height>
  117. </size>
  118. </property>
  119. <property name="maximumSize">
  120. <size>
  121. <width>16777215</width>
  122. <height>16777215</height>
  123. </size>
  124. </property>
  125. <property name="font">
  126. <font>
  127. <family>Viking Cyr</family>
  128. <pointsize>10</pointsize>
  129. <weight>50</weight>
  130. <italic>false</italic>
  131. <bold>false</bold>
  132. </font>
  133. </property>
  134. <property name="styleSheet">
  135. <string notr="true">font: 10pt &quot;Viking Cyr&quot;;
  136. color: rgb(255, 255, 0);
  137. border-image: url(:/assets/main_menu/hotseat_button.png);
  138. </string>
  139. </property>
  140. <property name="text">
  141. <string/>
  142. </property>
  143. <property name="checkable">
  144. <bool>false</bool>
  145. </property>
  146. <property name="flat">
  147. <bool>true</bool>
  148. </property>
  149. </widget>
  150. <widget class="QWidget" name="widget" native="true">
  151. <property name="geometry">
  152. <rect>
  153. <x>0</x>
  154. <y>10</y>
  155. <width>150</width>
  156. <height>150</height>
  157. </rect>
  158. </property>
  159. <property name="styleSheet">
  160. <string notr="true">border-image: url(:/assets/common/logo.png);</string>
  161. </property>
  162. </widget>
  163. <widget class="QPushButton" name="leave_game_button">
  164. <property name="geometry">
  165. <rect>
  166. <x>70</x>
  167. <y>340</y>
  168. <width>230</width>
  169. <height>70</height>
  170. </rect>
  171. </property>
  172. <property name="sizePolicy">
  173. <sizepolicy hsizetype="Expanding" vsizetype="Expanding">
  174. <horstretch>0</horstretch>
  175. <verstretch>0</verstretch>
  176. </sizepolicy>
  177. </property>
  178. <property name="minimumSize">
  179. <size>
  180. <width>0</width>
  181. <height>0</height>
  182. </size>
  183. </property>
  184. <property name="maximumSize">
  185. <size>
  186. <width>16777215</width>
  187. <height>16777215</height>
  188. </size>
  189. </property>
  190. <property name="styleSheet">
  191. <string notr="true">font: 10pt &quot;Viking Cyr&quot;;
  192. color: rgb(255, 255, 0);
  193. border-image: url(:/assets/main_menu/leave_game_button.png);</string>
  194. </property>
  195. <property name="text">
  196. <string/>
  197. </property>
  198. </widget>
  199. <widget class="QLabel" name="title_">
  200. <property name="geometry">
  201. <rect>
  202. <x>150</x>
  203. <y>60</y>
  204. <width>191</width>
  205. <height>31</height>
  206. </rect>
  207. </property>
  208. <property name="sizePolicy">
  209. <sizepolicy hsizetype="Ignored" vsizetype="Fixed">
  210. <horstretch>0</horstretch>
  211. <verstretch>0</verstretch>
  212. </sizepolicy>
  213. </property>
  214. <property name="styleSheet">
  215. <string notr="true">font: 14pt &quot;Barocco Initial&quot;;
  216. border-image:none;
  217. background-image:none;</string>
  218. </property>
  219. <property name="text">
  220. <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>
  221. </property>
  222. <property name="wordWrap">
  223. <bool>true</bool>
  224. </property>
  225. </widget>
  226. <widget class="QPushButton" name="about_us_button">
  227. <property name="geometry">
  228. <rect>
  229. <x>70</x>
  230. <y>260</y>
  231. <width>230</width>
  232. <height>70</height>
  233. </rect>
  234. </property>
  235. <property name="sizePolicy">
  236. <sizepolicy hsizetype="Expanding" vsizetype="Expanding">
  237. <horstretch>0</horstretch>
  238. <verstretch>0</verstretch>
  239. </sizepolicy>
  240. </property>
  241. <property name="minimumSize">
  242. <size>
  243. <width>0</width>
  244. <height>0</height>
  245. </size>
  246. </property>
  247. <property name="maximumSize">
  248. <size>
  249. <width>16777215</width>
  250. <height>16777215</height>
  251. </size>
  252. </property>
  253. <property name="styleSheet">
  254. <string notr="true">font: 10pt &quot;Viking Cyr&quot;;
  255. color: rgb(255, 255, 0);
  256. border-image: url(:/assets/main_menu/about_us_button.png);</string>
  257. </property>
  258. <property name="text">
  259. <string/>
  260. </property>
  261. </widget>
  262. <zorder>title_</zorder>
  263. <zorder>leave_game_button</zorder>
  264. <zorder>hotseat_button</zorder>
  265. <zorder>widget</zorder>
  266. <zorder>about_us_button</zorder>
  267. </widget>
  268. </item>
  269. </layout>
  270. </widget>
  271. </item>
  272. <item row="2" column="1">
  273. <spacer name="verticalSpacer_2">
  274. <property name="orientation">
  275. <enum>Qt::Vertical</enum>
  276. </property>
  277. <property name="sizeHint" stdset="0">
  278. <size>
  279. <width>20</width>
  280. <height>40</height>
  281. </size>
  282. </property>
  283. </spacer>
  284. </item>
  285. <item row="0" column="3" rowspan="3">
  286. <widget class="QLabel" name="tree_label">
  287. <property name="text">
  288. <string>TextLabel</string>
  289. </property>
  290. <property name="scaledContents">
  291. <bool>true</bool>
  292. </property>
  293. <property name="alignment">
  294. <set>Qt::AlignRight|Qt::AlignTop|Qt::AlignTrailing</set>
  295. </property>
  296. </widget>
  297. </item>
  298. <item row="1" column="2">
  299. <spacer name="horizontalSpacer">
  300. <property name="orientation">
  301. <enum>Qt::Horizontal</enum>
  302. </property>
  303. <property name="sizeHint" stdset="0">
  304. <size>
  305. <width>40</width>
  306. <height>20</height>
  307. </size>
  308. </property>
  309. </spacer>
  310. </item>
  311. <item row="0" column="1">
  312. <spacer name="verticalSpacer">
  313. <property name="orientation">
  314. <enum>Qt::Vertical</enum>
  315. </property>
  316. <property name="sizeType">
  317. <enum>QSizePolicy::Expanding</enum>
  318. </property>
  319. <property name="sizeHint" stdset="0">
  320. <size>
  321. <width>20</width>
  322. <height>40</height>
  323. </size>
  324. </property>
  325. </spacer>
  326. </item>
  327. <item row="0" column="0" rowspan="3">
  328. <spacer name="horizontalSpacer_2">
  329. <property name="orientation">
  330. <enum>Qt::Horizontal</enum>
  331. </property>
  332. <property name="sizeHint" stdset="0">
  333. <size>
  334. <width>40</width>
  335. <height>20</height>
  336. </size>
  337. </property>
  338. </spacer>
  339. </item>
  340. </layout>
  341. </widget>
  342. </item>
  343. </layout>
  344. </widget>
  345. <customwidgets>
  346. <customwidget>
  347. <class>Scene</class>
  348. <extends>QWidget</extends>
  349. <header location="global">gui/scene.h</header>
  350. <container>1</container>
  351. </customwidget>
  352. </customwidgets>
  353. <resources/>
  354. <connections/>
  355. </ui>