This commit is contained in:
semenov
2024-08-29 10:03:59 +03:00
parent 3e43e897e7
commit c0ab6b1649
24 changed files with 353 additions and 156 deletions

View File

@@ -29,15 +29,15 @@
</size>
</property>
<property name="windowTitle">
<string>Updater</string>
<string>Тренажер процедур технического обслуживания самолета RRJ-95NEW-100</string>
</property>
<widget class="QWidget" name="centralwidget">
<widget class="QWidget" name="horizontalLayoutWidget">
<property name="geometry">
<rect>
<x>10</x>
<y>10</y>
<width>682</width>
<y>100</y>
<width>681</width>
<height>221</height>
</rect>
</property>
@@ -54,54 +54,60 @@
<bool>true</bool>
</property>
<property name="sizePolicy">
<sizepolicy hsizetype="Fixed" vsizetype="Fixed">
<sizepolicy hsizetype="Maximum" vsizetype="Maximum">
<horstretch>0</horstretch>
<verstretch>0</verstretch>
</sizepolicy>
</property>
<property name="minimumSize">
<size>
<width>250</width>
<height>0</height>
</size>
</property>
<property name="maximumSize">
<size>
<width>250</width>
<height>16777215</height>
</size>
</property>
<property name="autoFillBackground">
<bool>false</bool>
</property>
<layout class="QVBoxLayout" name="verticalLayout">
<item>
<widget class="QLabel" name="notificationLabel">
<property name="sizePolicy">
<sizepolicy hsizetype="Fixed" vsizetype="Fixed">
<horstretch>0</horstretch>
<verstretch>0</verstretch>
</sizepolicy>
</property>
<widget class="QLabel" name="loginTitle">
<property name="text">
<string/>
<string>Вход в систему</string>
</property>
<property name="alignment">
<set>Qt::AlignCenter</set>
</property>
</widget>
</item>
<item>
<layout class="QHBoxLayout" name="loginLayout">
<item>
<widget class="QLabel" name="loginTitle">
<widget class="QLineEdit" name="loginInputField">
<property name="text">
<string>Логин:</string>
<string/>
</property>
<property name="placeholderText">
<string>Логин</string>
</property>
</widget>
</item>
<item>
<widget class="QLineEdit" name="loginInputField"/>
</item>
</layout>
</item>
<item>
<layout class="QHBoxLayout" name="passwordLayout">
<item>
<widget class="QLabel" name="passwordTitle">
<property name="text">
<string>Пароль:</string>
<widget class="QLineEdit" name="passwordInputField">
<property name="placeholderText">
<string>Пароль</string>
</property>
</widget>
</item>
<item>
<widget class="QLineEdit" name="passwordInputField"/>
</item>
</layout>
</item>
<item>
@@ -136,36 +142,52 @@
<verstretch>0</verstretch>
</sizepolicy>
</property>
<property name="minimumSize">
<size>
<width>200</width>
<height>0</height>
</size>
</property>
<property name="maximumSize">
<size>
<width>200</width>
<height>16777215</height>
</size>
</property>
<property name="autoFillBackground">
<bool>false</bool>
</property>
<layout class="QVBoxLayout" name="verticalLayout_2">
<item>
<widget class="QLabel" name="serverSettingsTitle">
<property name="text">
<string>Настройки сервера</string>
</property>
<property name="alignment">
<set>Qt::AlignCenter</set>
</property>
</widget>
</item>
<item>
<layout class="QHBoxLayout" name="serverInputLayout">
<item>
<widget class="QLabel" name="serverTitle">
<property name="text">
<string>Сервер:</string>
<widget class="QLineEdit" name="serverInputField">
<property name="placeholderText">
<string>Сервер</string>
</property>
</widget>
</item>
<item>
<widget class="QLineEdit" name="serverInputField"/>
</item>
</layout>
</item>
<item>
<layout class="QHBoxLayout" name="portInputLayout">
<item>
<widget class="QLabel" name="portTitle">
<property name="text">
<string>Порт:</string>
<widget class="QLineEdit" name="portInputField">
<property name="placeholderText">
<string>Порт</string>
</property>
</widget>
</item>
<item>
<widget class="QLineEdit" name="portInputField"/>
</item>
</layout>
</item>
<item>
@@ -178,49 +200,13 @@
</layout>
</widget>
</item>
<item>
<widget class="QTextEdit" name="debugText">
<property name="enabled">
<bool>false</bool>
</property>
<property name="sizePolicy">
<sizepolicy hsizetype="Preferred" vsizetype="Minimum">
<horstretch>0</horstretch>
<verstretch>0</verstretch>
</sizepolicy>
</property>
<property name="minimumSize">
<size>
<width>250</width>
<height>0</height>
</size>
</property>
<property name="maximumSize">
<size>
<width>250</width>
<height>16777215</height>
</size>
</property>
</widget>
</item>
</layout>
</widget>
<widget class="QWidget" name="horizontalLayoutWidget_2">
<property name="geometry">
<rect>
<x>130</x>
<y>240</y>
<width>401</width>
<height>171</height>
</rect>
</property>
<layout class="QHBoxLayout" name="displayWidget"/>
</widget>
<widget class="QWidget" name="layoutWidget">
<property name="geometry">
<rect>
<x>10</x>
<y>420</y>
<y>430</y>
<width>681</width>
<height>61</height>
</rect>
@@ -228,6 +214,13 @@
<layout class="QHBoxLayout" name="downlayout">
<item>
<layout class="QVBoxLayout" name="downLayoutLoadingSlider">
<item>
<widget class="QLabel" name="inlineTextDebug">
<property name="text">
<string/>
</property>
</widget>
</item>
<item>
<widget class="QProgressBar" name="loadingProgressBar">
<property name="minimumSize">
@@ -247,13 +240,6 @@
</property>
</widget>
</item>
<item>
<widget class="QLabel" name="inlineTextDebug">
<property name="text">
<string/>
</property>
</widget>
</item>
</layout>
</item>
<item>
@@ -261,9 +247,12 @@
<property name="sizeConstraint">
<enum>QLayout::SetFixedSize</enum>
</property>
<property name="bottomMargin">
<property name="topMargin">
<number>27</number>
</property>
<property name="bottomMargin">
<number>0</number>
</property>
<item>
<widget class="QPushButton" name="connectButton">
<property name="enabled">
@@ -324,6 +313,9 @@
<property name="text">
<string>Обновить</string>
</property>
<property name="flat">
<bool>false</bool>
</property>
</widget>
</item>
<item>
@@ -358,6 +350,125 @@
</item>
</layout>
</widget>
<widget class="QLabel" name="notificationLabel">
<property name="geometry">
<rect>
<x>200</x>
<y>80</y>
<width>300</width>
<height>40</height>
</rect>
</property>
<property name="sizePolicy">
<sizepolicy hsizetype="Fixed" vsizetype="Fixed">
<horstretch>0</horstretch>
<verstretch>0</verstretch>
</sizepolicy>
</property>
<property name="minimumSize">
<size>
<width>300</width>
<height>0</height>
</size>
</property>
<property name="maximumSize">
<size>
<width>300</width>
<height>16777215</height>
</size>
</property>
<property name="font">
<font>
<pointsize>10</pointsize>
</font>
</property>
<property name="frameShape">
<enum>QFrame::StyledPanel</enum>
</property>
<property name="frameShadow">
<enum>QFrame::Plain</enum>
</property>
<property name="text">
<string>Какая-то ошибка</string>
</property>
<property name="textFormat">
<enum>Qt::RichText</enum>
</property>
<property name="alignment">
<set>Qt::AlignCenter</set>
</property>
</widget>
<widget class="QTextEdit" name="debugText">
<property name="geometry">
<rect>
<x>0</x>
<y>0</y>
<width>701</width>
<height>81</height>
</rect>
</property>
</widget>
<widget class="QWidget" name="displayGroupWidget" native="true">
<property name="geometry">
<rect>
<x>50</x>
<y>90</y>
<width>600</width>
<height>200</height>
</rect>
</property>
<property name="sizePolicy">
<sizepolicy hsizetype="Preferred" vsizetype="Minimum">
<horstretch>0</horstretch>
<verstretch>0</verstretch>
</sizepolicy>
</property>
<property name="minimumSize">
<size>
<width>600</width>
<height>200</height>
</size>
</property>
<property name="maximumSize">
<size>
<width>500</width>
<height>200</height>
</size>
</property>
<layout class="QVBoxLayout" name="verticalLayout_4">
<item>
<widget class="QLabel" name="displayChoiceTitle">
<property name="sizePolicy">
<sizepolicy hsizetype="Minimum" vsizetype="Minimum">
<horstretch>0</horstretch>
<verstretch>0</verstretch>
</sizepolicy>
</property>
<property name="maximumSize">
<size>
<width>16777215</width>
<height>30</height>
</size>
</property>
<property name="text">
<string>Выберите активные мониторы</string>
</property>
<property name="alignment">
<set>Qt::AlignHCenter|Qt::AlignTop</set>
</property>
</widget>
</item>
<item>
<widget class="QWidget" name="screenWidget" native="true">
<layout class="QHBoxLayout" name="displayWidget">
<item>
<layout class="QHBoxLayout" name="displayLayout"/>
</item>
</layout>
</widget>
</item>
</layout>
</widget>
</widget>
</widget>
<resources/>