mainwindow.ui 15 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478
  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" 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,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="QWidget" name="widget" native="true">
  342. <property name="sizePolicy">
  343. <sizepolicy hsizetype="Preferred" vsizetype="Preferred">
  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. <layout class="QHBoxLayout" name="horizontalLayout_2">
  355. <property name="spacing">
  356. <number>5</number>
  357. </property>
  358. <property name="leftMargin">
  359. <number>0</number>
  360. </property>
  361. <property name="topMargin">
  362. <number>0</number>
  363. </property>
  364. <property name="rightMargin">
  365. <number>0</number>
  366. </property>
  367. <property name="bottomMargin">
  368. <number>0</number>
  369. </property>
  370. <item>
  371. <widget class="QPushButton" name="minimizeButton">
  372. <property name="minimumSize">
  373. <size>
  374. <width>20</width>
  375. <height>20</height>
  376. </size>
  377. </property>
  378. <property name="styleSheet">
  379. <string notr="true">QPushButton#minimizeButton {border-image: url(:/assets/minimize.png) 0 0 0 0 stretch stretch; border: 0px;}
  380. QPushButton#minimizeButton:hover {border-image: url(:/assets/minimize.png) 0 0 0 0 stretch stretch; border: 1px;}
  381. </string>
  382. </property>
  383. <property name="text">
  384. <string>_</string>
  385. </property>
  386. </widget>
  387. </item>
  388. <item>
  389. <widget class="QPushButton" name="closeButton">
  390. <property name="minimumSize">
  391. <size>
  392. <width>20</width>
  393. <height>20</height>
  394. </size>
  395. </property>
  396. <property name="styleSheet">
  397. <string notr="true">QPushButton#closeButton { border-image: url(:/assets/close.png) 0 0 0 0 stretch stretch; }
  398. QPushButton#closeButton:hover { border-image: url(:/assets/close.png) 0 0 0 0 stretch stretch; border:1px;}</string>
  399. </property>
  400. <property name="text">
  401. <string>Х</string>
  402. </property>
  403. </widget>
  404. </item>
  405. </layout>
  406. </widget>
  407. </item>
  408. <item>
  409. <spacer name="horizontalSpacer">
  410. <property name="orientation">
  411. <enum>Qt::Horizontal</enum>
  412. </property>
  413. <property name="sizeHint" stdset="0">
  414. <size>
  415. <width>100</width>
  416. <height>20</height>
  417. </size>
  418. </property>
  419. </spacer>
  420. </item>
  421. </layout>
  422. </widget>
  423. </item>
  424. <item>
  425. <spacer name="verticalSpacer_2">
  426. <property name="orientation">
  427. <enum>Qt::Vertical</enum>
  428. </property>
  429. <property name="sizeHint" stdset="0">
  430. <size>
  431. <width>20</width>
  432. <height>45</height>
  433. </size>
  434. </property>
  435. </spacer>
  436. </item>
  437. </layout>
  438. </widget>
  439. </item>
  440. <item row="1" column="0" colspan="2">
  441. <widget class="QWidget" name="content_area" native="true">
  442. <property name="autoFillBackground">
  443. <bool>false</bool>
  444. </property>
  445. <property name="styleSheet">
  446. <string notr="true">border-image:none;</string>
  447. </property>
  448. <layout class="QGridLayout" name="gridLayout_3">
  449. <property name="leftMargin">
  450. <number>20</number>
  451. </property>
  452. <property name="rightMargin">
  453. <number>20</number>
  454. </property>
  455. <item row="0" column="0">
  456. <layout class="QGridLayout" name="content_layout"/>
  457. </item>
  458. </layout>
  459. </widget>
  460. </item>
  461. </layout>
  462. </widget>
  463. </widget>
  464. <layoutdefault spacing="6" margin="11"/>
  465. <customwidgets>
  466. <customwidget>
  467. <class>MenuEntry</class>
  468. <extends>QLabel</extends>
  469. <header>menuentry.h</header>
  470. </customwidget>
  471. </customwidgets>
  472. <resources/>
  473. <connections/>
  474. </ui>