Нет описания

mainwindow.ui 9.8KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429
  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>550</width>
  10. <height>574</height>
  11. </rect>
  12. </property>
  13. <property name="windowTitle">
  14. <string>MainWindow</string>
  15. </property>
  16. <property name="styleSheet">
  17. <string notr="true"/>
  18. </property>
  19. <widget class="QWidget" name="centralWidget">
  20. <widget class="QGraphicsView" name="mainView">
  21. <property name="enabled">
  22. <bool>false</bool>
  23. </property>
  24. <property name="geometry">
  25. <rect>
  26. <x>0</x>
  27. <y>50</y>
  28. <width>256</width>
  29. <height>61</height>
  30. </rect>
  31. </property>
  32. <property name="focusPolicy">
  33. <enum>Qt::NoFocus</enum>
  34. </property>
  35. <property name="verticalScrollBarPolicy">
  36. <enum>Qt::ScrollBarAlwaysOff</enum>
  37. </property>
  38. <property name="horizontalScrollBarPolicy">
  39. <enum>Qt::ScrollBarAlwaysOff</enum>
  40. </property>
  41. </widget>
  42. <widget class="QPushButton" name="playButton">
  43. <property name="geometry">
  44. <rect>
  45. <x>60</x>
  46. <y>410</y>
  47. <width>75</width>
  48. <height>41</height>
  49. </rect>
  50. </property>
  51. <property name="font">
  52. <font>
  53. <weight>75</weight>
  54. <bold>true</bold>
  55. </font>
  56. </property>
  57. <property name="focusPolicy">
  58. <enum>Qt::NoFocus</enum>
  59. </property>
  60. <property name="styleSheet">
  61. <string notr="true"> background-color: #ed1c24;
  62. border-style: outset;
  63. border-width: 2px;
  64. border-color:#b51218;
  65. color:#f8f8f8;</string>
  66. </property>
  67. <property name="text">
  68. <string>Play!</string>
  69. </property>
  70. </widget>
  71. <widget class="QPushButton" name="retryButton">
  72. <property name="enabled">
  73. <bool>true</bool>
  74. </property>
  75. <property name="geometry">
  76. <rect>
  77. <x>270</x>
  78. <y>410</y>
  79. <width>75</width>
  80. <height>41</height>
  81. </rect>
  82. </property>
  83. <property name="font">
  84. <font>
  85. <weight>75</weight>
  86. <bold>true</bold>
  87. </font>
  88. </property>
  89. <property name="focusPolicy">
  90. <enum>Qt::NoFocus</enum>
  91. </property>
  92. <property name="styleSheet">
  93. <string notr="true"> background-color: #ed1c24;
  94. border-style: outset;
  95. border-width: 2px;
  96. border-color:#b51218;
  97. color:#f8f8f8;</string>
  98. </property>
  99. <property name="text">
  100. <string>Retry</string>
  101. </property>
  102. </widget>
  103. <widget class="QLabel" name="scoreLabel">
  104. <property name="geometry">
  105. <rect>
  106. <x>170</x>
  107. <y>420</y>
  108. <width>51</width>
  109. <height>21</height>
  110. </rect>
  111. </property>
  112. <property name="text">
  113. <string>Score:</string>
  114. </property>
  115. </widget>
  116. <widget class="QLabel" name="label">
  117. <property name="geometry">
  118. <rect>
  119. <x>230</x>
  120. <y>420</y>
  121. <width>46</width>
  122. <height>21</height>
  123. </rect>
  124. </property>
  125. <property name="text">
  126. <string>0</string>
  127. </property>
  128. </widget>
  129. <widget class="QLabel" name="racerLabel">
  130. <property name="geometry">
  131. <rect>
  132. <x>10</x>
  133. <y>470</y>
  134. <width>46</width>
  135. <height>21</height>
  136. </rect>
  137. </property>
  138. <property name="text">
  139. <string>Racer:</string>
  140. </property>
  141. </widget>
  142. <widget class="QLabel" name="trackLabel">
  143. <property name="geometry">
  144. <rect>
  145. <x>160</x>
  146. <y>470</y>
  147. <width>46</width>
  148. <height>20</height>
  149. </rect>
  150. </property>
  151. <property name="text">
  152. <string>Track:</string>
  153. </property>
  154. </widget>
  155. <widget class="QLabel" name="difficultyLabel">
  156. <property name="geometry">
  157. <rect>
  158. <x>320</x>
  159. <y>470</y>
  160. <width>81</width>
  161. <height>21</height>
  162. </rect>
  163. </property>
  164. <property name="text">
  165. <string>Difficulty:</string>
  166. </property>
  167. </widget>
  168. <widget class="QComboBox" name="comboBox">
  169. <property name="geometry">
  170. <rect>
  171. <x>60</x>
  172. <y>470</y>
  173. <width>91</width>
  174. <height>22</height>
  175. </rect>
  176. </property>
  177. <property name="font">
  178. <font>
  179. <weight>75</weight>
  180. <bold>true</bold>
  181. </font>
  182. </property>
  183. <property name="focusPolicy">
  184. <enum>Qt::NoFocus</enum>
  185. </property>
  186. <property name="styleSheet">
  187. <string notr="true"> background-color: #ed1c24;
  188. border-style: outset;
  189. border-width: 2px;
  190. border-color:#b51218;
  191. color:#f8f8f8;</string>
  192. </property>
  193. <item>
  194. <property name="text">
  195. <string>red</string>
  196. </property>
  197. </item>
  198. <item>
  199. <property name="text">
  200. <string>pink</string>
  201. </property>
  202. </item>
  203. <item>
  204. <property name="text">
  205. <string>green</string>
  206. </property>
  207. </item>
  208. <item>
  209. <property name="text">
  210. <string>orange</string>
  211. </property>
  212. </item>
  213. <item>
  214. <property name="text">
  215. <string>candy</string>
  216. </property>
  217. </item>
  218. <item>
  219. <property name="text">
  220. <string>rarce</string>
  221. </property>
  222. </item>
  223. <item>
  224. <property name="text">
  225. <string>batman</string>
  226. </property>
  227. </item>
  228. </widget>
  229. <widget class="QComboBox" name="trackBox">
  230. <property name="geometry">
  231. <rect>
  232. <x>210</x>
  233. <y>470</y>
  234. <width>101</width>
  235. <height>22</height>
  236. </rect>
  237. </property>
  238. <property name="font">
  239. <font>
  240. <weight>75</weight>
  241. <bold>true</bold>
  242. </font>
  243. </property>
  244. <property name="focusPolicy">
  245. <enum>Qt::NoFocus</enum>
  246. </property>
  247. <property name="styleSheet">
  248. <string notr="true"> background-color: #ed1c24;
  249. border-style: outset;
  250. border-width: 2px;
  251. border-color:#b51218;
  252. color:#f8f8f8;</string>
  253. </property>
  254. <item>
  255. <property name="text">
  256. <string>Day</string>
  257. </property>
  258. </item>
  259. <item>
  260. <property name="text">
  261. <string>Night</string>
  262. </property>
  263. </item>
  264. <item>
  265. <property name="text">
  266. <string>Candyland</string>
  267. </property>
  268. </item>
  269. <item>
  270. <property name="text">
  271. <string>Beach</string>
  272. </property>
  273. </item>
  274. </widget>
  275. <widget class="QComboBox" name="difficultyBox">
  276. <property name="geometry">
  277. <rect>
  278. <x>390</x>
  279. <y>470</y>
  280. <width>111</width>
  281. <height>22</height>
  282. </rect>
  283. </property>
  284. <property name="font">
  285. <font>
  286. <weight>75</weight>
  287. <bold>true</bold>
  288. </font>
  289. </property>
  290. <property name="focusPolicy">
  291. <enum>Qt::NoFocus</enum>
  292. </property>
  293. <property name="styleSheet">
  294. <string notr="true"> background-color: #ed1c24;
  295. border-style: outset;
  296. border-width: 2px;
  297. border-color:#b51218;
  298. color:#ffffff;</string>
  299. </property>
  300. <item>
  301. <property name="text">
  302. <string>Easy</string>
  303. </property>
  304. </item>
  305. <item>
  306. <property name="text">
  307. <string>Medium</string>
  308. </property>
  309. </item>
  310. <item>
  311. <property name="text">
  312. <string>Hard</string>
  313. </property>
  314. </item>
  315. </widget>
  316. <widget class="QFrame" name="frame_2">
  317. <property name="geometry">
  318. <rect>
  319. <x>-60</x>
  320. <y>-10</y>
  321. <width>661</width>
  322. <height>61</height>
  323. </rect>
  324. </property>
  325. <property name="styleSheet">
  326. <string notr="true"> background-color: #ed1c24;</string>
  327. </property>
  328. <property name="frameShape">
  329. <enum>QFrame::StyledPanel</enum>
  330. </property>
  331. <property name="frameShadow">
  332. <enum>QFrame::Raised</enum>
  333. </property>
  334. <widget class="QFrame" name="frame">
  335. <property name="geometry">
  336. <rect>
  337. <x>60</x>
  338. <y>10</y>
  339. <width>571</width>
  340. <height>41</height>
  341. </rect>
  342. </property>
  343. <property name="styleSheet">
  344. <string notr="true">background-color:#666;</string>
  345. </property>
  346. <property name="frameShape">
  347. <enum>QFrame::StyledPanel</enum>
  348. </property>
  349. <property name="frameShadow">
  350. <enum>QFrame::Raised</enum>
  351. </property>
  352. <widget class="QLabel" name="label_2">
  353. <property name="geometry">
  354. <rect>
  355. <x>190</x>
  356. <y>10</y>
  357. <width>241</width>
  358. <height>21</height>
  359. </rect>
  360. </property>
  361. <property name="font">
  362. <font>
  363. <family>Adobe Heiti Std R</family>
  364. <pointsize>15</pointsize>
  365. <weight>75</weight>
  366. <bold>true</bold>
  367. </font>
  368. </property>
  369. <property name="styleSheet">
  370. <string notr="true">text-align:center;
  371. border-width: 0px;
  372. color:white
  373. ;</string>
  374. </property>
  375. <property name="text">
  376. <string>Scrolling Game</string>
  377. </property>
  378. </widget>
  379. </widget>
  380. </widget>
  381. <widget class="QFrame" name="frame_3">
  382. <property name="geometry">
  383. <rect>
  384. <x>350</x>
  385. <y>400</y>
  386. <width>201</width>
  387. <height>61</height>
  388. </rect>
  389. </property>
  390. <property name="styleSheet">
  391. <string notr="true">background-image:url(:/resources/logo.png);</string>
  392. </property>
  393. <property name="frameShape">
  394. <enum>QFrame::NoFrame</enum>
  395. </property>
  396. <property name="frameShadow">
  397. <enum>QFrame::Raised</enum>
  398. </property>
  399. </widget>
  400. <zorder>frame_2</zorder>
  401. <zorder>mainView</zorder>
  402. <zorder>playButton</zorder>
  403. <zorder>retryButton</zorder>
  404. <zorder>scoreLabel</zorder>
  405. <zorder>label</zorder>
  406. <zorder>racerLabel</zorder>
  407. <zorder>trackLabel</zorder>
  408. <zorder>difficultyLabel</zorder>
  409. <zorder>comboBox</zorder>
  410. <zorder>trackBox</zorder>
  411. <zorder>difficultyBox</zorder>
  412. <zorder>frame_3</zorder>
  413. </widget>
  414. <widget class="QMenuBar" name="menuBar">
  415. <property name="geometry">
  416. <rect>
  417. <x>0</x>
  418. <y>0</y>
  419. <width>550</width>
  420. <height>22</height>
  421. </rect>
  422. </property>
  423. </widget>
  424. <widget class="QStatusBar" name="statusBar"/>
  425. </widget>
  426. <layoutdefault spacing="6" margin="11"/>
  427. <resources/>
  428. <connections/>
  429. </ui>