mainwindow.ui 15 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470
  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/bg1.png);
  46. </string>
  47. </property>
  48. <layout class="QGridLayout" name="gridLayout" rowstretch="1,4" columnstretch="1,2">
  49. <property name="sizeConstraint">
  50. <enum>QLayout::SetDefaultConstraint</enum>
  51. </property>
  52. <property name="leftMargin">
  53. <number>0</number>
  54. </property>
  55. <property name="topMargin">
  56. <number>0</number>
  57. </property>
  58. <property name="rightMargin">
  59. <number>0</number>
  60. </property>
  61. <property name="bottomMargin">
  62. <number>0</number>
  63. </property>
  64. <property name="spacing">
  65. <number>0</number>
  66. </property>
  67. <item row="0" column="0">
  68. <widget class="QWidget" name="logo_area" native="true">
  69. <property name="sizePolicy">
  70. <sizepolicy hsizetype="Expanding" vsizetype="Preferred">
  71. <horstretch>0</horstretch>
  72. <verstretch>0</verstretch>
  73. </sizepolicy>
  74. </property>
  75. <property name="minimumSize">
  76. <size>
  77. <width>0</width>
  78. <height>120</height>
  79. </size>
  80. </property>
  81. <property name="styleSheet">
  82. <string notr="true">border-image:none;</string>
  83. </property>
  84. </widget>
  85. </item>
  86. <item row="0" column="1">
  87. <widget class="QWidget" name="menu_area" native="true">
  88. <property name="styleSheet">
  89. <string notr="true">border-image:none;</string>
  90. </property>
  91. <layout class="QVBoxLayout" name="verticalLayout" stretch="10,9,7">
  92. <property name="spacing">
  93. <number>0</number>
  94. </property>
  95. <property name="leftMargin">
  96. <number>0</number>
  97. </property>
  98. <property name="topMargin">
  99. <number>0</number>
  100. </property>
  101. <property name="rightMargin">
  102. <number>0</number>
  103. </property>
  104. <property name="bottomMargin">
  105. <number>0</number>
  106. </property>
  107. <item>
  108. <spacer name="verticalSpacer">
  109. <property name="orientation">
  110. <enum>Qt::Vertical</enum>
  111. </property>
  112. <property name="sizeHint" stdset="0">
  113. <size>
  114. <width>20</width>
  115. <height>52</height>
  116. </size>
  117. </property>
  118. </spacer>
  119. </item>
  120. <item>
  121. <widget class="QWidget" name="menu_widget" native="true">
  122. <property name="sizePolicy">
  123. <sizepolicy hsizetype="Preferred" vsizetype="Preferred">
  124. <horstretch>0</horstretch>
  125. <verstretch>0</verstretch>
  126. </sizepolicy>
  127. </property>
  128. <property name="autoFillBackground">
  129. <bool>false</bool>
  130. </property>
  131. <property name="styleSheet">
  132. <string notr="true"/>
  133. </property>
  134. <layout class="QHBoxLayout" name="horizontalLayout" stretch="6,9,11,7,6,0,2">
  135. <property name="spacing">
  136. <number>10</number>
  137. </property>
  138. <property name="sizeConstraint">
  139. <enum>QLayout::SetDefaultConstraint</enum>
  140. </property>
  141. <property name="leftMargin">
  142. <number>0</number>
  143. </property>
  144. <property name="topMargin">
  145. <number>0</number>
  146. </property>
  147. <property name="rightMargin">
  148. <number>0</number>
  149. </property>
  150. <property name="bottomMargin">
  151. <number>0</number>
  152. </property>
  153. <item>
  154. <widget class="MenuEntry" name="menuentry_1_common">
  155. <property name="sizePolicy">
  156. <sizepolicy hsizetype="Minimum" vsizetype="Minimum">
  157. <horstretch>0</horstretch>
  158. <verstretch>0</verstretch>
  159. </sizepolicy>
  160. </property>
  161. <property name="baseSize">
  162. <size>
  163. <width>0</width>
  164. <height>0</height>
  165. </size>
  166. </property>
  167. <property name="mouseTracking">
  168. <bool>true</bool>
  169. </property>
  170. <property name="layoutDirection">
  171. <enum>Qt::LeftToRight</enum>
  172. </property>
  173. <property name="styleSheet">
  174. <string notr="true">color:rgb(255, 255, 255);</string>
  175. </property>
  176. <property name="text">
  177. <string> СТАТУС </string>
  178. </property>
  179. <property name="scaledContents">
  180. <bool>true</bool>
  181. </property>
  182. <property name="alignment">
  183. <set>Qt::AlignCenter</set>
  184. </property>
  185. <property name="default" stdset="0">
  186. <bool>false</bool>
  187. </property>
  188. <property name="flat" stdset="0">
  189. <bool>true</bool>
  190. </property>
  191. </widget>
  192. </item>
  193. <item>
  194. <widget class="MenuEntry" name="menuentry_2_common">
  195. <property name="enabled">
  196. <bool>true</bool>
  197. </property>
  198. <property name="sizePolicy">
  199. <sizepolicy hsizetype="Minimum" vsizetype="Minimum">
  200. <horstretch>0</horstretch>
  201. <verstretch>0</verstretch>
  202. </sizepolicy>
  203. </property>
  204. <property name="mouseTracking">
  205. <bool>true</bool>
  206. </property>
  207. <property name="styleSheet">
  208. <string notr="true">color:rgb(255, 255, 255);</string>
  209. </property>
  210. <property name="text">
  211. <string> НАСТРОЙКИ </string>
  212. </property>
  213. <property name="scaledContents">
  214. <bool>true</bool>
  215. </property>
  216. <property name="alignment">
  217. <set>Qt::AlignCenter</set>
  218. </property>
  219. <property name="flat" stdset="0">
  220. <bool>true</bool>
  221. </property>
  222. </widget>
  223. </item>
  224. <item>
  225. <widget class="MenuEntry" name="menuentry_3_common">
  226. <property name="sizePolicy">
  227. <sizepolicy hsizetype="Maximum" vsizetype="Minimum">
  228. <horstretch>0</horstretch>
  229. <verstretch>0</verstretch>
  230. </sizepolicy>
  231. </property>
  232. <property name="minimumSize">
  233. <size>
  234. <width>0</width>
  235. <height>0</height>
  236. </size>
  237. </property>
  238. <property name="mouseTracking">
  239. <bool>true</bool>
  240. </property>
  241. <property name="styleSheet">
  242. <string notr="true">color:rgb(255, 255, 255)</string>
  243. </property>
  244. <property name="text">
  245. <string notr="true"> РУСИФИКАЦИЯ </string>
  246. </property>
  247. <property name="scaledContents">
  248. <bool>true</bool>
  249. </property>
  250. <property name="alignment">
  251. <set>Qt::AlignCenter</set>
  252. </property>
  253. <property name="flat" stdset="0">
  254. <bool>true</bool>
  255. </property>
  256. </widget>
  257. </item>
  258. <item>
  259. <widget class="MenuEntry" name="menuentry_4_common">
  260. <property name="sizePolicy">
  261. <sizepolicy hsizetype="Minimum" vsizetype="Minimum">
  262. <horstretch>0</horstretch>
  263. <verstretch>0</verstretch>
  264. </sizepolicy>
  265. </property>
  266. <property name="minimumSize">
  267. <size>
  268. <width>0</width>
  269. <height>0</height>
  270. </size>
  271. </property>
  272. <property name="mouseTracking">
  273. <bool>true</bool>
  274. </property>
  275. <property name="styleSheet">
  276. <string notr="true">color:rgb(255, 255, 255);</string>
  277. </property>
  278. <property name="text">
  279. <string> НОВОСТИ </string>
  280. </property>
  281. <property name="scaledContents">
  282. <bool>true</bool>
  283. </property>
  284. <property name="alignment">
  285. <set>Qt::AlignCenter</set>
  286. </property>
  287. <property name="flat" stdset="0">
  288. <bool>true</bool>
  289. </property>
  290. </widget>
  291. </item>
  292. <item>
  293. <widget class="MenuEntry" name="menuentry_5_common">
  294. <property name="sizePolicy">
  295. <sizepolicy hsizetype="Minimum" vsizetype="Minimum">
  296. <horstretch>0</horstretch>
  297. <verstretch>0</verstretch>
  298. </sizepolicy>
  299. </property>
  300. <property name="minimumSize">
  301. <size>
  302. <width>0</width>
  303. <height>0</height>
  304. </size>
  305. </property>
  306. <property name="mouseTracking">
  307. <bool>true</bool>
  308. </property>
  309. <property name="layoutDirection">
  310. <enum>Qt::LeftToRight</enum>
  311. </property>
  312. <property name="styleSheet">
  313. <string notr="true">color:rgb(255, 255, 255);</string>
  314. </property>
  315. <property name="text">
  316. <string> ПОМОЩЬ </string>
  317. </property>
  318. <property name="scaledContents">
  319. <bool>true</bool>
  320. </property>
  321. <property name="alignment">
  322. <set>Qt::AlignCenter</set>
  323. </property>
  324. <property name="flat" stdset="0">
  325. <bool>true</bool>
  326. </property>
  327. </widget>
  328. </item>
  329. <item>
  330. <widget class="QWidget" name="widget" native="true">
  331. <property name="sizePolicy">
  332. <sizepolicy hsizetype="Preferred" vsizetype="Preferred">
  333. <horstretch>0</horstretch>
  334. <verstretch>0</verstretch>
  335. </sizepolicy>
  336. </property>
  337. <property name="minimumSize">
  338. <size>
  339. <width>0</width>
  340. <height>0</height>
  341. </size>
  342. </property>
  343. <layout class="QHBoxLayout" name="horizontalLayout_2">
  344. <property name="spacing">
  345. <number>5</number>
  346. </property>
  347. <property name="leftMargin">
  348. <number>0</number>
  349. </property>
  350. <property name="topMargin">
  351. <number>0</number>
  352. </property>
  353. <property name="rightMargin">
  354. <number>0</number>
  355. </property>
  356. <property name="bottomMargin">
  357. <number>0</number>
  358. </property>
  359. <item>
  360. <widget class="QPushButton" name="minimizeButton">
  361. <property name="minimumSize">
  362. <size>
  363. <width>20</width>
  364. <height>20</height>
  365. </size>
  366. </property>
  367. <property name="styleSheet">
  368. <string notr="true">QPushButton#minimizeButton {border-image: url(:/assets/minimize.png) 0 0 0 0 stretch stretch; border: 0px;}
  369. QPushButton#minimizeButton:hover {border-image: url(:/assets/minimize.png) 0 0 0 0 stretch stretch; border: 1px;}
  370. </string>
  371. </property>
  372. <property name="text">
  373. <string>_</string>
  374. </property>
  375. </widget>
  376. </item>
  377. <item>
  378. <widget class="QPushButton" name="closeButton">
  379. <property name="minimumSize">
  380. <size>
  381. <width>20</width>
  382. <height>20</height>
  383. </size>
  384. </property>
  385. <property name="styleSheet">
  386. <string notr="true">QPushButton#closeButton { border-image: url(:/assets/close.png) 0 0 0 0 stretch stretch; }
  387. QPushButton#closeButton:hover { border-image: url(:/assets/close.png) 0 0 0 0 stretch stretch; border:1px;}</string>
  388. </property>
  389. <property name="text">
  390. <string>Х</string>
  391. </property>
  392. </widget>
  393. </item>
  394. </layout>
  395. </widget>
  396. </item>
  397. <item>
  398. <spacer name="horizontalSpacer">
  399. <property name="orientation">
  400. <enum>Qt::Horizontal</enum>
  401. </property>
  402. <property name="sizeType">
  403. <enum>QSizePolicy::Fixed</enum>
  404. </property>
  405. <property name="sizeHint" stdset="0">
  406. <size>
  407. <width>20</width>
  408. <height>20</height>
  409. </size>
  410. </property>
  411. </spacer>
  412. </item>
  413. </layout>
  414. </widget>
  415. </item>
  416. <item>
  417. <spacer name="verticalSpacer_2">
  418. <property name="orientation">
  419. <enum>Qt::Vertical</enum>
  420. </property>
  421. <property name="sizeHint" stdset="0">
  422. <size>
  423. <width>20</width>
  424. <height>45</height>
  425. </size>
  426. </property>
  427. </spacer>
  428. </item>
  429. </layout>
  430. </widget>
  431. </item>
  432. <item row="1" column="0" colspan="2">
  433. <widget class="QWidget" name="content_area" native="true">
  434. <property name="autoFillBackground">
  435. <bool>false</bool>
  436. </property>
  437. <property name="styleSheet">
  438. <string notr="true">border-image:none;</string>
  439. </property>
  440. <layout class="QGridLayout" name="gridLayout_3">
  441. <property name="leftMargin">
  442. <number>20</number>
  443. </property>
  444. <property name="rightMargin">
  445. <number>20</number>
  446. </property>
  447. <item row="0" column="0">
  448. <layout class="QGridLayout" name="content_layout"/>
  449. </item>
  450. </layout>
  451. </widget>
  452. </item>
  453. </layout>
  454. </widget>
  455. </widget>
  456. <layoutdefault spacing="6" margin="11"/>
  457. <customwidgets>
  458. <customwidget>
  459. <class>MenuEntry</class>
  460. <extends>QLabel</extends>
  461. <header>menuentry.h</header>
  462. </customwidget>
  463. </customwidgets>
  464. <resources/>
  465. <connections/>
  466. </ui>