mainwindow.ui 12 KB

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