mainwindow_moc.ui 11 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405
  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>490</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. <widget class="QToolButton" name="setupButton">
  188. <property name="sizePolicy">
  189. <sizepolicy hsizetype="MinimumExpanding" vsizetype="Preferred">
  190. <horstretch>1</horstretch>
  191. <verstretch>1</verstretch>
  192. </sizepolicy>
  193. </property>
  194. <property name="minimumSize">
  195. <size>
  196. <width>0</width>
  197. <height>0</height>
  198. </size>
  199. </property>
  200. <property name="maximumSize">
  201. <size>
  202. <width>16777215</width>
  203. <height>16777215</height>
  204. </size>
  205. </property>
  206. <property name="text">
  207. <string>Setup</string>
  208. </property>
  209. <property name="iconSize">
  210. <size>
  211. <width>60</width>
  212. <height>60</height>
  213. </size>
  214. </property>
  215. <property name="checkable">
  216. <bool>true</bool>
  217. </property>
  218. <property name="checked">
  219. <bool>false</bool>
  220. </property>
  221. <property name="autoExclusive">
  222. <bool>true</bool>
  223. </property>
  224. <property name="toolButtonStyle">
  225. <enum>Qt::ToolButtonTextOnly</enum>
  226. </property>
  227. <property name="autoRaise">
  228. <bool>true</bool>
  229. </property>
  230. </widget>
  231. </item>
  232. <item>
  233. <spacer name="verticalSpacer">
  234. <property name="orientation">
  235. <enum>Qt::Vertical</enum>
  236. </property>
  237. <property name="sizeHint" stdset="0">
  238. <size>
  239. <width>100</width>
  240. <height>0</height>
  241. </size>
  242. </property>
  243. </spacer>
  244. </item>
  245. <item>
  246. <widget class="QToolButton" name="startEditorButton">
  247. <property name="sizePolicy">
  248. <sizepolicy hsizetype="MinimumExpanding" vsizetype="Preferred">
  249. <horstretch>1</horstretch>
  250. <verstretch>5</verstretch>
  251. </sizepolicy>
  252. </property>
  253. <property name="minimumSize">
  254. <size>
  255. <width>0</width>
  256. <height>0</height>
  257. </size>
  258. </property>
  259. <property name="maximumSize">
  260. <size>
  261. <width>16777215</width>
  262. <height>16777215</height>
  263. </size>
  264. </property>
  265. <property name="font">
  266. <font>
  267. <weight>75</weight>
  268. <bold>true</bold>
  269. </font>
  270. </property>
  271. <property name="text">
  272. <string>Map Editor</string>
  273. </property>
  274. <property name="icon">
  275. <iconset>
  276. <normaloff>icons:menu-editor.png</normaloff>icons:menu-editor.png</iconset>
  277. </property>
  278. <property name="iconSize">
  279. <size>
  280. <width>30</width>
  281. <height>30</height>
  282. </size>
  283. </property>
  284. <property name="checkable">
  285. <bool>false</bool>
  286. </property>
  287. <property name="checked">
  288. <bool>false</bool>
  289. </property>
  290. <property name="toolButtonStyle">
  291. <enum>Qt::ToolButtonTextUnderIcon</enum>
  292. </property>
  293. <property name="autoRaise">
  294. <bool>false</bool>
  295. </property>
  296. </widget>
  297. </item>
  298. <item>
  299. <widget class="QToolButton" name="startGameButton">
  300. <property name="sizePolicy">
  301. <sizepolicy hsizetype="MinimumExpanding" vsizetype="Preferred">
  302. <horstretch>1</horstretch>
  303. <verstretch>10</verstretch>
  304. </sizepolicy>
  305. </property>
  306. <property name="minimumSize">
  307. <size>
  308. <width>0</width>
  309. <height>0</height>
  310. </size>
  311. </property>
  312. <property name="maximumSize">
  313. <size>
  314. <width>16777215</width>
  315. <height>16777215</height>
  316. </size>
  317. </property>
  318. <property name="font">
  319. <font>
  320. <weight>75</weight>
  321. <bold>true</bold>
  322. </font>
  323. </property>
  324. <property name="text">
  325. <string>Start game</string>
  326. </property>
  327. <property name="icon">
  328. <iconset>
  329. <normaloff>icons:menu-game.png</normaloff>icons:menu-game.png</iconset>
  330. </property>
  331. <property name="iconSize">
  332. <size>
  333. <width>60</width>
  334. <height>60</height>
  335. </size>
  336. </property>
  337. <property name="checkable">
  338. <bool>false</bool>
  339. </property>
  340. <property name="checked">
  341. <bool>false</bool>
  342. </property>
  343. <property name="toolButtonStyle">
  344. <enum>Qt::ToolButtonTextUnderIcon</enum>
  345. </property>
  346. <property name="autoRaise">
  347. <bool>false</bool>
  348. </property>
  349. </widget>
  350. </item>
  351. </layout>
  352. </item>
  353. <item>
  354. <widget class="QStackedWidget" name="tabListWidget">
  355. <property name="enabled">
  356. <bool>true</bool>
  357. </property>
  358. <property name="sizePolicy">
  359. <sizepolicy hsizetype="Expanding" vsizetype="Expanding">
  360. <horstretch>10</horstretch>
  361. <verstretch>0</verstretch>
  362. </sizepolicy>
  363. </property>
  364. <property name="currentIndex">
  365. <number>3</number>
  366. </property>
  367. <widget class="CModListView" name="modlistView"/>
  368. <widget class="CSettingsView" name="settingsView"/>
  369. <widget class="Lobby" name="lobbyView"/>
  370. <widget class="FirstLaunchView" name="setupView"/>
  371. </widget>
  372. </item>
  373. </layout>
  374. </widget>
  375. </widget>
  376. <layoutdefault spacing="6" margin="11"/>
  377. <customwidgets>
  378. <customwidget>
  379. <class>CModListView</class>
  380. <extends>QWidget</extends>
  381. <header>modManager/cmodlistview_moc.h</header>
  382. <container>1</container>
  383. </customwidget>
  384. <customwidget>
  385. <class>CSettingsView</class>
  386. <extends>QWidget</extends>
  387. <header>settingsView/csettingsview_moc.h</header>
  388. <container>1</container>
  389. </customwidget>
  390. <customwidget>
  391. <class>Lobby</class>
  392. <extends>QWidget</extends>
  393. <header>lobby/lobby_moc.h</header>
  394. <container>1</container>
  395. </customwidget>
  396. <customwidget>
  397. <class>FirstLaunchView</class>
  398. <extends>QWidget</extends>
  399. <header>firstLaunch/firstlaunch_moc.h</header>
  400. <container>1</container>
  401. </customwidget>
  402. </customwidgets>
  403. <resources/>
  404. <connections/>
  405. </ui>