mainwindow_moc.ui 8.1 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295
  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="startGameButton">
  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="font">
  53. <font>
  54. <bold>true</bold>
  55. </font>
  56. </property>
  57. <property name="text">
  58. <string>Game</string>
  59. </property>
  60. <property name="iconSize">
  61. <size>
  62. <width>64</width>
  63. <height>64</height>
  64. </size>
  65. </property>
  66. <property name="checkable">
  67. <bool>true</bool>
  68. </property>
  69. <property name="checked">
  70. <bool>true</bool>
  71. </property>
  72. <property name="autoExclusive">
  73. <bool>true</bool>
  74. </property>
  75. <property name="toolButtonStyle">
  76. <enum>Qt::ToolButtonTextUnderIcon</enum>
  77. </property>
  78. <property name="autoRaise">
  79. <bool>true</bool>
  80. </property>
  81. </widget>
  82. </item>
  83. <item>
  84. <widget class="QToolButton" name="modslistButton">
  85. <property name="sizePolicy">
  86. <sizepolicy hsizetype="MinimumExpanding" vsizetype="Preferred">
  87. <horstretch>1</horstretch>
  88. <verstretch>10</verstretch>
  89. </sizepolicy>
  90. </property>
  91. <property name="minimumSize">
  92. <size>
  93. <width>0</width>
  94. <height>0</height>
  95. </size>
  96. </property>
  97. <property name="maximumSize">
  98. <size>
  99. <width>16777215</width>
  100. <height>16777215</height>
  101. </size>
  102. </property>
  103. <property name="text">
  104. <string>Mods</string>
  105. </property>
  106. <property name="iconSize">
  107. <size>
  108. <width>64</width>
  109. <height>64</height>
  110. </size>
  111. </property>
  112. <property name="checkable">
  113. <bool>true</bool>
  114. </property>
  115. <property name="checked">
  116. <bool>false</bool>
  117. </property>
  118. <property name="autoExclusive">
  119. <bool>true</bool>
  120. </property>
  121. <property name="toolButtonStyle">
  122. <enum>Qt::ToolButtonTextUnderIcon</enum>
  123. </property>
  124. <property name="autoRaise">
  125. <bool>true</bool>
  126. </property>
  127. </widget>
  128. </item>
  129. <item>
  130. <widget class="QToolButton" name="settingsButton">
  131. <property name="sizePolicy">
  132. <sizepolicy hsizetype="MinimumExpanding" vsizetype="Preferred">
  133. <horstretch>1</horstretch>
  134. <verstretch>10</verstretch>
  135. </sizepolicy>
  136. </property>
  137. <property name="minimumSize">
  138. <size>
  139. <width>0</width>
  140. <height>0</height>
  141. </size>
  142. </property>
  143. <property name="maximumSize">
  144. <size>
  145. <width>16777215</width>
  146. <height>16777215</height>
  147. </size>
  148. </property>
  149. <property name="text">
  150. <string>Settings</string>
  151. </property>
  152. <property name="iconSize">
  153. <size>
  154. <width>64</width>
  155. <height>64</height>
  156. </size>
  157. </property>
  158. <property name="checkable">
  159. <bool>true</bool>
  160. </property>
  161. <property name="checked">
  162. <bool>false</bool>
  163. </property>
  164. <property name="autoExclusive">
  165. <bool>true</bool>
  166. </property>
  167. <property name="toolButtonStyle">
  168. <enum>Qt::ToolButtonTextUnderIcon</enum>
  169. </property>
  170. <property name="autoRaise">
  171. <bool>true</bool>
  172. </property>
  173. </widget>
  174. </item>
  175. <item>
  176. <widget class="QToolButton" name="aboutButton">
  177. <property name="sizePolicy">
  178. <sizepolicy hsizetype="MinimumExpanding" vsizetype="Preferred">
  179. <horstretch>1</horstretch>
  180. <verstretch>10</verstretch>
  181. </sizepolicy>
  182. </property>
  183. <property name="minimumSize">
  184. <size>
  185. <width>0</width>
  186. <height>0</height>
  187. </size>
  188. </property>
  189. <property name="maximumSize">
  190. <size>
  191. <width>16777215</width>
  192. <height>16777215</height>
  193. </size>
  194. </property>
  195. <property name="text">
  196. <string>Help</string>
  197. </property>
  198. <property name="iconSize">
  199. <size>
  200. <width>48</width>
  201. <height>48</height>
  202. </size>
  203. </property>
  204. <property name="checkable">
  205. <bool>true</bool>
  206. </property>
  207. <property name="checked">
  208. <bool>false</bool>
  209. </property>
  210. <property name="autoExclusive">
  211. <bool>true</bool>
  212. </property>
  213. <property name="toolButtonStyle">
  214. <enum>Qt::ToolButtonTextUnderIcon</enum>
  215. </property>
  216. <property name="autoRaise">
  217. <bool>true</bool>
  218. </property>
  219. </widget>
  220. </item>
  221. <item>
  222. <spacer name="verticalSpacer">
  223. <property name="orientation">
  224. <enum>Qt::Vertical</enum>
  225. </property>
  226. <property name="sizeHint" stdset="0">
  227. <size>
  228. <width>100</width>
  229. <height>0</height>
  230. </size>
  231. </property>
  232. </spacer>
  233. </item>
  234. </layout>
  235. </item>
  236. <item>
  237. <widget class="QStackedWidget" name="tabListWidget">
  238. <property name="enabled">
  239. <bool>true</bool>
  240. </property>
  241. <property name="sizePolicy">
  242. <sizepolicy hsizetype="Expanding" vsizetype="Expanding">
  243. <horstretch>10</horstretch>
  244. <verstretch>0</verstretch>
  245. </sizepolicy>
  246. </property>
  247. <property name="currentIndex">
  248. <number>4</number>
  249. </property>
  250. <widget class="CModListView" name="modlistView"/>
  251. <widget class="CSettingsView" name="settingsView"/>
  252. <widget class="FirstLaunchView" name="setupView"/>
  253. <widget class="AboutProjectView" name="aboutView"/>
  254. <widget class="StartGameTab" name="startGameView"/>
  255. </widget>
  256. </item>
  257. </layout>
  258. </widget>
  259. </widget>
  260. <layoutdefault spacing="6" margin="11"/>
  261. <customwidgets>
  262. <customwidget>
  263. <class>CModListView</class>
  264. <extends>QWidget</extends>
  265. <header>modManager/cmodlistview_moc.h</header>
  266. <container>1</container>
  267. </customwidget>
  268. <customwidget>
  269. <class>CSettingsView</class>
  270. <extends>QWidget</extends>
  271. <header>settingsView/csettingsview_moc.h</header>
  272. <container>1</container>
  273. </customwidget>
  274. <customwidget>
  275. <class>FirstLaunchView</class>
  276. <extends>QWidget</extends>
  277. <header>firstLaunch/firstlaunch_moc.h</header>
  278. <container>1</container>
  279. </customwidget>
  280. <customwidget>
  281. <class>AboutProjectView</class>
  282. <extends>QWidget</extends>
  283. <header>aboutProject/aboutproject_moc.h</header>
  284. <container>1</container>
  285. </customwidget>
  286. <customwidget>
  287. <class>StartGameTab</class>
  288. <extends>QWidget</extends>
  289. <header>startGame/StartGameTab.h</header>
  290. <container>1</container>
  291. </customwidget>
  292. </customwidgets>
  293. <resources/>
  294. <connections/>
  295. </ui>