mainmenu.ui 11 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354
  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"/>
  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">border-image:none;</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/main_menu/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. <property name="autoRepeatDelay">
  199. <number>100</number>
  200. </property>
  201. <property name="autoRepeatInterval">
  202. <number>20</number>
  203. </property>
  204. </widget>
  205. <widget class="QLabel" name="title_">
  206. <property name="geometry">
  207. <rect>
  208. <x>150</x>
  209. <y>60</y>
  210. <width>191</width>
  211. <height>31</height>
  212. </rect>
  213. </property>
  214. <property name="sizePolicy">
  215. <sizepolicy hsizetype="Ignored" vsizetype="Fixed">
  216. <horstretch>0</horstretch>
  217. <verstretch>0</verstretch>
  218. </sizepolicy>
  219. </property>
  220. <property name="styleSheet">
  221. <string notr="true">font: 14pt &quot;Barocco Initial&quot;;
  222. border-image:none;
  223. background-image:none;</string>
  224. </property>
  225. <property name="text">
  226. <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>
  227. </property>
  228. <property name="wordWrap">
  229. <bool>true</bool>
  230. </property>
  231. </widget>
  232. <widget class="QPushButton" name="about_us_button">
  233. <property name="geometry">
  234. <rect>
  235. <x>70</x>
  236. <y>260</y>
  237. <width>230</width>
  238. <height>70</height>
  239. </rect>
  240. </property>
  241. <property name="sizePolicy">
  242. <sizepolicy hsizetype="Expanding" vsizetype="Expanding">
  243. <horstretch>0</horstretch>
  244. <verstretch>0</verstretch>
  245. </sizepolicy>
  246. </property>
  247. <property name="minimumSize">
  248. <size>
  249. <width>0</width>
  250. <height>0</height>
  251. </size>
  252. </property>
  253. <property name="maximumSize">
  254. <size>
  255. <width>16777215</width>
  256. <height>16777215</height>
  257. </size>
  258. </property>
  259. <property name="styleSheet">
  260. <string notr="true">font: 10pt &quot;Viking Cyr&quot;;
  261. color: rgb(255, 255, 0);
  262. border-image: url(:/assets/main_menu/about_us_button.png);</string>
  263. </property>
  264. <property name="text">
  265. <string/>
  266. </property>
  267. <property name="autoRepeatDelay">
  268. <number>10</number>
  269. </property>
  270. <property name="autoRepeatInterval">
  271. <number>10</number>
  272. </property>
  273. </widget>
  274. <zorder>title_</zorder>
  275. <zorder>leave_game_button</zorder>
  276. <zorder>hotseat_button</zorder>
  277. <zorder>widget</zorder>
  278. <zorder>about_us_button</zorder>
  279. </widget>
  280. </item>
  281. </layout>
  282. </widget>
  283. </item>
  284. <item row="0" column="0" rowspan="3">
  285. <spacer name="horizontalSpacer_2">
  286. <property name="orientation">
  287. <enum>Qt::Horizontal</enum>
  288. </property>
  289. <property name="sizeHint" stdset="0">
  290. <size>
  291. <width>40</width>
  292. <height>20</height>
  293. </size>
  294. </property>
  295. </spacer>
  296. </item>
  297. <item row="2" column="1">
  298. <spacer name="verticalSpacer_2">
  299. <property name="orientation">
  300. <enum>Qt::Vertical</enum>
  301. </property>
  302. <property name="sizeHint" stdset="0">
  303. <size>
  304. <width>20</width>
  305. <height>40</height>
  306. </size>
  307. </property>
  308. </spacer>
  309. </item>
  310. <item row="0" column="1">
  311. <spacer name="verticalSpacer">
  312. <property name="orientation">
  313. <enum>Qt::Vertical</enum>
  314. </property>
  315. <property name="sizeType">
  316. <enum>QSizePolicy::Expanding</enum>
  317. </property>
  318. <property name="sizeHint" stdset="0">
  319. <size>
  320. <width>20</width>
  321. <height>40</height>
  322. </size>
  323. </property>
  324. </spacer>
  325. </item>
  326. <item row="0" column="2" rowspan="3">
  327. <spacer name="horizontalSpacer">
  328. <property name="orientation">
  329. <enum>Qt::Horizontal</enum>
  330. </property>
  331. <property name="sizeHint" stdset="0">
  332. <size>
  333. <width>40</width>
  334. <height>20</height>
  335. </size>
  336. </property>
  337. </spacer>
  338. </item>
  339. </layout>
  340. </widget>
  341. </item>
  342. </layout>
  343. </widget>
  344. <customwidgets>
  345. <customwidget>
  346. <class>Scene</class>
  347. <extends>QWidget</extends>
  348. <header>gui/scene.h</header>
  349. <container>1</container>
  350. </customwidget>
  351. </customwidgets>
  352. <resources/>
  353. <connections/>
  354. </ui>