Files
qt5-legatus-legacy/Lts/Plugins/EffectShowClient/Gui/esc_operating_condition.ui
T
2026-08-13 18:33:10 +02:00

816 lines
25 KiB
XML
Executable File

<?xml version="1.0" encoding="UTF-8"?>
<ui version="4.0">
<class>OperatingCondition</class>
<widget class="QWidget" name="OperatingCondition">
<property name="windowTitle">
<string notr="true"/>
</property>
<layout class="QHBoxLayout" name="horizontalLayout">
<item>
<widget class="QWidget" name="widget" native="true">
<property name="minimumSize">
<size>
<width>500</width>
<height>0</height>
</size>
</property>
<layout class="QGridLayout" name="gridLayout">
<item row="0" column="0">
<widget class="QLabel" name="label">
<property name="text">
<string>Ammunition:</string>
</property>
</widget>
</item>
<item row="0" column="1" colspan="2">
<layout class="QHBoxLayout" name="horizontalLayout_7">
<item>
<layout class="QVBoxLayout" name="verticalLayout_3">
<item>
<layout class="QHBoxLayout" name="horizontalLayout_6">
<item>
<layout class="QVBoxLayout" name="verticalLayout">
<item>
<layout class="QHBoxLayout" name="horizontalLayout_4">
<item>
<widget class="QLabel" name="lblMagazine">
<property name="text">
<string>Magazine:</string>
</property>
</widget>
</item>
<item>
<widget class="QLabel" name="lblMag">
<property name="sizePolicy">
<sizepolicy hsizetype="Minimum" vsizetype="Minimum">
<horstretch>0</horstretch>
<verstretch>0</verstretch>
</sizepolicy>
</property>
<property name="minimumSize">
<size>
<width>50</width>
<height>0</height>
</size>
</property>
<property name="maximumSize">
<size>
<width>50</width>
<height>16777215</height>
</size>
</property>
<property name="text">
<string>0</string>
</property>
</widget>
</item>
</layout>
</item>
<item>
<widget class="QSpinBox" name="sbMagazine">
<property name="toolTip">
<string>Magazine</string>
</property>
<property name="alignment">
<set>Qt::AlignRight|Qt::AlignTrailing|Qt::AlignVCenter</set>
</property>
</widget>
</item>
</layout>
</item>
<item>
<layout class="QVBoxLayout" name="verticalLayout_2">
<item>
<layout class="QHBoxLayout" name="horizontalLayout_5">
<item>
<widget class="QLabel" name="lblAvailable">
<property name="text">
<string>Available:</string>
</property>
</widget>
</item>
<item>
<widget class="QLabel" name="lblAva">
<property name="minimumSize">
<size>
<width>50</width>
<height>0</height>
</size>
</property>
<property name="maximumSize">
<size>
<width>50</width>
<height>16777215</height>
</size>
</property>
<property name="text">
<string>0</string>
</property>
</widget>
</item>
</layout>
</item>
<item>
<widget class="QSpinBox" name="sbAvailable">
<property name="toolTip">
<string>Available</string>
</property>
<property name="alignment">
<set>Qt::AlignRight|Qt::AlignTrailing|Qt::AlignVCenter</set>
</property>
<property name="maximum">
<number>255</number>
</property>
</widget>
</item>
</layout>
</item>
</layout>
</item>
<item>
<widget class="QPushButton" name="pbSendAmmunition">
<property name="text">
<string>Send Ammunition</string>
</property>
<property name="icon">
<iconset resource="../../Styles/Dark/resources/rme_dark_style.qrc">
<normaloff>:/style/avm_start.svg</normaloff>:/style/avm_start.svg</iconset>
</property>
</widget>
</item>
</layout>
</item>
<item>
<spacer name="horizontalSpacer">
<property name="orientation">
<enum>Qt::Horizontal</enum>
</property>
<property name="sizeHint" stdset="0">
<size>
<width>102</width>
<height>20</height>
</size>
</property>
</spacer>
</item>
</layout>
</item>
<item row="1" column="0">
<widget class="QLabel" name="lblStatusFiringUnits">
<property name="autoFillBackground">
<bool>false</bool>
</property>
<property name="text">
<string>Status Firing Unit:</string>
</property>
</widget>
</item>
<item row="1" column="1">
<layout class="QHBoxLayout" name="hz">
<item>
<widget class="QFrame" name="frame">
<property name="sizePolicy">
<sizepolicy hsizetype="Fixed" vsizetype="Fixed">
<horstretch>20</horstretch>
<verstretch>20</verstretch>
</sizepolicy>
</property>
<property name="minimumSize">
<size>
<width>75</width>
<height>50</height>
</size>
</property>
<property name="styleSheet">
<string notr="true">image: url(:/style/icons/png/camera_arrow_up.png);</string>
</property>
<property name="frameShape">
<enum>QFrame::NoFrame</enum>
</property>
<property name="frameShadow">
<enum>QFrame::Raised</enum>
</property>
<property name="lineWidth">
<number>0</number>
</property>
<widget class="LtsWidgets::LtsLedWidget" name="ledFwdLh">
<property name="geometry">
<rect>
<x>0</x>
<y>0</y>
<width>16</width>
<height>16</height>
</rect>
</property>
<property name="oncolor" stdset="0">
<color>
<red>0</red>
<green>255</green>
<blue>0</blue>
</color>
</property>
<property name="offcolor" stdset="0">
<color>
<red>255</red>
<green>0</green>
<blue>0</blue>
</color>
</property>
<property name="animTime">
<number>0</number>
</property>
</widget>
<widget class="LtsWidgets::LtsLedWidget" name="ledAftLh">
<property name="geometry">
<rect>
<x>0</x>
<y>30</y>
<width>16</width>
<height>16</height>
</rect>
</property>
<property name="oncolor" stdset="0">
<color>
<red>0</red>
<green>255</green>
<blue>0</blue>
</color>
</property>
<property name="offcolor" stdset="0">
<color>
<red>255</red>
<green>0</green>
<blue>0</blue>
</color>
</property>
</widget>
<widget class="LtsWidgets::LtsLedWidget" name="ledFwdRh">
<property name="geometry">
<rect>
<x>55</x>
<y>0</y>
<width>16</width>
<height>16</height>
</rect>
</property>
<property name="oncolor" stdset="0">
<color>
<red>0</red>
<green>255</green>
<blue>0</blue>
</color>
</property>
<property name="offcolor" stdset="0">
<color>
<red>255</red>
<green>0</green>
<blue>0</blue>
</color>
</property>
</widget>
<widget class="LtsWidgets::LtsLedWidget" name="ledAftRh">
<property name="geometry">
<rect>
<x>55</x>
<y>30</y>
<width>16</width>
<height>16</height>
</rect>
</property>
<property name="oncolor" stdset="0">
<color>
<red>0</red>
<green>255</green>
<blue>0</blue>
</color>
</property>
<property name="offcolor" stdset="0">
<color>
<red>255</red>
<green>0</green>
<blue>0</blue>
</color>
</property>
</widget>
</widget>
</item>
<item>
<spacer name="horizontalSpacer_4">
<property name="orientation">
<enum>Qt::Horizontal</enum>
</property>
<property name="sizeHint" stdset="0">
<size>
<width>40</width>
<height>20</height>
</size>
</property>
</spacer>
</item>
</layout>
</item>
<item row="1" column="2">
<spacer name="horizontalSpacer_2">
<property name="orientation">
<enum>Qt::Horizontal</enum>
</property>
<property name="sizeHint" stdset="0">
<size>
<width>182</width>
<height>49</height>
</size>
</property>
</spacer>
</item>
<item row="2" column="0">
<layout class="QHBoxLayout" name="horizontalLayout_3">
<item>
<widget class="QLabel" name="lblReadi">
<property name="text">
<string>Readiness:</string>
</property>
</widget>
</item>
</layout>
</item>
<item row="2" column="1">
<layout class="QHBoxLayout" name="horizontalLayout_2">
<item>
<widget class="LtsWidgets::LtsLedWidget" name="ltsLedWidget">
<property name="minimumSize">
<size>
<width>30</width>
<height>30</height>
</size>
</property>
<property name="maximumSize">
<size>
<width>30</width>
<height>30</height>
</size>
</property>
<property name="status">
<bool>false</bool>
</property>
</widget>
</item>
<item>
<widget class="QPushButton" name="pbConfirmReadiness">
<property name="text">
<string>Confirm</string>
</property>
</widget>
</item>
<item>
<widget class="QPushButton" name="pbRevokeReadiness">
<property name="text">
<string>Withdraw</string>
</property>
</widget>
</item>
</layout>
</item>
<item row="2" column="2">
<spacer name="horizontalSpacer_5">
<property name="orientation">
<enum>Qt::Horizontal</enum>
</property>
<property name="sizeHint" stdset="0">
<size>
<width>182</width>
<height>29</height>
</size>
</property>
</spacer>
</item>
<item row="3" column="0" colspan="3">
<layout class="QHBoxLayout" name="safetyLayout" stretch="0">
<item>
<spacer name="horizontalSpacer_6">
<property name="orientation">
<enum>Qt::Horizontal</enum>
</property>
<property name="sizeHint" stdset="0">
<size>
<width>40</width>
<height>20</height>
</size>
</property>
</spacer>
</item>
</layout>
</item>
<item row="5" column="1">
<spacer name="verticalSpacer">
<property name="orientation">
<enum>Qt::Vertical</enum>
</property>
<property name="sizeHint" stdset="0">
<size>
<width>20</width>
<height>3</height>
</size>
</property>
</spacer>
</item>
<item row="4" column="0" colspan="3">
<widget class="QWidget" name="widget_2" native="true">
<property name="minimumSize">
<size>
<width>200</width>
<height>80</height>
</size>
</property>
<widget class="QLabel" name="lblBatteryVoltage">
<property name="geometry">
<rect>
<x>0</x>
<y>10</y>
<width>321</width>
<height>18</height>
</rect>
</property>
<property name="text">
<string>Battery Voltage [V]:</string>
</property>
</widget>
<widget class="QLineEdit" name="leVoltage">
<property name="geometry">
<rect>
<x>140</x>
<y>30</y>
<width>81</width>
<height>41</height>
</rect>
</property>
<property name="minimumSize">
<size>
<width>41</width>
<height>0</height>
</size>
</property>
<property name="styleSheet">
<string notr="true">background-color: rgb(255, 0, 0);</string>
</property>
<property name="alignment">
<set>Qt::AlignRight|Qt::AlignTrailing|Qt::AlignVCenter</set>
</property>
<property name="readOnly">
<bool>true</bool>
</property>
</widget>
<widget class="QFrame" name="frameRedVoltage">
<property name="geometry">
<rect>
<x>14</x>
<y>30</y>
<width>31</width>
<height>41</height>
</rect>
</property>
<property name="autoFillBackground">
<bool>false</bool>
</property>
<property name="styleSheet">
<string notr="true">#frameRedVoltage {
background-color: rgb(255, 0, 0);
border-left: 1px solid red;
border-top: 1px solid red;
border-bottom: 1px solid red;
}</string>
</property>
<property name="frameShape">
<enum>QFrame::Box</enum>
</property>
<property name="frameShadow">
<enum>QFrame::Raised</enum>
</property>
</widget>
<widget class="QFrame" name="frameYellowVoltage">
<property name="geometry">
<rect>
<x>14</x>
<y>30</y>
<width>61</width>
<height>41</height>
</rect>
</property>
<property name="autoFillBackground">
<bool>false</bool>
</property>
<property name="styleSheet">
<string notr="true">background-color: rgb(255, 255, 0);</string>
</property>
<property name="frameShape">
<enum>QFrame::Box</enum>
</property>
<property name="frameShadow">
<enum>QFrame::Raised</enum>
</property>
</widget>
<widget class="QFrame" name="frameBarVoltage">
<property name="geometry">
<rect>
<x>14</x>
<y>40</y>
<width>121</width>
<height>21</height>
</rect>
</property>
<property name="autoFillBackground">
<bool>false</bool>
</property>
<property name="styleSheet">
<string notr="true">background-color: rgb(0, 255, 0);
background-color: rgb(0, 85, 255);</string>
</property>
<property name="frameShape">
<enum>QFrame::NoFrame</enum>
</property>
<property name="frameShadow">
<enum>QFrame::Raised</enum>
</property>
</widget>
<widget class="QFrame" name="frameGreenVoltage">
<property name="geometry">
<rect>
<x>14</x>
<y>30</y>
<width>121</width>
<height>41</height>
</rect>
</property>
<property name="autoFillBackground">
<bool>false</bool>
</property>
<property name="styleSheet">
<string notr="true">background-color: rgb(0, 255, 0);</string>
</property>
<property name="frameShape">
<enum>QFrame::Box</enum>
</property>
<property name="frameShadow">
<enum>QFrame::Raised</enum>
</property>
</widget>
<widget class="QFrame" name="frameBarGraph">
<property name="geometry">
<rect>
<x>14</x>
<y>40</y>
<width>121</width>
<height>21</height>
</rect>
</property>
<property name="frameShape">
<enum>QFrame::Box</enum>
</property>
<property name="frameShadow">
<enum>QFrame::Sunken</enum>
</property>
</widget>
<zorder>leVoltage</zorder>
<zorder>frameGreenVoltage</zorder>
<zorder>frameYellowVoltage</zorder>
<zorder>frameRedVoltage</zorder>
<zorder>frameBarVoltage</zorder>
<zorder>frameBarGraph</zorder>
<zorder>lblBatteryVoltage</zorder>
</widget>
</item>
</layout>
</widget>
</item>
<item>
<spacer name="horizontalSpacer_3">
<property name="orientation">
<enum>Qt::Horizontal</enum>
</property>
<property name="sizeHint" stdset="0">
<size>
<width>40</width>
<height>20</height>
</size>
</property>
</spacer>
</item>
<item>
<layout class="QFormLayout" name="formLayoutWeather">
<property name="sizeConstraint">
<enum>QLayout::SetDefaultConstraint</enum>
</property>
<property name="horizontalSpacing">
<number>2</number>
</property>
<property name="verticalSpacing">
<number>2</number>
</property>
<item row="0" column="0">
<widget class="QLabel" name="lblTemperature">
<property name="text">
<string>Temperature [°C]:</string>
</property>
</widget>
</item>
<item row="0" column="1">
<widget class="QLineEdit" name="leTemperature">
<property name="sizePolicy">
<sizepolicy hsizetype="MinimumExpanding" vsizetype="Fixed">
<horstretch>0</horstretch>
<verstretch>0</verstretch>
</sizepolicy>
</property>
<property name="minimumSize">
<size>
<width>50</width>
<height>0</height>
</size>
</property>
<property name="toolTip">
<string>Temperature [°C]</string>
</property>
<property name="alignment">
<set>Qt::AlignRight|Qt::AlignTrailing|Qt::AlignVCenter</set>
</property>
<property name="readOnly">
<bool>true</bool>
</property>
</widget>
</item>
<item row="1" column="0">
<widget class="QLabel" name="lblHumidity">
<property name="text">
<string>Humidity [%]:</string>
</property>
</widget>
</item>
<item row="1" column="1">
<widget class="QLineEdit" name="leHumidity">
<property name="sizePolicy">
<sizepolicy hsizetype="MinimumExpanding" vsizetype="Fixed">
<horstretch>0</horstretch>
<verstretch>0</verstretch>
</sizepolicy>
</property>
<property name="toolTip">
<string>Humidity [%]</string>
</property>
<property name="alignment">
<set>Qt::AlignRight|Qt::AlignTrailing|Qt::AlignVCenter</set>
</property>
<property name="readOnly">
<bool>true</bool>
</property>
</widget>
</item>
<item row="2" column="0">
<widget class="QLabel" name="lblPressure">
<property name="text">
<string>Pressure [hPa]:</string>
</property>
</widget>
</item>
<item row="2" column="1">
<widget class="QLineEdit" name="lePressure">
<property name="sizePolicy">
<sizepolicy hsizetype="MinimumExpanding" vsizetype="Fixed">
<horstretch>0</horstretch>
<verstretch>0</verstretch>
</sizepolicy>
</property>
<property name="toolTip">
<string>Pressure [hPa]</string>
</property>
<property name="alignment">
<set>Qt::AlignRight|Qt::AlignTrailing|Qt::AlignVCenter</set>
</property>
<property name="readOnly">
<bool>true</bool>
</property>
</widget>
</item>
<item row="3" column="0">
<widget class="QLabel" name="lblWindSpeed">
<property name="text">
<string>Wind Speed [m/s]:</string>
</property>
</widget>
</item>
<item row="3" column="1">
<widget class="QLineEdit" name="leWindSpeed">
<property name="sizePolicy">
<sizepolicy hsizetype="MinimumExpanding" vsizetype="Fixed">
<horstretch>0</horstretch>
<verstretch>0</verstretch>
</sizepolicy>
</property>
<property name="toolTip">
<string>Wind Speed [m/s]</string>
</property>
<property name="alignment">
<set>Qt::AlignRight|Qt::AlignTrailing|Qt::AlignVCenter</set>
</property>
<property name="readOnly">
<bool>true</bool>
</property>
</widget>
</item>
<item row="4" column="0">
<widget class="QLabel" name="lblWindDirection">
<property name="text">
<string>Wind Direction *) [°]:</string>
</property>
</widget>
</item>
<item row="4" column="1">
<widget class="QLineEdit" name="leWindDirection">
<property name="sizePolicy">
<sizepolicy hsizetype="MinimumExpanding" vsizetype="Fixed">
<horstretch>0</horstretch>
<verstretch>0</verstretch>
</sizepolicy>
</property>
<property name="toolTip">
<string>Wind Direction [°]</string>
</property>
<property name="alignment">
<set>Qt::AlignRight|Qt::AlignTrailing|Qt::AlignVCenter</set>
</property>
<property name="readOnly">
<bool>true</bool>
</property>
</widget>
</item>
<item row="5" column="0">
<widget class="QLabel" name="lblStation">
<property name="text">
<string>Station:</string>
</property>
</widget>
</item>
<item row="5" column="1">
<widget class="QLineEdit" name="leStation">
<property name="sizePolicy">
<sizepolicy hsizetype="MinimumExpanding" vsizetype="Fixed">
<horstretch>0</horstretch>
<verstretch>0</verstretch>
</sizepolicy>
</property>
</widget>
</item>
<item row="6" column="0">
<widget class="QLabel" name="lblLastUpdate">
<property name="text">
<string>Last Update:</string>
</property>
</widget>
</item>
<item row="6" column="1">
<widget class="QLineEdit" name="leLastUpdate">
<property name="sizePolicy">
<sizepolicy hsizetype="MinimumExpanding" vsizetype="Fixed">
<horstretch>0</horstretch>
<verstretch>0</verstretch>
</sizepolicy>
</property>
</widget>
</item>
<item row="7" column="0" colspan="2">
<widget class="QLabel" name="lblNote">
<property name="text">
<string>*) North=0°, East=90°, South=180°, West=270°</string>
</property>
</widget>
</item>
</layout>
</item>
</layout>
</widget>
<customwidgets>
<customwidget>
<class>LtsWidgets::LtsLedWidget</class>
<extends>QWidget</extends>
<header>LtsWidgets/lts_led_widget.h</header>
</customwidget>
</customwidgets>
<tabstops>
<tabstop>sbMagazine</tabstop>
<tabstop>sbAvailable</tabstop>
<tabstop>pbSendAmmunition</tabstop>
<tabstop>pbConfirmReadiness</tabstop>
<tabstop>pbRevokeReadiness</tabstop>
<tabstop>leTemperature</tabstop>
<tabstop>leHumidity</tabstop>
<tabstop>lePressure</tabstop>
<tabstop>leWindSpeed</tabstop>
<tabstop>leWindDirection</tabstop>
<tabstop>leStation</tabstop>
<tabstop>leLastUpdate</tabstop>
<tabstop>leVoltage</tabstop>
</tabstops>
<resources>
<include location="../../Styles/Dark/resources/rme_dark_style.qrc"/>
</resources>
<connections/>
</ui>