feat: change buttonsView

* add buttonsView common(complete)
* add buttonsView instructor(notWorking)
* BUGFIX sendSystem meth update files
* BUGFIX updateController meth checkNeedUpdate
This commit is contained in:
semenov
2024-12-11 17:10:34 +03:00
parent 93705b54fe
commit 077208afdd
80 changed files with 145071 additions and 8038 deletions

View File

@@ -44,129 +44,6 @@
<height>600</height>
</size>
</property>
<widget class="QWidget" name="downLayout" native="true">
<property name="geometry">
<rect>
<x>0</x>
<y>541</y>
<width>540</width>
<height>50</height>
</rect>
</property>
<property name="sizePolicy">
<sizepolicy hsizetype="Fixed" vsizetype="Fixed">
<horstretch>0</horstretch>
<verstretch>0</verstretch>
</sizepolicy>
</property>
<property name="minimumSize">
<size>
<width>0</width>
<height>40</height>
</size>
</property>
<property name="maximumSize">
<size>
<width>16777215</width>
<height>60</height>
</size>
</property>
<layout class="QHBoxLayout" name="downlayout">
<property name="spacing">
<number>10</number>
</property>
<item>
<widget class="QProgressBar" name="loadingProgressBar">
<property name="sizePolicy">
<sizepolicy hsizetype="Preferred" vsizetype="Minimum">
<horstretch>0</horstretch>
<verstretch>0</verstretch>
</sizepolicy>
</property>
<property name="minimumSize">
<size>
<width>0</width>
<height>35</height>
</size>
</property>
<property name="maximumSize">
<size>
<width>16777215</width>
<height>35</height>
</size>
</property>
<property name="value">
<number>10</number>
</property>
</widget>
</item>
<item>
<widget class="QPushButton" name="updateButton">
<property name="enabled">
<bool>true</bool>
</property>
<property name="sizePolicy">
<sizepolicy hsizetype="Preferred" vsizetype="Minimum">
<horstretch>0</horstretch>
<verstretch>0</verstretch>
</sizepolicy>
</property>
<property name="minimumSize">
<size>
<width>100</width>
<height>35</height>
</size>
</property>
<property name="maximumSize">
<size>
<width>2000</width>
<height>40</height>
</size>
</property>
<property name="font">
<font>
<family>Calibri</family>
<pointsize>8</pointsize>
</font>
</property>
<property name="text">
<string>Обновить</string>
</property>
<property name="flat">
<bool>false</bool>
</property>
</widget>
</item>
<item>
<widget class="QPushButton" name="startButton">
<property name="enabled">
<bool>true</bool>
</property>
<property name="sizePolicy">
<sizepolicy hsizetype="Preferred" vsizetype="Minimum">
<horstretch>0</horstretch>
<verstretch>0</verstretch>
</sizepolicy>
</property>
<property name="minimumSize">
<size>
<width>100</width>
<height>35</height>
</size>
</property>
<property name="maximumSize">
<size>
<width>2000</width>
<height>40</height>
</size>
</property>
<property name="text">
<string>Запуск</string>
</property>
</widget>
</item>
</layout>
</widget>
<widget class="QFrame" name="mainFrame">
<property name="enabled">
<bool>true</bool>
@@ -920,57 +797,6 @@
</item>
</layout>
</widget>
<widget class="QWidget" name="updateButtonGroup_2" native="true">
<property name="geometry">
<rect>
<x>0</x>
<y>541</y>
<width>540</width>
<height>50</height>
</rect>
</property>
<layout class="QHBoxLayout" name="updateButtonGroup">
<item>
<widget class="QPushButton" name="loadToServerButton">
<property name="minimumSize">
<size>
<width>0</width>
<height>35</height>
</size>
</property>
<property name="text">
<string>Выгрузить изменения</string>
</property>
</widget>
</item>
<item>
<widget class="QPushButton" name="undoChangesButton">
<property name="minimumSize">
<size>
<width>0</width>
<height>35</height>
</size>
</property>
<property name="text">
<string>Отменить изменения</string>
</property>
</widget>
</item>
<item>
<widget class="QPushButton" name="startWithCurrentChangesButton">
<property name="minimumSize">
<size>
<width>0</width>
<height>35</height>
</size>
</property>
<property name="text">
<string>Запустить без отправки</string>
</property>
</widget>
</item>
</layout>
</widget>
<widget class="QWidget" name="headerWidget" native="true">
<property name="geometry">
<rect>
@@ -1070,9 +896,9 @@
</property>
<property name="geometry">
<rect>
<x>570</x>
<x>540</x>
<y>552</y>
<width>300</width>
<width>250</width>
<height>35</height>
</rect>
</property>
@@ -1104,16 +930,26 @@
<bool>false</bool>
</property>
</widget>
<zorder>downLayout</zorder>
<widget class="QWidget" name="verticalLayoutWidget">
<property name="geometry">
<rect>
<x>10</x>
<y>550</y>
<width>521</width>
<height>41</height>
</rect>
</property>
<layout class="QVBoxLayout" name="changButtonGroup"/>
</widget>
<zorder>mainFrame</zorder>
<zorder>horizontalWidget</zorder>
<zorder>notificationLabel</zorder>
<zorder>debugWidget</zorder>
<zorder>updateButtonGroup_2</zorder>
<zorder>updateWidget</zorder>
<zorder>headerWidget</zorder>
<zorder>LanguageWidget</zorder>
<zorder>offlineStartButton</zorder>
<zorder>verticalLayoutWidget</zorder>
</widget>
</widget>
<customwidgets>