|
@@ -23,7 +23,7 @@
|
|
|
</size>
|
|
|
</property>
|
|
|
<property name="windowTitle">
|
|
|
- <string>MainWindow</string>
|
|
|
+ <string>ВКО: Наследие</string>
|
|
|
</property>
|
|
|
<property name="autoFillBackground">
|
|
|
<bool>false</bool>
|
|
@@ -52,7 +52,7 @@
|
|
|
|
|
|
</string>
|
|
|
</property>
|
|
|
- <layout class="QGridLayout" name="gridLayout" rowstretch="1,4" columnstretch="1,2">
|
|
|
+ <layout class="QGridLayout" name="gridLayout" rowstretch="1,4,0" columnstretch="1,2">
|
|
|
<property name="sizeConstraint">
|
|
|
<enum>QLayout::SetDefaultConstraint</enum>
|
|
|
</property>
|
|
@@ -85,9 +85,6 @@
|
|
|
<height>120</height>
|
|
|
</size>
|
|
|
</property>
|
|
|
- <property name="autoFillBackground">
|
|
|
- <bool>false</bool>
|
|
|
- </property>
|
|
|
<property name="styleSheet">
|
|
|
<string notr="true">border-image:none;</string>
|
|
|
</property>
|
|
@@ -161,9 +158,9 @@
|
|
|
<number>0</number>
|
|
|
</property>
|
|
|
<item>
|
|
|
- <widget class="ClickableLabel" name="menuentry_1">
|
|
|
+ <widget class="MenuEntry" name="menuentry_1">
|
|
|
<property name="sizePolicy">
|
|
|
- <sizepolicy hsizetype="Preferred" vsizetype="Preferred">
|
|
|
+ <sizepolicy hsizetype="Minimum" vsizetype="Minimum">
|
|
|
<horstretch>0</horstretch>
|
|
|
<verstretch>0</verstretch>
|
|
|
</sizepolicy>
|
|
@@ -187,6 +184,12 @@ font: 15px "Trebuchet MS";</string>
|
|
|
<property name="text">
|
|
|
<string>СТАТУС</string>
|
|
|
</property>
|
|
|
+ <property name="scaledContents">
|
|
|
+ <bool>true</bool>
|
|
|
+ </property>
|
|
|
+ <property name="alignment">
|
|
|
+ <set>Qt::AlignCenter</set>
|
|
|
+ </property>
|
|
|
<property name="default" stdset="0">
|
|
|
<bool>false</bool>
|
|
|
</property>
|
|
@@ -196,12 +199,12 @@ font: 15px "Trebuchet MS";</string>
|
|
|
</widget>
|
|
|
</item>
|
|
|
<item>
|
|
|
- <widget class="ClickableLabel" name="menuentry_2">
|
|
|
+ <widget class="MenuEntry" name="menuentry_2">
|
|
|
<property name="enabled">
|
|
|
<bool>true</bool>
|
|
|
</property>
|
|
|
<property name="sizePolicy">
|
|
|
- <sizepolicy hsizetype="Preferred" vsizetype="Preferred">
|
|
|
+ <sizepolicy hsizetype="Minimum" vsizetype="Minimum">
|
|
|
<horstretch>0</horstretch>
|
|
|
<verstretch>0</verstretch>
|
|
|
</sizepolicy>
|
|
@@ -216,15 +219,21 @@ font: 15px "Trebuchet MS";</string>
|
|
|
<property name="text">
|
|
|
<string>НАСТРОЙКИ</string>
|
|
|
</property>
|
|
|
+ <property name="scaledContents">
|
|
|
+ <bool>true</bool>
|
|
|
+ </property>
|
|
|
+ <property name="alignment">
|
|
|
+ <set>Qt::AlignCenter</set>
|
|
|
+ </property>
|
|
|
<property name="flat" stdset="0">
|
|
|
<bool>true</bool>
|
|
|
</property>
|
|
|
</widget>
|
|
|
</item>
|
|
|
<item>
|
|
|
- <widget class="ClickableLabel" name="menuentry_3">
|
|
|
+ <widget class="MenuEntry" name="menuentry_3">
|
|
|
<property name="sizePolicy">
|
|
|
- <sizepolicy hsizetype="Preferred" vsizetype="Preferred">
|
|
|
+ <sizepolicy hsizetype="Maximum" vsizetype="Minimum">
|
|
|
<horstretch>0</horstretch>
|
|
|
<verstretch>0</verstretch>
|
|
|
</sizepolicy>
|
|
@@ -239,21 +248,27 @@ font: 15px "Trebuchet MS";</string>
|
|
|
<bool>true</bool>
|
|
|
</property>
|
|
|
<property name="styleSheet">
|
|
|
- <string notr="true">color:rgb(255, 255, 255);
|
|
|
-font: 15px "Trebuchet MS";</string>
|
|
|
+ <string notr="true">color:rgb(255, 255, 255); font: 15px "Trebuchet MS";
|
|
|
+</string>
|
|
|
</property>
|
|
|
<property name="text">
|
|
|
<string notr="true">РУСИФИКАЦИЯ</string>
|
|
|
</property>
|
|
|
+ <property name="scaledContents">
|
|
|
+ <bool>true</bool>
|
|
|
+ </property>
|
|
|
+ <property name="alignment">
|
|
|
+ <set>Qt::AlignCenter</set>
|
|
|
+ </property>
|
|
|
<property name="flat" stdset="0">
|
|
|
<bool>true</bool>
|
|
|
</property>
|
|
|
</widget>
|
|
|
</item>
|
|
|
<item>
|
|
|
- <widget class="ClickableLabel" name="menuentry_4">
|
|
|
+ <widget class="MenuEntry" name="menuentry_4">
|
|
|
<property name="sizePolicy">
|
|
|
- <sizepolicy hsizetype="Preferred" vsizetype="Preferred">
|
|
|
+ <sizepolicy hsizetype="Minimum" vsizetype="Minimum">
|
|
|
<horstretch>0</horstretch>
|
|
|
<verstretch>0</verstretch>
|
|
|
</sizepolicy>
|
|
@@ -274,15 +289,21 @@ font: 15px "Trebuchet MS";</string>
|
|
|
<property name="text">
|
|
|
<string>НОВОСТИ</string>
|
|
|
</property>
|
|
|
+ <property name="scaledContents">
|
|
|
+ <bool>true</bool>
|
|
|
+ </property>
|
|
|
+ <property name="alignment">
|
|
|
+ <set>Qt::AlignCenter</set>
|
|
|
+ </property>
|
|
|
<property name="flat" stdset="0">
|
|
|
<bool>true</bool>
|
|
|
</property>
|
|
|
</widget>
|
|
|
</item>
|
|
|
<item>
|
|
|
- <widget class="ClickableLabel" name="menuentry_5">
|
|
|
+ <widget class="MenuEntry" name="menuentry_5">
|
|
|
<property name="sizePolicy">
|
|
|
- <sizepolicy hsizetype="Preferred" vsizetype="Preferred">
|
|
|
+ <sizepolicy hsizetype="Minimum" vsizetype="Minimum">
|
|
|
<horstretch>0</horstretch>
|
|
|
<verstretch>0</verstretch>
|
|
|
</sizepolicy>
|
|
@@ -306,15 +327,21 @@ font: 15px "Trebuchet MS";</string>
|
|
|
<property name="text">
|
|
|
<string>ПОМОЩЬ</string>
|
|
|
</property>
|
|
|
+ <property name="scaledContents">
|
|
|
+ <bool>true</bool>
|
|
|
+ </property>
|
|
|
+ <property name="alignment">
|
|
|
+ <set>Qt::AlignCenter</set>
|
|
|
+ </property>
|
|
|
<property name="flat" stdset="0">
|
|
|
<bool>true</bool>
|
|
|
</property>
|
|
|
</widget>
|
|
|
</item>
|
|
|
<item>
|
|
|
- <widget class="ClickableLabel" name="menuentry_6">
|
|
|
+ <widget class="MenuEntry" name="menuentry_6">
|
|
|
<property name="sizePolicy">
|
|
|
- <sizepolicy hsizetype="Preferred" vsizetype="Preferred">
|
|
|
+ <sizepolicy hsizetype="Minimum" vsizetype="Minimum">
|
|
|
<horstretch>0</horstretch>
|
|
|
<verstretch>0</verstretch>
|
|
|
</sizepolicy>
|
|
@@ -347,6 +374,12 @@ font: 15px "Trebuchet MS";</string>
|
|
|
<property name="text">
|
|
|
<string>О НАС</string>
|
|
|
</property>
|
|
|
+ <property name="scaledContents">
|
|
|
+ <bool>true</bool>
|
|
|
+ </property>
|
|
|
+ <property name="alignment">
|
|
|
+ <set>Qt::AlignCenter</set>
|
|
|
+ </property>
|
|
|
<property name="autoDefault" stdset="0">
|
|
|
<bool>false</bool>
|
|
|
</property>
|
|
@@ -383,20 +416,44 @@ font: 15px "Trebuchet MS";</string>
|
|
|
<number>0</number>
|
|
|
</property>
|
|
|
<property name="rightMargin">
|
|
|
- <number>30</number>
|
|
|
+ <number>0</number>
|
|
|
</property>
|
|
|
<property name="bottomMargin">
|
|
|
<number>0</number>
|
|
|
</property>
|
|
|
<item>
|
|
|
- <widget class="QPushButton" name="pushButton_2">
|
|
|
+ <widget class="QPushButton" name="minimizeButton">
|
|
|
+ <property name="minimumSize">
|
|
|
+ <size>
|
|
|
+ <width>20</width>
|
|
|
+ <height>20</height>
|
|
|
+ </size>
|
|
|
+ </property>
|
|
|
+ <property name="styleSheet">
|
|
|
+ <string notr="true">QPushButton#minimizeButton {border-image: url(:/assets/minimize.png) 0 0 0 0 stretch stretch; border: 0px;}
|
|
|
+
|
|
|
+QPushButton#minimizeButton:hover {border-image: url(:/assets/minimize.png) 0 0 0 0 stretch stretch; border: 1px;}
|
|
|
+
|
|
|
+</string>
|
|
|
+ </property>
|
|
|
<property name="text">
|
|
|
<string>_</string>
|
|
|
</property>
|
|
|
</widget>
|
|
|
</item>
|
|
|
<item>
|
|
|
- <widget class="QPushButton" name="pushButton">
|
|
|
+ <widget class="QPushButton" name="closeButton">
|
|
|
+ <property name="minimumSize">
|
|
|
+ <size>
|
|
|
+ <width>20</width>
|
|
|
+ <height>20</height>
|
|
|
+ </size>
|
|
|
+ </property>
|
|
|
+ <property name="styleSheet">
|
|
|
+ <string notr="true">QPushButton#closeButton { border-image: url(:/assets/close.png) 0 0 0 0 stretch stretch; }
|
|
|
+
|
|
|
+QPushButton#closeButton:hover { border-image: url(:/assets/close.png) 0 0 0 0 stretch stretch; border:1px;}</string>
|
|
|
+ </property>
|
|
|
<property name="text">
|
|
|
<string>Х</string>
|
|
|
</property>
|
|
@@ -412,7 +469,7 @@ font: 15px "Trebuchet MS";</string>
|
|
|
</property>
|
|
|
<property name="sizeHint" stdset="0">
|
|
|
<size>
|
|
|
- <width>40</width>
|
|
|
+ <width>100</width>
|
|
|
<height>20</height>
|
|
|
</size>
|
|
|
</property>
|
|
@@ -437,7 +494,7 @@ font: 15px "Trebuchet MS";</string>
|
|
|
</layout>
|
|
|
</widget>
|
|
|
</item>
|
|
|
- <item row="1" column="0" colspan="2">
|
|
|
+ <item row="1" column="1">
|
|
|
<widget class="QWidget" name="content_area" native="true">
|
|
|
<property name="autoFillBackground">
|
|
|
<bool>false</bool>
|
|
@@ -453,9 +510,9 @@ font: 15px "Trebuchet MS";</string>
|
|
|
<layoutdefault spacing="6" margin="11"/>
|
|
|
<customwidgets>
|
|
|
<customwidget>
|
|
|
- <class>ClickableLabel</class>
|
|
|
+ <class>MenuEntry</class>
|
|
|
<extends>QLabel</extends>
|
|
|
- <header>clickablelabel.h</header>
|
|
|
+ <header>menuentry.h</header>
|
|
|
</customwidget>
|
|
|
</customwidgets>
|
|
|
<resources/>
|