mainwindow.ui 11 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387
  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>650</height>
  11. </rect>
  12. </property>
  13. <property name="sizePolicy">
  14. <sizepolicy hsizetype="Expanding" vsizetype="Expanding">
  15. <horstretch>0</horstretch>
  16. <verstretch>0</verstretch>
  17. </sizepolicy>
  18. </property>
  19. <property name="windowTitle">
  20. <string>ВКО: Наследие</string>
  21. </property>
  22. <property name="autoFillBackground">
  23. <bool>false</bool>
  24. </property>
  25. <property name="styleSheet">
  26. <string notr="true"/>
  27. </property>
  28. <property name="animated">
  29. <bool>false</bool>
  30. </property>
  31. <property name="tabShape">
  32. <enum>QTabWidget::Triangular</enum>
  33. </property>
  34. <widget class="QWidget" name="centralWidget">
  35. <property name="sizePolicy">
  36. <sizepolicy hsizetype="Expanding" vsizetype="Expanding">
  37. <horstretch>0</horstretch>
  38. <verstretch>0</verstretch>
  39. </sizepolicy>
  40. </property>
  41. <property name="autoFillBackground">
  42. <bool>false</bool>
  43. </property>
  44. <property name="styleSheet">
  45. <string notr="true">border-image: url(:/assets/bg2.png);</string>
  46. </property>
  47. <widget class="QWidget" name="content_area" native="true">
  48. <property name="geometry">
  49. <rect>
  50. <x>0</x>
  51. <y>129</y>
  52. <width>901</width>
  53. <height>501</height>
  54. </rect>
  55. </property>
  56. <property name="sizePolicy">
  57. <sizepolicy hsizetype="Preferred" vsizetype="Expanding">
  58. <horstretch>0</horstretch>
  59. <verstretch>0</verstretch>
  60. </sizepolicy>
  61. </property>
  62. <property name="autoFillBackground">
  63. <bool>false</bool>
  64. </property>
  65. <property name="styleSheet">
  66. <string notr="true">border-image:none;</string>
  67. </property>
  68. <layout class="QGridLayout" name="gridLayout_3">
  69. <property name="leftMargin">
  70. <number>20</number>
  71. </property>
  72. <property name="topMargin">
  73. <number>10</number>
  74. </property>
  75. <property name="rightMargin">
  76. <number>20</number>
  77. </property>
  78. <property name="bottomMargin">
  79. <number>10</number>
  80. </property>
  81. <item row="0" column="0">
  82. <layout class="QGridLayout" name="content_layout"/>
  83. </item>
  84. </layout>
  85. </widget>
  86. <widget class="QWidget" name="menu_widget" native="true">
  87. <property name="geometry">
  88. <rect>
  89. <x>290</x>
  90. <y>50</y>
  91. <width>571</width>
  92. <height>51</height>
  93. </rect>
  94. </property>
  95. <property name="sizePolicy">
  96. <sizepolicy hsizetype="Preferred" vsizetype="Preferred">
  97. <horstretch>0</horstretch>
  98. <verstretch>0</verstretch>
  99. </sizepolicy>
  100. </property>
  101. <property name="autoFillBackground">
  102. <bool>false</bool>
  103. </property>
  104. <property name="styleSheet">
  105. <string notr="true">border-image:transparent;</string>
  106. </property>
  107. <layout class="QHBoxLayout" name="horizontalLayout" stretch="6,9,11,7,6,0">
  108. <property name="spacing">
  109. <number>10</number>
  110. </property>
  111. <property name="sizeConstraint">
  112. <enum>QLayout::SetDefaultConstraint</enum>
  113. </property>
  114. <property name="leftMargin">
  115. <number>0</number>
  116. </property>
  117. <property name="topMargin">
  118. <number>0</number>
  119. </property>
  120. <property name="rightMargin">
  121. <number>0</number>
  122. </property>
  123. <property name="bottomMargin">
  124. <number>0</number>
  125. </property>
  126. <item>
  127. <widget class="MenuEntry" name="menuentry_1_common">
  128. <property name="sizePolicy">
  129. <sizepolicy hsizetype="Minimum" vsizetype="Minimum">
  130. <horstretch>0</horstretch>
  131. <verstretch>0</verstretch>
  132. </sizepolicy>
  133. </property>
  134. <property name="baseSize">
  135. <size>
  136. <width>0</width>
  137. <height>0</height>
  138. </size>
  139. </property>
  140. <property name="mouseTracking">
  141. <bool>true</bool>
  142. </property>
  143. <property name="layoutDirection">
  144. <enum>Qt::LeftToRight</enum>
  145. </property>
  146. <property name="styleSheet">
  147. <string notr="true">color:rgb(255, 255, 255);</string>
  148. </property>
  149. <property name="text">
  150. <string> СТАТУС </string>
  151. </property>
  152. <property name="scaledContents">
  153. <bool>true</bool>
  154. </property>
  155. <property name="alignment">
  156. <set>Qt::AlignCenter</set>
  157. </property>
  158. <property name="default" stdset="0">
  159. <bool>false</bool>
  160. </property>
  161. <property name="flat" stdset="0">
  162. <bool>true</bool>
  163. </property>
  164. </widget>
  165. </item>
  166. <item>
  167. <widget class="MenuEntry" name="menuentry_2_common">
  168. <property name="enabled">
  169. <bool>true</bool>
  170. </property>
  171. <property name="sizePolicy">
  172. <sizepolicy hsizetype="Minimum" vsizetype="Minimum">
  173. <horstretch>0</horstretch>
  174. <verstretch>0</verstretch>
  175. </sizepolicy>
  176. </property>
  177. <property name="mouseTracking">
  178. <bool>true</bool>
  179. </property>
  180. <property name="styleSheet">
  181. <string notr="true">color:rgb(255, 255, 255);</string>
  182. </property>
  183. <property name="text">
  184. <string> НАСТРОЙКИ </string>
  185. </property>
  186. <property name="scaledContents">
  187. <bool>true</bool>
  188. </property>
  189. <property name="alignment">
  190. <set>Qt::AlignCenter</set>
  191. </property>
  192. <property name="flat" stdset="0">
  193. <bool>true</bool>
  194. </property>
  195. </widget>
  196. </item>
  197. <item>
  198. <widget class="MenuEntry" name="menuentry_3_common">
  199. <property name="sizePolicy">
  200. <sizepolicy hsizetype="Maximum" vsizetype="Minimum">
  201. <horstretch>0</horstretch>
  202. <verstretch>0</verstretch>
  203. </sizepolicy>
  204. </property>
  205. <property name="minimumSize">
  206. <size>
  207. <width>0</width>
  208. <height>0</height>
  209. </size>
  210. </property>
  211. <property name="mouseTracking">
  212. <bool>true</bool>
  213. </property>
  214. <property name="styleSheet">
  215. <string notr="true">color:rgb(255, 255, 255)</string>
  216. </property>
  217. <property name="text">
  218. <string notr="true"> РУСИФИКАЦИЯ </string>
  219. </property>
  220. <property name="scaledContents">
  221. <bool>true</bool>
  222. </property>
  223. <property name="alignment">
  224. <set>Qt::AlignCenter</set>
  225. </property>
  226. <property name="flat" stdset="0">
  227. <bool>true</bool>
  228. </property>
  229. </widget>
  230. </item>
  231. <item>
  232. <widget class="MenuEntry" name="menuentry_4_common">
  233. <property name="sizePolicy">
  234. <sizepolicy hsizetype="Minimum" vsizetype="Minimum">
  235. <horstretch>0</horstretch>
  236. <verstretch>0</verstretch>
  237. </sizepolicy>
  238. </property>
  239. <property name="minimumSize">
  240. <size>
  241. <width>0</width>
  242. <height>0</height>
  243. </size>
  244. </property>
  245. <property name="mouseTracking">
  246. <bool>true</bool>
  247. </property>
  248. <property name="styleSheet">
  249. <string notr="true">color:rgb(255, 255, 255);</string>
  250. </property>
  251. <property name="text">
  252. <string> НОВОСТИ </string>
  253. </property>
  254. <property name="scaledContents">
  255. <bool>true</bool>
  256. </property>
  257. <property name="alignment">
  258. <set>Qt::AlignCenter</set>
  259. </property>
  260. <property name="flat" stdset="0">
  261. <bool>true</bool>
  262. </property>
  263. </widget>
  264. </item>
  265. <item>
  266. <widget class="MenuEntry" name="menuentry_5_common">
  267. <property name="sizePolicy">
  268. <sizepolicy hsizetype="Minimum" vsizetype="Minimum">
  269. <horstretch>0</horstretch>
  270. <verstretch>0</verstretch>
  271. </sizepolicy>
  272. </property>
  273. <property name="minimumSize">
  274. <size>
  275. <width>0</width>
  276. <height>0</height>
  277. </size>
  278. </property>
  279. <property name="mouseTracking">
  280. <bool>true</bool>
  281. </property>
  282. <property name="layoutDirection">
  283. <enum>Qt::LeftToRight</enum>
  284. </property>
  285. <property name="styleSheet">
  286. <string notr="true">color:rgb(255, 255, 255);</string>
  287. </property>
  288. <property name="text">
  289. <string> ПОМОЩЬ </string>
  290. </property>
  291. <property name="scaledContents">
  292. <bool>true</bool>
  293. </property>
  294. <property name="alignment">
  295. <set>Qt::AlignCenter</set>
  296. </property>
  297. <property name="flat" stdset="0">
  298. <bool>true</bool>
  299. </property>
  300. </widget>
  301. </item>
  302. <item>
  303. <widget class="QWidget" name="widget" native="true">
  304. <property name="sizePolicy">
  305. <sizepolicy hsizetype="Preferred" vsizetype="Preferred">
  306. <horstretch>0</horstretch>
  307. <verstretch>0</verstretch>
  308. </sizepolicy>
  309. </property>
  310. <property name="minimumSize">
  311. <size>
  312. <width>0</width>
  313. <height>0</height>
  314. </size>
  315. </property>
  316. <layout class="QHBoxLayout" name="horizontalLayout_2">
  317. <property name="spacing">
  318. <number>5</number>
  319. </property>
  320. <property name="leftMargin">
  321. <number>0</number>
  322. </property>
  323. <property name="topMargin">
  324. <number>0</number>
  325. </property>
  326. <property name="rightMargin">
  327. <number>0</number>
  328. </property>
  329. <property name="bottomMargin">
  330. <number>0</number>
  331. </property>
  332. <item>
  333. <widget class="QPushButton" name="minimizeButton">
  334. <property name="minimumSize">
  335. <size>
  336. <width>20</width>
  337. <height>20</height>
  338. </size>
  339. </property>
  340. <property name="styleSheet">
  341. <string notr="true">QPushButton#minimizeButton {border-image: url(:/assets/minimize.png) 0 0 0 0 stretch stretch; border: 0px;}
  342. QPushButton#minimizeButton:hover {border-image: url(:/assets/minimize.png) 0 0 0 0 stretch stretch; border: 1px;}
  343. </string>
  344. </property>
  345. <property name="text">
  346. <string>_</string>
  347. </property>
  348. </widget>
  349. </item>
  350. <item>
  351. <widget class="QPushButton" name="closeButton">
  352. <property name="minimumSize">
  353. <size>
  354. <width>20</width>
  355. <height>20</height>
  356. </size>
  357. </property>
  358. <property name="styleSheet">
  359. <string notr="true">QPushButton#closeButton { border-image: url(:/assets/close.png) 0 0 0 0 stretch stretch; }
  360. QPushButton#closeButton:hover { border-image: url(:/assets/close.png) 0 0 0 0 stretch stretch; border:1px;}</string>
  361. </property>
  362. <property name="text">
  363. <string>Х</string>
  364. </property>
  365. </widget>
  366. </item>
  367. </layout>
  368. </widget>
  369. </item>
  370. </layout>
  371. </widget>
  372. </widget>
  373. </widget>
  374. <layoutdefault spacing="6" margin="11"/>
  375. <customwidgets>
  376. <customwidget>
  377. <class>MenuEntry</class>
  378. <extends>QLabel</extends>
  379. <header>menuentry.h</header>
  380. </customwidget>
  381. </customwidgets>
  382. <resources/>
  383. <connections/>
  384. </ui>