mainwindow_moc.ui 9.2 KB

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