This commit is contained in:
semenov
2024-12-12 11:17:04 +03:00
parent 0a73ed4040
commit 9991631dd2
6 changed files with 74 additions and 28 deletions

View File

@@ -6,10 +6,22 @@
<rect> <rect>
<x>0</x> <x>0</x>
<y>0</y> <y>0</y>
<width>501</width> <width>520</width>
<height>95</height> <height>45</height>
</rect> </rect>
</property> </property>
<property name="sizePolicy">
<sizepolicy hsizetype="Fixed" vsizetype="Fixed">
<horstretch>0</horstretch>
<verstretch>0</verstretch>
</sizepolicy>
</property>
<property name="minimumSize">
<size>
<width>520</width>
<height>45</height>
</size>
</property>
<property name="windowTitle"> <property name="windowTitle">
<string>Form</string> <string>Form</string>
</property> </property>
@@ -18,8 +30,8 @@
<rect> <rect>
<x>0</x> <x>0</x>
<y>0</y> <y>0</y>
<width>491</width> <width>520</width>
<height>40</height> <height>45</height>
</rect> </rect>
</property> </property>
<property name="sizePolicy"> <property name="sizePolicy">
@@ -30,8 +42,8 @@
</property> </property>
<property name="minimumSize"> <property name="minimumSize">
<size> <size>
<width>0</width> <width>520</width>
<height>40</height> <height>45</height>
</size> </size>
</property> </property>
<property name="maximumSize"> <property name="maximumSize">
@@ -42,13 +54,13 @@
</property> </property>
<layout class="QHBoxLayout" name="downlayout"> <layout class="QHBoxLayout" name="downlayout">
<property name="spacing"> <property name="spacing">
<number>10</number> <number>5</number>
</property> </property>
<property name="leftMargin"> <property name="leftMargin">
<number>0</number> <number>0</number>
</property> </property>
<property name="topMargin"> <property name="topMargin">
<number>5</number> <number>0</number>
</property> </property>
<property name="rightMargin"> <property name="rightMargin">
<number>0</number> <number>0</number>

Binary file not shown.

View File

@@ -897,9 +897,9 @@
<property name="geometry"> <property name="geometry">
<rect> <rect>
<x>540</x> <x>540</x>
<y>552</y> <y>550</y>
<width>250</width> <width>250</width>
<height>35</height> <height>40</height>
</rect> </rect>
</property> </property>
<property name="sizePolicy"> <property name="sizePolicy">
@@ -911,13 +911,13 @@
<property name="minimumSize"> <property name="minimumSize">
<size> <size>
<width>250</width> <width>250</width>
<height>35</height> <height>40</height>
</size> </size>
</property> </property>
<property name="maximumSize"> <property name="maximumSize">
<size> <size>
<width>1500</width> <width>1500</width>
<height>35</height> <height>40</height>
</size> </size>
</property> </property>
<property name="text"> <property name="text">
@@ -934,12 +934,19 @@
<property name="geometry"> <property name="geometry">
<rect> <rect>
<x>10</x> <x>10</x>
<y>550</y> <y>549</y>
<width>521</width> <width>531</width>
<height>41</height> <height>41</height>
</rect> </rect>
</property> </property>
<layout class="QVBoxLayout" name="changButtonGroup"/> <layout class="QVBoxLayout" name="changButtonGroup">
<property name="spacing">
<number>0</number>
</property>
<property name="bottomMargin">
<number>0</number>
</property>
</layout>
</widget> </widget>
<zorder>mainFrame</zorder> <zorder>mainFrame</zorder>
<zorder>horizontalWidget</zorder> <zorder>horizontalWidget</zorder>

View File

@@ -31,21 +31,24 @@ public:
{ {
if (CommonButtonGroupWidget->objectName().isEmpty()) if (CommonButtonGroupWidget->objectName().isEmpty())
CommonButtonGroupWidget->setObjectName(QString::fromUtf8("CommonButtonGroupWidget")); CommonButtonGroupWidget->setObjectName(QString::fromUtf8("CommonButtonGroupWidget"));
CommonButtonGroupWidget->resize(501, 95); CommonButtonGroupWidget->resize(520, 45);
downLayout = new QWidget(CommonButtonGroupWidget);
downLayout->setObjectName(QString::fromUtf8("downLayout"));
downLayout->setGeometry(QRect(0, 0, 491, 40));
QSizePolicy sizePolicy(QSizePolicy::Fixed, QSizePolicy::Fixed); QSizePolicy sizePolicy(QSizePolicy::Fixed, QSizePolicy::Fixed);
sizePolicy.setHorizontalStretch(0); sizePolicy.setHorizontalStretch(0);
sizePolicy.setVerticalStretch(0); sizePolicy.setVerticalStretch(0);
sizePolicy.setHeightForWidth(CommonButtonGroupWidget->sizePolicy().hasHeightForWidth());
CommonButtonGroupWidget->setSizePolicy(sizePolicy);
CommonButtonGroupWidget->setMinimumSize(QSize(520, 45));
downLayout = new QWidget(CommonButtonGroupWidget);
downLayout->setObjectName(QString::fromUtf8("downLayout"));
downLayout->setGeometry(QRect(0, 0, 520, 45));
sizePolicy.setHeightForWidth(downLayout->sizePolicy().hasHeightForWidth()); sizePolicy.setHeightForWidth(downLayout->sizePolicy().hasHeightForWidth());
downLayout->setSizePolicy(sizePolicy); downLayout->setSizePolicy(sizePolicy);
downLayout->setMinimumSize(QSize(0, 40)); downLayout->setMinimumSize(QSize(520, 45));
downLayout->setMaximumSize(QSize(16777215, 40)); downLayout->setMaximumSize(QSize(16777215, 40));
downlayout = new QHBoxLayout(downLayout); downlayout = new QHBoxLayout(downLayout);
downlayout->setSpacing(10); downlayout->setSpacing(5);
downlayout->setObjectName(QString::fromUtf8("downlayout")); downlayout->setObjectName(QString::fromUtf8("downlayout"));
downlayout->setContentsMargins(0, 5, 0, 5); downlayout->setContentsMargins(0, 0, 0, 5);
loadingProgressBar = new QProgressBar(downLayout); loadingProgressBar = new QProgressBar(downLayout);
loadingProgressBar->setObjectName(QString::fromUtf8("loadingProgressBar")); loadingProgressBar->setObjectName(QString::fromUtf8("loadingProgressBar"));
QSizePolicy sizePolicy1(QSizePolicy::Preferred, QSizePolicy::Minimum); QSizePolicy sizePolicy1(QSizePolicy::Preferred, QSizePolicy::Minimum);

View File

@@ -30,28 +30,51 @@ public:
{ {
if (InstructorButtonGroupWidget->objectName().isEmpty()) if (InstructorButtonGroupWidget->objectName().isEmpty())
InstructorButtonGroupWidget->setObjectName(QString::fromUtf8("InstructorButtonGroupWidget")); InstructorButtonGroupWidget->setObjectName(QString::fromUtf8("InstructorButtonGroupWidget"));
InstructorButtonGroupWidget->resize(513, 53); InstructorButtonGroupWidget->resize(520, 45);
QSizePolicy sizePolicy(QSizePolicy::Fixed, QSizePolicy::Fixed);
sizePolicy.setHorizontalStretch(0);
sizePolicy.setVerticalStretch(0);
sizePolicy.setHeightForWidth(InstructorButtonGroupWidget->sizePolicy().hasHeightForWidth());
InstructorButtonGroupWidget->setSizePolicy(sizePolicy);
InstructorButtonGroupWidget->setMinimumSize(QSize(520, 45));
instructorButtonGroup = new QWidget(InstructorButtonGroupWidget); instructorButtonGroup = new QWidget(InstructorButtonGroupWidget);
instructorButtonGroup->setObjectName(QString::fromUtf8("instructorButtonGroup")); instructorButtonGroup->setObjectName(QString::fromUtf8("instructorButtonGroup"));
instructorButtonGroup->setEnabled(true); instructorButtonGroup->setEnabled(true);
instructorButtonGroup->setGeometry(QRect(0, 0, 513, 51)); instructorButtonGroup->setGeometry(QRect(0, 0, 520, 45));
sizePolicy.setHeightForWidth(instructorButtonGroup->sizePolicy().hasHeightForWidth());
instructorButtonGroup->setSizePolicy(sizePolicy);
instructorButtonGroup->setMinimumSize(QSize(520, 45));
updateButtonGroup = new QHBoxLayout(instructorButtonGroup); updateButtonGroup = new QHBoxLayout(instructorButtonGroup);
updateButtonGroup->setSpacing(5);
updateButtonGroup->setObjectName(QString::fromUtf8("updateButtonGroup")); updateButtonGroup->setObjectName(QString::fromUtf8("updateButtonGroup"));
updateButtonGroup->setContentsMargins(0, 0, 0, 5);
loadToServerButton = new QPushButton(instructorButtonGroup); loadToServerButton = new QPushButton(instructorButtonGroup);
loadToServerButton->setObjectName(QString::fromUtf8("loadToServerButton")); loadToServerButton->setObjectName(QString::fromUtf8("loadToServerButton"));
QSizePolicy sizePolicy1(QSizePolicy::Preferred, QSizePolicy::Minimum);
sizePolicy1.setHorizontalStretch(0);
sizePolicy1.setVerticalStretch(0);
sizePolicy1.setHeightForWidth(loadToServerButton->sizePolicy().hasHeightForWidth());
loadToServerButton->setSizePolicy(sizePolicy1);
loadToServerButton->setMinimumSize(QSize(0, 35)); loadToServerButton->setMinimumSize(QSize(0, 35));
loadToServerButton->setMaximumSize(QSize(16777215, 40));
updateButtonGroup->addWidget(loadToServerButton); updateButtonGroup->addWidget(loadToServerButton);
undoChangesButton = new QPushButton(instructorButtonGroup); undoChangesButton = new QPushButton(instructorButtonGroup);
undoChangesButton->setObjectName(QString::fromUtf8("undoChangesButton")); undoChangesButton->setObjectName(QString::fromUtf8("undoChangesButton"));
sizePolicy1.setHeightForWidth(undoChangesButton->sizePolicy().hasHeightForWidth());
undoChangesButton->setSizePolicy(sizePolicy1);
undoChangesButton->setMinimumSize(QSize(0, 35)); undoChangesButton->setMinimumSize(QSize(0, 35));
undoChangesButton->setMaximumSize(QSize(16777215, 40));
updateButtonGroup->addWidget(undoChangesButton); updateButtonGroup->addWidget(undoChangesButton);
startWithCurrentChangesButton = new QPushButton(instructorButtonGroup); startWithCurrentChangesButton = new QPushButton(instructorButtonGroup);
startWithCurrentChangesButton->setObjectName(QString::fromUtf8("startWithCurrentChangesButton")); startWithCurrentChangesButton->setObjectName(QString::fromUtf8("startWithCurrentChangesButton"));
sizePolicy1.setHeightForWidth(startWithCurrentChangesButton->sizePolicy().hasHeightForWidth());
startWithCurrentChangesButton->setSizePolicy(sizePolicy1);
startWithCurrentChangesButton->setMinimumSize(QSize(0, 35)); startWithCurrentChangesButton->setMinimumSize(QSize(0, 35));
startWithCurrentChangesButton->setMaximumSize(QSize(16777215, 40));
updateButtonGroup->addWidget(startWithCurrentChangesButton); updateButtonGroup->addWidget(startWithCurrentChangesButton);

View File

@@ -436,20 +436,21 @@ public:
offlineStartButton = new QPushButton(centralwidget); offlineStartButton = new QPushButton(centralwidget);
offlineStartButton->setObjectName(QString::fromUtf8("offlineStartButton")); offlineStartButton->setObjectName(QString::fromUtf8("offlineStartButton"));
offlineStartButton->setEnabled(true); offlineStartButton->setEnabled(true);
offlineStartButton->setGeometry(QRect(540, 552, 250, 35)); offlineStartButton->setGeometry(QRect(540, 550, 250, 40));
QSizePolicy sizePolicy5(QSizePolicy::Preferred, QSizePolicy::Minimum); QSizePolicy sizePolicy5(QSizePolicy::Preferred, QSizePolicy::Minimum);
sizePolicy5.setHorizontalStretch(0); sizePolicy5.setHorizontalStretch(0);
sizePolicy5.setVerticalStretch(0); sizePolicy5.setVerticalStretch(0);
sizePolicy5.setHeightForWidth(offlineStartButton->sizePolicy().hasHeightForWidth()); sizePolicy5.setHeightForWidth(offlineStartButton->sizePolicy().hasHeightForWidth());
offlineStartButton->setSizePolicy(sizePolicy5); offlineStartButton->setSizePolicy(sizePolicy5);
offlineStartButton->setMinimumSize(QSize(250, 35)); offlineStartButton->setMinimumSize(QSize(250, 40));
offlineStartButton->setMaximumSize(QSize(1500, 35)); offlineStartButton->setMaximumSize(QSize(1500, 40));
offlineStartButton->setCheckable(false); offlineStartButton->setCheckable(false);
offlineStartButton->setChecked(false); offlineStartButton->setChecked(false);
verticalLayoutWidget = new QWidget(centralwidget); verticalLayoutWidget = new QWidget(centralwidget);
verticalLayoutWidget->setObjectName(QString::fromUtf8("verticalLayoutWidget")); verticalLayoutWidget->setObjectName(QString::fromUtf8("verticalLayoutWidget"));
verticalLayoutWidget->setGeometry(QRect(10, 550, 521, 41)); verticalLayoutWidget->setGeometry(QRect(10, 549, 531, 41));
changButtonGroup = new QVBoxLayout(verticalLayoutWidget); changButtonGroup = new QVBoxLayout(verticalLayoutWidget);
changButtonGroup->setSpacing(0);
changButtonGroup->setObjectName(QString::fromUtf8("changButtonGroup")); changButtonGroup->setObjectName(QString::fromUtf8("changButtonGroup"));
changButtonGroup->setContentsMargins(0, 0, 0, 0); changButtonGroup->setContentsMargins(0, 0, 0, 0);
MainWindow->setCentralWidget(centralwidget); MainWindow->setCentralWidget(centralwidget);