mainwindow.ui 16 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492493494495496497498499500501502503504505506507508509510511512513514515516517518519520
  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="minimumSize">
  20. <size>
  21. <width>800</width>
  22. <height>600</height>
  23. </size>
  24. </property>
  25. <property name="windowTitle">
  26. <string>ВКО: Наследие</string>
  27. </property>
  28. <property name="autoFillBackground">
  29. <bool>false</bool>
  30. </property>
  31. <property name="styleSheet">
  32. <string notr="true"/>
  33. </property>
  34. <property name="animated">
  35. <bool>false</bool>
  36. </property>
  37. <property name="tabShape">
  38. <enum>QTabWidget::Triangular</enum>
  39. </property>
  40. <widget class="QWidget" name="centralWidget">
  41. <property name="sizePolicy">
  42. <sizepolicy hsizetype="Expanding" vsizetype="Expanding">
  43. <horstretch>0</horstretch>
  44. <verstretch>0</verstretch>
  45. </sizepolicy>
  46. </property>
  47. <property name="autoFillBackground">
  48. <bool>false</bool>
  49. </property>
  50. <property name="styleSheet">
  51. <string notr="true">border-image: url(:/assets/bg1.png);
  52. </string>
  53. </property>
  54. <layout class="QGridLayout" name="gridLayout" rowstretch="1,4,0" columnstretch="1,2">
  55. <property name="sizeConstraint">
  56. <enum>QLayout::SetDefaultConstraint</enum>
  57. </property>
  58. <property name="leftMargin">
  59. <number>0</number>
  60. </property>
  61. <property name="topMargin">
  62. <number>0</number>
  63. </property>
  64. <property name="rightMargin">
  65. <number>0</number>
  66. </property>
  67. <property name="bottomMargin">
  68. <number>0</number>
  69. </property>
  70. <property name="spacing">
  71. <number>0</number>
  72. </property>
  73. <item row="0" column="0">
  74. <widget class="QWidget" name="logo_area" native="true">
  75. <property name="sizePolicy">
  76. <sizepolicy hsizetype="Expanding" vsizetype="Preferred">
  77. <horstretch>0</horstretch>
  78. <verstretch>0</verstretch>
  79. </sizepolicy>
  80. </property>
  81. <property name="minimumSize">
  82. <size>
  83. <width>300</width>
  84. <height>120</height>
  85. </size>
  86. </property>
  87. <property name="styleSheet">
  88. <string notr="true">border-image:none;</string>
  89. </property>
  90. </widget>
  91. </item>
  92. <item row="0" column="1">
  93. <widget class="QWidget" name="menu_area" native="true">
  94. <property name="styleSheet">
  95. <string notr="true">border-image:none;</string>
  96. </property>
  97. <layout class="QVBoxLayout" name="verticalLayout" stretch="10,9,7">
  98. <property name="spacing">
  99. <number>0</number>
  100. </property>
  101. <property name="leftMargin">
  102. <number>0</number>
  103. </property>
  104. <property name="topMargin">
  105. <number>0</number>
  106. </property>
  107. <property name="rightMargin">
  108. <number>0</number>
  109. </property>
  110. <property name="bottomMargin">
  111. <number>0</number>
  112. </property>
  113. <item>
  114. <spacer name="verticalSpacer">
  115. <property name="orientation">
  116. <enum>Qt::Vertical</enum>
  117. </property>
  118. <property name="sizeHint" stdset="0">
  119. <size>
  120. <width>20</width>
  121. <height>52</height>
  122. </size>
  123. </property>
  124. </spacer>
  125. </item>
  126. <item>
  127. <widget class="QWidget" name="menu_widget" native="true">
  128. <property name="sizePolicy">
  129. <sizepolicy hsizetype="Preferred" vsizetype="Preferred">
  130. <horstretch>0</horstretch>
  131. <verstretch>0</verstretch>
  132. </sizepolicy>
  133. </property>
  134. <property name="autoFillBackground">
  135. <bool>false</bool>
  136. </property>
  137. <property name="styleSheet">
  138. <string notr="true"/>
  139. </property>
  140. <layout class="QHBoxLayout" name="horizontalLayout" stretch="6,9,11,7,6,5,0,2">
  141. <property name="spacing">
  142. <number>10</number>
  143. </property>
  144. <property name="sizeConstraint">
  145. <enum>QLayout::SetDefaultConstraint</enum>
  146. </property>
  147. <property name="leftMargin">
  148. <number>0</number>
  149. </property>
  150. <property name="topMargin">
  151. <number>0</number>
  152. </property>
  153. <property name="rightMargin">
  154. <number>0</number>
  155. </property>
  156. <property name="bottomMargin">
  157. <number>0</number>
  158. </property>
  159. <item>
  160. <widget class="MenuEntry" name="menuentry_1">
  161. <property name="sizePolicy">
  162. <sizepolicy hsizetype="Minimum" vsizetype="Minimum">
  163. <horstretch>0</horstretch>
  164. <verstretch>0</verstretch>
  165. </sizepolicy>
  166. </property>
  167. <property name="baseSize">
  168. <size>
  169. <width>0</width>
  170. <height>0</height>
  171. </size>
  172. </property>
  173. <property name="mouseTracking">
  174. <bool>true</bool>
  175. </property>
  176. <property name="layoutDirection">
  177. <enum>Qt::LeftToRight</enum>
  178. </property>
  179. <property name="styleSheet">
  180. <string notr="true">color:rgb(255, 255, 255);
  181. font: 15px &quot;Trebuchet MS&quot;;</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="default" stdset="0">
  193. <bool>false</bool>
  194. </property>
  195. <property name="flat" stdset="0">
  196. <bool>true</bool>
  197. </property>
  198. </widget>
  199. </item>
  200. <item>
  201. <widget class="MenuEntry" name="menuentry_2">
  202. <property name="enabled">
  203. <bool>true</bool>
  204. </property>
  205. <property name="sizePolicy">
  206. <sizepolicy hsizetype="Minimum" vsizetype="Minimum">
  207. <horstretch>0</horstretch>
  208. <verstretch>0</verstretch>
  209. </sizepolicy>
  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);
  216. font: 15px &quot;Trebuchet MS&quot;;</string>
  217. </property>
  218. <property name="text">
  219. <string>НАСТРОЙКИ</string>
  220. </property>
  221. <property name="scaledContents">
  222. <bool>true</bool>
  223. </property>
  224. <property name="alignment">
  225. <set>Qt::AlignCenter</set>
  226. </property>
  227. <property name="flat" stdset="0">
  228. <bool>true</bool>
  229. </property>
  230. </widget>
  231. </item>
  232. <item>
  233. <widget class="MenuEntry" name="menuentry_3">
  234. <property name="sizePolicy">
  235. <sizepolicy hsizetype="Maximum" vsizetype="Minimum">
  236. <horstretch>0</horstretch>
  237. <verstretch>0</verstretch>
  238. </sizepolicy>
  239. </property>
  240. <property name="minimumSize">
  241. <size>
  242. <width>0</width>
  243. <height>0</height>
  244. </size>
  245. </property>
  246. <property name="mouseTracking">
  247. <bool>true</bool>
  248. </property>
  249. <property name="styleSheet">
  250. <string notr="true">color:rgb(255, 255, 255); font: 15px &quot;Trebuchet MS&quot;;
  251. </string>
  252. </property>
  253. <property name="text">
  254. <string notr="true">РУСИФИКАЦИЯ</string>
  255. </property>
  256. <property name="scaledContents">
  257. <bool>true</bool>
  258. </property>
  259. <property name="alignment">
  260. <set>Qt::AlignCenter</set>
  261. </property>
  262. <property name="flat" stdset="0">
  263. <bool>true</bool>
  264. </property>
  265. </widget>
  266. </item>
  267. <item>
  268. <widget class="MenuEntry" name="menuentry_4">
  269. <property name="sizePolicy">
  270. <sizepolicy hsizetype="Minimum" vsizetype="Minimum">
  271. <horstretch>0</horstretch>
  272. <verstretch>0</verstretch>
  273. </sizepolicy>
  274. </property>
  275. <property name="minimumSize">
  276. <size>
  277. <width>0</width>
  278. <height>0</height>
  279. </size>
  280. </property>
  281. <property name="mouseTracking">
  282. <bool>true</bool>
  283. </property>
  284. <property name="styleSheet">
  285. <string notr="true">color:rgb(255, 255, 255);
  286. font: 15px &quot;Trebuchet MS&quot;;</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="MenuEntry" name="menuentry_5">
  304. <property name="sizePolicy">
  305. <sizepolicy hsizetype="Minimum" vsizetype="Minimum">
  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. <property name="mouseTracking">
  317. <bool>true</bool>
  318. </property>
  319. <property name="layoutDirection">
  320. <enum>Qt::LeftToRight</enum>
  321. </property>
  322. <property name="styleSheet">
  323. <string notr="true">color:rgb(255, 255, 255);
  324. font: 15px &quot;Trebuchet MS&quot;;</string>
  325. </property>
  326. <property name="text">
  327. <string>ПОМОЩЬ</string>
  328. </property>
  329. <property name="scaledContents">
  330. <bool>true</bool>
  331. </property>
  332. <property name="alignment">
  333. <set>Qt::AlignCenter</set>
  334. </property>
  335. <property name="flat" stdset="0">
  336. <bool>true</bool>
  337. </property>
  338. </widget>
  339. </item>
  340. <item>
  341. <widget class="MenuEntry" name="menuentry_6">
  342. <property name="sizePolicy">
  343. <sizepolicy hsizetype="Minimum" vsizetype="Minimum">
  344. <horstretch>0</horstretch>
  345. <verstretch>0</verstretch>
  346. </sizepolicy>
  347. </property>
  348. <property name="minimumSize">
  349. <size>
  350. <width>0</width>
  351. <height>0</height>
  352. </size>
  353. </property>
  354. <property name="sizeIncrement">
  355. <size>
  356. <width>0</width>
  357. <height>0</height>
  358. </size>
  359. </property>
  360. <property name="baseSize">
  361. <size>
  362. <width>50</width>
  363. <height>0</height>
  364. </size>
  365. </property>
  366. <property name="mouseTracking">
  367. <bool>true</bool>
  368. </property>
  369. <property name="styleSheet">
  370. <string notr="true">color:rgb(255, 255, 255);
  371. font: 15px &quot;Trebuchet MS&quot;;</string>
  372. </property>
  373. <property name="text">
  374. <string>О НАС</string>
  375. </property>
  376. <property name="scaledContents">
  377. <bool>true</bool>
  378. </property>
  379. <property name="alignment">
  380. <set>Qt::AlignCenter</set>
  381. </property>
  382. <property name="autoDefault" stdset="0">
  383. <bool>false</bool>
  384. </property>
  385. <property name="default" stdset="0">
  386. <bool>false</bool>
  387. </property>
  388. <property name="flat" stdset="0">
  389. <bool>true</bool>
  390. </property>
  391. </widget>
  392. </item>
  393. <item>
  394. <widget class="QWidget" name="widget" native="true">
  395. <property name="sizePolicy">
  396. <sizepolicy hsizetype="Preferred" vsizetype="Preferred">
  397. <horstretch>0</horstretch>
  398. <verstretch>0</verstretch>
  399. </sizepolicy>
  400. </property>
  401. <property name="minimumSize">
  402. <size>
  403. <width>0</width>
  404. <height>0</height>
  405. </size>
  406. </property>
  407. <layout class="QHBoxLayout" name="horizontalLayout_2">
  408. <property name="spacing">
  409. <number>5</number>
  410. </property>
  411. <property name="leftMargin">
  412. <number>0</number>
  413. </property>
  414. <property name="topMargin">
  415. <number>0</number>
  416. </property>
  417. <property name="rightMargin">
  418. <number>0</number>
  419. </property>
  420. <property name="bottomMargin">
  421. <number>0</number>
  422. </property>
  423. <item>
  424. <widget class="QPushButton" name="minimizeButton">
  425. <property name="minimumSize">
  426. <size>
  427. <width>20</width>
  428. <height>20</height>
  429. </size>
  430. </property>
  431. <property name="styleSheet">
  432. <string notr="true">QPushButton#minimizeButton {border-image: url(:/assets/minimize.png) 0 0 0 0 stretch stretch; border: 0px;}
  433. QPushButton#minimizeButton:hover {border-image: url(:/assets/minimize.png) 0 0 0 0 stretch stretch; border: 1px;}
  434. </string>
  435. </property>
  436. <property name="text">
  437. <string>_</string>
  438. </property>
  439. </widget>
  440. </item>
  441. <item>
  442. <widget class="QPushButton" name="closeButton">
  443. <property name="minimumSize">
  444. <size>
  445. <width>20</width>
  446. <height>20</height>
  447. </size>
  448. </property>
  449. <property name="styleSheet">
  450. <string notr="true">QPushButton#closeButton { border-image: url(:/assets/close.png) 0 0 0 0 stretch stretch; }
  451. QPushButton#closeButton:hover { border-image: url(:/assets/close.png) 0 0 0 0 stretch stretch; border:1px;}</string>
  452. </property>
  453. <property name="text">
  454. <string>Х</string>
  455. </property>
  456. </widget>
  457. </item>
  458. </layout>
  459. </widget>
  460. </item>
  461. <item>
  462. <spacer name="horizontalSpacer">
  463. <property name="orientation">
  464. <enum>Qt::Horizontal</enum>
  465. </property>
  466. <property name="sizeHint" stdset="0">
  467. <size>
  468. <width>100</width>
  469. <height>20</height>
  470. </size>
  471. </property>
  472. </spacer>
  473. </item>
  474. </layout>
  475. </widget>
  476. </item>
  477. <item>
  478. <spacer name="verticalSpacer_2">
  479. <property name="orientation">
  480. <enum>Qt::Vertical</enum>
  481. </property>
  482. <property name="sizeHint" stdset="0">
  483. <size>
  484. <width>20</width>
  485. <height>45</height>
  486. </size>
  487. </property>
  488. </spacer>
  489. </item>
  490. </layout>
  491. </widget>
  492. </item>
  493. <item row="1" column="1">
  494. <widget class="QWidget" name="content_area" native="true">
  495. <property name="autoFillBackground">
  496. <bool>false</bool>
  497. </property>
  498. <property name="styleSheet">
  499. <string notr="true">border-image:none;</string>
  500. </property>
  501. </widget>
  502. </item>
  503. </layout>
  504. </widget>
  505. </widget>
  506. <layoutdefault spacing="6" margin="11"/>
  507. <customwidgets>
  508. <customwidget>
  509. <class>MenuEntry</class>
  510. <extends>QLabel</extends>
  511. <header>menuentry.h</header>
  512. </customwidget>
  513. </customwidgets>
  514. <resources/>
  515. <connections/>
  516. </ui>