mainwindow_moc.ui 9.8 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352
  1. <?xml version="1.0" encoding="UTF-8"?>
  2. <ui version="4.0">
  3. <class>MainWindow</class>
  4. <widget class="QMainWindow" name="MainWindow">
  5. <property name="geometry">
  6. <rect>
  7. <x>0</x>
  8. <y>0</y>
  9. <width>800</width>
  10. <height>410</height>
  11. </rect>
  12. </property>
  13. <property name="sizePolicy">
  14. <sizepolicy hsizetype="Preferred" vsizetype="Preferred">
  15. <horstretch>0</horstretch>
  16. <verstretch>0</verstretch>
  17. </sizepolicy>
  18. </property>
  19. <property name="windowTitle">
  20. <string>VCMI Launcher</string>
  21. </property>
  22. <property name="windowIcon">
  23. <iconset>
  24. <normaloff>icons:menu-game.png</normaloff>icons:menu-game.png</iconset>
  25. </property>
  26. <property name="iconSize">
  27. <size>
  28. <width>64</width>
  29. <height>64</height>
  30. </size>
  31. </property>
  32. <widget class="QWidget" name="centralWidget">
  33. <layout class="QHBoxLayout" name="horizontalLayout">
  34. <item>
  35. <layout class="QVBoxLayout" name="verticalLayout">
  36. <item>
  37. <widget class="QToolButton" name="modslistButton">
  38. <property name="sizePolicy">
  39. <sizepolicy hsizetype="MinimumExpanding" vsizetype="Preferred">
  40. <horstretch>1</horstretch>
  41. <verstretch>10</verstretch>
  42. </sizepolicy>
  43. </property>
  44. <property name="minimumSize">
  45. <size>
  46. <width>0</width>
  47. <height>0</height>
  48. </size>
  49. </property>
  50. <property name="maximumSize">
  51. <size>
  52. <width>16777215</width>
  53. <height>16777215</height>
  54. </size>
  55. </property>
  56. <property name="text">
  57. <string>Mods</string>
  58. </property>
  59. <property name="icon">
  60. <iconset>
  61. <normaloff>icons:menu-mods.png</normaloff>icons:menu-mods.png</iconset>
  62. </property>
  63. <property name="iconSize">
  64. <size>
  65. <width>60</width>
  66. <height>60</height>
  67. </size>
  68. </property>
  69. <property name="checkable">
  70. <bool>true</bool>
  71. </property>
  72. <property name="checked">
  73. <bool>true</bool>
  74. </property>
  75. <property name="autoExclusive">
  76. <bool>true</bool>
  77. </property>
  78. <property name="toolButtonStyle">
  79. <enum>Qt::ToolButtonTextUnderIcon</enum>
  80. </property>
  81. <property name="autoRaise">
  82. <bool>true</bool>
  83. </property>
  84. </widget>
  85. </item>
  86. <item>
  87. <widget class="QToolButton" name="settingsButton">
  88. <property name="sizePolicy">
  89. <sizepolicy hsizetype="MinimumExpanding" vsizetype="Preferred">
  90. <horstretch>1</horstretch>
  91. <verstretch>10</verstretch>
  92. </sizepolicy>
  93. </property>
  94. <property name="minimumSize">
  95. <size>
  96. <width>0</width>
  97. <height>0</height>
  98. </size>
  99. </property>
  100. <property name="maximumSize">
  101. <size>
  102. <width>16777215</width>
  103. <height>16777215</height>
  104. </size>
  105. </property>
  106. <property name="text">
  107. <string>Settings</string>
  108. </property>
  109. <property name="icon">
  110. <iconset>
  111. <normaloff>icons:menu-settings.png</normaloff>icons:menu-settings.png</iconset>
  112. </property>
  113. <property name="iconSize">
  114. <size>
  115. <width>60</width>
  116. <height>60</height>
  117. </size>
  118. </property>
  119. <property name="checkable">
  120. <bool>true</bool>
  121. </property>
  122. <property name="checked">
  123. <bool>false</bool>
  124. </property>
  125. <property name="autoExclusive">
  126. <bool>true</bool>
  127. </property>
  128. <property name="toolButtonStyle">
  129. <enum>Qt::ToolButtonTextUnderIcon</enum>
  130. </property>
  131. <property name="autoRaise">
  132. <bool>true</bool>
  133. </property>
  134. </widget>
  135. </item>
  136. <item>
  137. <widget class="QToolButton" name="lobbyButton">
  138. <property name="sizePolicy">
  139. <sizepolicy hsizetype="MinimumExpanding" vsizetype="Preferred">
  140. <horstretch>1</horstretch>
  141. <verstretch>10</verstretch>
  142. </sizepolicy>
  143. </property>
  144. <property name="minimumSize">
  145. <size>
  146. <width>0</width>
  147. <height>0</height>
  148. </size>
  149. </property>
  150. <property name="maximumSize">
  151. <size>
  152. <width>16777215</width>
  153. <height>16777215</height>
  154. </size>
  155. </property>
  156. <property name="text">
  157. <string>Lobby</string>
  158. </property>
  159. <property name="icon">
  160. <iconset>
  161. <normaloff>icons:menu-lobby.png</normaloff>icons:menu-lobby.png</iconset>
  162. </property>
  163. <property name="iconSize">
  164. <size>
  165. <width>60</width>
  166. <height>60</height>
  167. </size>
  168. </property>
  169. <property name="checkable">
  170. <bool>true</bool>
  171. </property>
  172. <property name="checked">
  173. <bool>false</bool>
  174. </property>
  175. <property name="autoExclusive">
  176. <bool>true</bool>
  177. </property>
  178. <property name="toolButtonStyle">
  179. <enum>Qt::ToolButtonTextUnderIcon</enum>
  180. </property>
  181. <property name="autoRaise">
  182. <bool>true</bool>
  183. </property>
  184. </widget>
  185. </item>
  186. <item>
  187. <spacer name="verticalSpacer">
  188. <property name="orientation">
  189. <enum>Qt::Vertical</enum>
  190. </property>
  191. <property name="sizeHint" stdset="0">
  192. <size>
  193. <width>100</width>
  194. <height>0</height>
  195. </size>
  196. </property>
  197. </spacer>
  198. </item>
  199. <item>
  200. <widget class="QToolButton" name="startEditorButton">
  201. <property name="sizePolicy">
  202. <sizepolicy hsizetype="MinimumExpanding" vsizetype="Preferred">
  203. <horstretch>1</horstretch>
  204. <verstretch>5</verstretch>
  205. </sizepolicy>
  206. </property>
  207. <property name="minimumSize">
  208. <size>
  209. <width>0</width>
  210. <height>0</height>
  211. </size>
  212. </property>
  213. <property name="maximumSize">
  214. <size>
  215. <width>16777215</width>
  216. <height>16777215</height>
  217. </size>
  218. </property>
  219. <property name="font">
  220. <font>
  221. <weight>75</weight>
  222. <bold>true</bold>
  223. </font>
  224. </property>
  225. <property name="text">
  226. <string>Map Editor</string>
  227. </property>
  228. <property name="icon">
  229. <iconset>
  230. <normaloff>icons:menu-editor.png</normaloff>icons:menu-editor.png</iconset>
  231. </property>
  232. <property name="iconSize">
  233. <size>
  234. <width>30</width>
  235. <height>30</height>
  236. </size>
  237. </property>
  238. <property name="checkable">
  239. <bool>false</bool>
  240. </property>
  241. <property name="checked">
  242. <bool>false</bool>
  243. </property>
  244. <property name="toolButtonStyle">
  245. <enum>Qt::ToolButtonTextUnderIcon</enum>
  246. </property>
  247. <property name="autoRaise">
  248. <bool>false</bool>
  249. </property>
  250. </widget>
  251. </item>
  252. <item>
  253. <widget class="QToolButton" name="startGameButton">
  254. <property name="sizePolicy">
  255. <sizepolicy hsizetype="MinimumExpanding" vsizetype="Preferred">
  256. <horstretch>1</horstretch>
  257. <verstretch>10</verstretch>
  258. </sizepolicy>
  259. </property>
  260. <property name="minimumSize">
  261. <size>
  262. <width>0</width>
  263. <height>0</height>
  264. </size>
  265. </property>
  266. <property name="maximumSize">
  267. <size>
  268. <width>16777215</width>
  269. <height>16777215</height>
  270. </size>
  271. </property>
  272. <property name="font">
  273. <font>
  274. <weight>75</weight>
  275. <bold>true</bold>
  276. </font>
  277. </property>
  278. <property name="text">
  279. <string>Start game</string>
  280. </property>
  281. <property name="icon">
  282. <iconset>
  283. <normaloff>icons:menu-game.png</normaloff>icons:menu-game.png</iconset>
  284. </property>
  285. <property name="iconSize">
  286. <size>
  287. <width>60</width>
  288. <height>60</height>
  289. </size>
  290. </property>
  291. <property name="checkable">
  292. <bool>false</bool>
  293. </property>
  294. <property name="checked">
  295. <bool>false</bool>
  296. </property>
  297. <property name="toolButtonStyle">
  298. <enum>Qt::ToolButtonTextUnderIcon</enum>
  299. </property>
  300. <property name="autoRaise">
  301. <bool>false</bool>
  302. </property>
  303. </widget>
  304. </item>
  305. </layout>
  306. </item>
  307. <item>
  308. <widget class="QStackedWidget" name="tabListWidget">
  309. <property name="enabled">
  310. <bool>true</bool>
  311. </property>
  312. <property name="sizePolicy">
  313. <sizepolicy hsizetype="Expanding" vsizetype="Expanding">
  314. <horstretch>10</horstretch>
  315. <verstretch>0</verstretch>
  316. </sizepolicy>
  317. </property>
  318. <property name="currentIndex">
  319. <number>0</number>
  320. </property>
  321. <widget class="CModListView" name="modlistView"/>
  322. <widget class="CSettingsView" name="settingsView"/>
  323. <widget class="Lobby" name="lobbyView"/>
  324. </widget>
  325. </item>
  326. </layout>
  327. </widget>
  328. </widget>
  329. <layoutdefault spacing="6" margin="11"/>
  330. <customwidgets>
  331. <customwidget>
  332. <class>CModListView</class>
  333. <extends>QWidget</extends>
  334. <header>modManager/cmodlistview_moc.h</header>
  335. <container>1</container>
  336. </customwidget>
  337. <customwidget>
  338. <class>CSettingsView</class>
  339. <extends>QWidget</extends>
  340. <header>settingsView/csettingsview_moc.h</header>
  341. <container>1</container>
  342. </customwidget>
  343. <customwidget>
  344. <class>Lobby</class>
  345. <extends>QWidget</extends>
  346. <header>lobby/lobby_moc.h</header>
  347. <container>1</container>
  348. </customwidget>
  349. </customwidgets>
  350. <resources/>
  351. <connections/>
  352. </ui>