mainwindow_moc.ui 12 KB

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