mainwindow_moc.ui 8.2 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306
  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>480</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="QGridLayout" name="gridLayout">
  34. <item row="1" column="0">
  35. <widget class="QToolButton" name="settingsButton">
  36. <property name="sizePolicy">
  37. <sizepolicy hsizetype="MinimumExpanding" vsizetype="Maximum">
  38. <horstretch>1</horstretch>
  39. <verstretch>0</verstretch>
  40. </sizepolicy>
  41. </property>
  42. <property name="minimumSize">
  43. <size>
  44. <width>0</width>
  45. <height>0</height>
  46. </size>
  47. </property>
  48. <property name="text">
  49. <string>Settings</string>
  50. </property>
  51. <property name="icon">
  52. <iconset>
  53. <normaloff>icons:menu-settings.png</normaloff>icons:menu-settings.png</iconset>
  54. </property>
  55. <property name="iconSize">
  56. <size>
  57. <width>60</width>
  58. <height>60</height>
  59. </size>
  60. </property>
  61. <property name="checkable">
  62. <bool>true</bool>
  63. </property>
  64. <property name="checked">
  65. <bool>false</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 row="3" column="0">
  79. <spacer name="verticalSpacer">
  80. <property name="orientation">
  81. <enum>Qt::Vertical</enum>
  82. </property>
  83. <property name="sizeHint" stdset="0">
  84. <size>
  85. <width>80</width>
  86. <height>0</height>
  87. </size>
  88. </property>
  89. </spacer>
  90. </item>
  91. <item row="2" column="0">
  92. <widget class="QToolButton" name="lobbyButton">
  93. <property name="sizePolicy">
  94. <sizepolicy hsizetype="MinimumExpanding" vsizetype="Maximum">
  95. <horstretch>1</horstretch>
  96. <verstretch>0</verstretch>
  97. </sizepolicy>
  98. </property>
  99. <property name="minimumSize">
  100. <size>
  101. <width>0</width>
  102. <height>0</height>
  103. </size>
  104. </property>
  105. <property name="text">
  106. <string>Lobby</string>
  107. </property>
  108. <property name="icon">
  109. <iconset>
  110. <normaloff>icons:menu-lobby.png</normaloff>icons:menu-lobby.png</iconset>
  111. </property>
  112. <property name="iconSize">
  113. <size>
  114. <width>60</width>
  115. <height>60</height>
  116. </size>
  117. </property>
  118. <property name="checkable">
  119. <bool>true</bool>
  120. </property>
  121. <property name="checked">
  122. <bool>false</bool>
  123. </property>
  124. <property name="autoExclusive">
  125. <bool>true</bool>
  126. </property>
  127. <property name="toolButtonStyle">
  128. <enum>Qt::ToolButtonTextUnderIcon</enum>
  129. </property>
  130. <property name="autoRaise">
  131. <bool>true</bool>
  132. </property>
  133. </widget>
  134. </item>
  135. <item row="4" column="0">
  136. <widget class="QToolButton" name="startGameButton">
  137. <property name="sizePolicy">
  138. <sizepolicy hsizetype="MinimumExpanding" vsizetype="Maximum">
  139. <horstretch>1</horstretch>
  140. <verstretch>0</verstretch>
  141. </sizepolicy>
  142. </property>
  143. <property name="minimumSize">
  144. <size>
  145. <width>0</width>
  146. <height>0</height>
  147. </size>
  148. </property>
  149. <property name="font">
  150. <font>
  151. <weight>75</weight>
  152. <bold>true</bold>
  153. </font>
  154. </property>
  155. <property name="text">
  156. <string/>
  157. </property>
  158. <property name="icon">
  159. <iconset>
  160. <normaloff>icons:menu-game.png</normaloff>icons:menu-game.png</iconset>
  161. </property>
  162. <property name="iconSize">
  163. <size>
  164. <width>60</width>
  165. <height>60</height>
  166. </size>
  167. </property>
  168. <property name="checkable">
  169. <bool>false</bool>
  170. </property>
  171. <property name="checked">
  172. <bool>false</bool>
  173. </property>
  174. <property name="toolButtonStyle">
  175. <enum>Qt::ToolButtonIconOnly</enum>
  176. </property>
  177. <property name="autoRaise">
  178. <bool>false</bool>
  179. </property>
  180. </widget>
  181. </item>
  182. <item row="5" column="0">
  183. <widget class="QLabel" name="startGameTitle">
  184. <property name="font">
  185. <font>
  186. <weight>75</weight>
  187. <bold>true</bold>
  188. </font>
  189. </property>
  190. <property name="text">
  191. <string>Start game</string>
  192. </property>
  193. <property name="alignment">
  194. <set>Qt::AlignCenter</set>
  195. </property>
  196. </widget>
  197. </item>
  198. <item row="0" column="2" rowspan="6">
  199. <widget class="QStackedWidget" name="tabListWidget">
  200. <property name="enabled">
  201. <bool>true</bool>
  202. </property>
  203. <property name="sizePolicy">
  204. <sizepolicy hsizetype="Expanding" vsizetype="Expanding">
  205. <horstretch>10</horstretch>
  206. <verstretch>0</verstretch>
  207. </sizepolicy>
  208. </property>
  209. <property name="currentIndex">
  210. <number>0</number>
  211. </property>
  212. <widget class="CModListView" name="modlistView"/>
  213. <widget class="CSettingsView" name="settingsView"/>
  214. <widget class="Lobby" name="lobbyView"/>
  215. </widget>
  216. </item>
  217. <item row="0" column="0">
  218. <widget class="QToolButton" name="modslistButton">
  219. <property name="sizePolicy">
  220. <sizepolicy hsizetype="MinimumExpanding" vsizetype="Maximum">
  221. <horstretch>1</horstretch>
  222. <verstretch>0</verstretch>
  223. </sizepolicy>
  224. </property>
  225. <property name="minimumSize">
  226. <size>
  227. <width>0</width>
  228. <height>0</height>
  229. </size>
  230. </property>
  231. <property name="text">
  232. <string>Mods</string>
  233. </property>
  234. <property name="icon">
  235. <iconset>
  236. <normaloff>icons:menu-mods.png</normaloff>icons:menu-mods.png</iconset>
  237. </property>
  238. <property name="iconSize">
  239. <size>
  240. <width>60</width>
  241. <height>60</height>
  242. </size>
  243. </property>
  244. <property name="checkable">
  245. <bool>true</bool>
  246. </property>
  247. <property name="checked">
  248. <bool>true</bool>
  249. </property>
  250. <property name="autoExclusive">
  251. <bool>true</bool>
  252. </property>
  253. <property name="toolButtonStyle">
  254. <enum>Qt::ToolButtonTextUnderIcon</enum>
  255. </property>
  256. <property name="autoRaise">
  257. <bool>true</bool>
  258. </property>
  259. </widget>
  260. </item>
  261. <item row="0" column="1" rowspan="6">
  262. <widget class="Line" name="line">
  263. <property name="frameShadow">
  264. <enum>QFrame::Plain</enum>
  265. </property>
  266. <property name="lineWidth">
  267. <number>1</number>
  268. </property>
  269. <property name="midLineWidth">
  270. <number>0</number>
  271. </property>
  272. <property name="orientation">
  273. <enum>Qt::Vertical</enum>
  274. </property>
  275. </widget>
  276. </item>
  277. </layout>
  278. </widget>
  279. </widget>
  280. <layoutdefault spacing="6" margin="11"/>
  281. <customwidgets>
  282. <customwidget>
  283. <class>CModListView</class>
  284. <extends>QWidget</extends>
  285. <header>modManager/cmodlistview_moc.h</header>
  286. <container>1</container>
  287. </customwidget>
  288. <customwidget>
  289. <class>CSettingsView</class>
  290. <extends>QWidget</extends>
  291. <header>settingsView/csettingsview_moc.h</header>
  292. <container>1</container>
  293. </customwidget>
  294. <customwidget>
  295. <class>Lobby</class>
  296. <extends>QWidget</extends>
  297. <header>lobby/lobby_moc.h</header>
  298. <container>1</container>
  299. </customwidget>
  300. </customwidgets>
  301. <tabstops>
  302. <tabstop>startGameButton</tabstop>
  303. </tabstops>
  304. <resources/>
  305. <connections/>
  306. </ui>