nut/scripts/python/app/ui/window1.ui

474 lines
15 KiB
Text
Raw Normal View History

2022-06-29 10:37:36 +00:00
<?xml version="1.0" encoding="UTF-8"?>
<ui version="4.0">
<class>window1</class>
<widget class="QMainWindow" name="window1">
<property name="geometry">
<rect>
<x>0</x>
<y>0</y>
<width>560</width>
<height>465</height>
</rect>
</property>
<property name="windowTitle">
<string>NUT Monitor</string>
</property>
<property name="windowIcon">
<iconset theme="battery">
<normaloff>../../../../../.designer/backup</normaloff>../../../../../.designer/backup</iconset>
</property>
<widget class="QWidget" name="centralwidget">
<layout class="QVBoxLayout" name="verticalLayout">
<item>
<widget class="QGroupBox" name="groupBox1">
<property name="title">
<string> NUT Server </string>
</property>
<property name="alignment">
<set>Qt::AlignCenter</set>
</property>
<layout class="QVBoxLayout" name="verticalLayout_2">
<item>
<widget class="QWidget" name="vbox6" native="true">
<layout class="QVBoxLayout" name="verticalLayout_6">
<property name="leftMargin">
<number>0</number>
</property>
<property name="topMargin">
<number>0</number>
</property>
<property name="rightMargin">
<number>0</number>
</property>
<property name="bottomMargin">
<number>0</number>
</property>
<item>
<layout class="QGridLayout" name="table1">
<item row="0" column="2">
<widget class="QSpinBox" name="spinbutton1">
<property name="maximum">
<number>65535</number>
</property>
<property name="value">
<number>3493</number>
</property>
</widget>
</item>
<item row="0" column="1">
<widget class="QLineEdit" name="entry1"/>
</item>
<item row="1" column="0">
<widget class="QLabel" name="label3">
<property name="text">
<string>Device : </string>
</property>
</widget>
</item>
<item row="1" column="1">
<widget class="QComboBox" name="combobox1">
<item>
<property name="text">
<string>None</string>
</property>
</item>
</widget>
</item>
<item row="0" column="0">
<widget class="QLabel" name="label2">
<property name="text">
<string>Host / Port : </string>
</property>
</widget>
</item>
<item row="1" column="2">
<widget class="QPushButton" name="button1">
<property name="enabled">
<bool>false</bool>
</property>
<property name="text">
<string>&amp;Refresh</string>
</property>
<property name="icon">
<iconset theme="view-refresh"/>
</property>
</widget>
</item>
</layout>
</item>
<item>
<widget class="QCheckBox" name="checkbutton1">
<property name="text">
<string>Use authentication</string>
</property>
</widget>
</item>
<item>
<widget class="QWidget" name="hbox1" native="true">
<layout class="QHBoxLayout" name="horizontalLayout">
<property name="leftMargin">
<number>0</number>
</property>
<property name="topMargin">
<number>0</number>
</property>
<property name="rightMargin">
<number>0</number>
</property>
<property name="bottomMargin">
<number>0</number>
</property>
<item>
<widget class="QLabel" name="label4">
<property name="text">
<string>Login / Password : </string>
</property>
</widget>
</item>
<item>
<widget class="QLineEdit" name="entry2"/>
</item>
<item>
<widget class="QLineEdit" name="entry3">
<property name="echoMode">
<enum>QLineEdit::Password</enum>
</property>
</widget>
</item>
</layout>
</widget>
</item>
<item>
<widget class="QFrame" name="hseparator1">
<property name="frameShape">
<enum>QFrame::HLine</enum>
</property>
<property name="frameShadow">
<enum>QFrame::Sunken</enum>
</property>
</widget>
</item>
</layout>
</widget>
</item>
<item>
<layout class="QHBoxLayout" name="hbox2">
<item>
<widget class="QPushButton" name="button2">
<property name="enabled">
<bool>false</bool>
</property>
<property name="text">
<string>C&amp;onnect</string>
</property>
<property name="icon">
<iconset theme="network-connect"/>
</property>
</widget>
</item>
<item>
<widget class="QPushButton" name="button7">
<property name="text">
<string>&amp;Disconnect</string>
</property>
<property name="icon">
<iconset theme="network-disconnect"/>
</property>
</widget>
</item>
</layout>
</item>
</layout>
</widget>
</item>
<item>
<widget class="QTabWidget" name="notebook1">
<property name="currentIndex">
<number>0</number>
</property>
<widget class="QWidget" name="vbox7">
<attribute name="title">
<string>Device status</string>
</attribute>
<layout class="QVBoxLayout" name="verticalLayout_3">
<item>
<layout class="QHBoxLayout" name="hbox3">
<item>
<widget class="QLabel" name="image1">
<property name="sizePolicy">
<sizepolicy hsizetype="Minimum" vsizetype="Minimum">
<horstretch>0</horstretch>
<verstretch>0</verstretch>
</sizepolicy>
</property>
</widget>
</item>
<item>
<widget class="QFrame" name="frame4">
<property name="sizePolicy">
<sizepolicy hsizetype="Expanding" vsizetype="MinimumExpanding">
<horstretch>0</horstretch>
<verstretch>0</verstretch>
</sizepolicy>
</property>
<property name="frameShape">
<enum>QFrame::StyledPanel</enum>
</property>
<property name="frameShadow">
<enum>QFrame::Raised</enum>
</property>
<layout class="QHBoxLayout" name="horizontalLayout_2">
<item>
<widget class="QLabel" name="label10">
<property name="sizePolicy">
<sizepolicy hsizetype="Minimum" vsizetype="Minimum">
<horstretch>0</horstretch>
<verstretch>0</verstretch>
</sizepolicy>
</property>
<property name="text">
<string>label</string>
</property>
<property name="alignment">
<set>Qt::AlignRight|Qt::AlignTrailing|Qt::AlignVCenter</set>
</property>
</widget>
</item>
<item>
<widget class="QLabel" name="label11">
<property name="sizePolicy">
<sizepolicy hsizetype="Expanding" vsizetype="MinimumExpanding">
<horstretch>0</horstretch>
<verstretch>0</verstretch>
</sizepolicy>
</property>
<property name="text">
<string>label</string>
</property>
</widget>
</item>
</layout>
</widget>
</item>
</layout>
</item>
<item>
<layout class="QGridLayout" name="table2">
<item row="2" column="0">
<widget class="QLabel" name="label14">
<property name="text">
<string>Remaining time :</string>
</property>
<property name="alignment">
<set>Qt::AlignRight|Qt::AlignTrailing|Qt::AlignVCenter</set>
</property>
</widget>
</item>
<item row="0" column="0">
<widget class="QLabel" name="label12">
<property name="text">
<string>Battery charge :</string>
</property>
<property name="alignment">
<set>Qt::AlignRight|Qt::AlignTrailing|Qt::AlignVCenter</set>
</property>
</widget>
</item>
<item row="1" column="1">
<widget class="QProgressBar" name="progressbar2">
<property name="value">
<number>24</number>
</property>
</widget>
</item>
<item row="3" column="0">
<widget class="QLabel" name="label16">
<property name="text">
<string>Device commands :</string>
</property>
<property name="alignment">
<set>Qt::AlignRight|Qt::AlignTrailing|Qt::AlignVCenter</set>
</property>
</widget>
</item>
<item row="0" column="1">
<widget class="QProgressBar" name="progressbar1">
<property name="value">
<number>24</number>
</property>
</widget>
</item>
<item row="1" column="0">
<widget class="QLabel" name="label13">
<property name="text">
<string>Current load :</string>
</property>
<property name="alignment">
<set>Qt::AlignRight|Qt::AlignTrailing|Qt::AlignVCenter</set>
</property>
</widget>
</item>
<item row="2" column="1">
<widget class="QFrame" name="frame5">
<property name="frameShape">
<enum>QFrame::StyledPanel</enum>
</property>
<property name="frameShadow">
<enum>QFrame::Raised</enum>
</property>
<layout class="QHBoxLayout" name="horizontalLayout_3">
<item>
<widget class="QLabel" name="label15">
<property name="text">
<string>N/A</string>
</property>
<property name="alignment">
<set>Qt::AlignCenter</set>
</property>
</widget>
</item>
</layout>
</widget>
</item>
<item row="3" column="1">
<layout class="QHBoxLayout" name="hbox5">
<item>
<widget class="QComboBox" name="ups_commands_combo">
<property name="sizePolicy">
<sizepolicy hsizetype="Expanding" vsizetype="Fixed">
<horstretch>0</horstretch>
<verstretch>0</verstretch>
</sizepolicy>
</property>
<property name="sizeAdjustPolicy">
<enum>QComboBox::AdjustToContents</enum>
</property>
</widget>
</item>
<item>
<widget class="QPushButton" name="button8">
<property name="text">
<string>&amp;Execute</string>
</property>
<property name="icon">
<iconset theme="system-run"/>
</property>
</widget>
</item>
</layout>
</item>
</layout>
</item>
</layout>
</widget>
<widget class="QWidget" name="vbox8">
<attribute name="title">
<string>Device vars</string>
</attribute>
<layout class="QVBoxLayout" name="verticalLayout_4">
<item>
<widget class="QFrame" name="frame6">
<property name="frameShape">
<enum>QFrame::StyledPanel</enum>
</property>
<property name="frameShadow">
<enum>QFrame::Raised</enum>
</property>
<layout class="QVBoxLayout" name="verticalLayout_5">
<item>
<widget class="QTreeView" name="treeview1"/>
</item>
<item>
<widget class="QPushButton" name="button9">
<property name="text">
<string>&amp;Refresh</string>
</property>
<property name="icon">
<iconset theme="view-refresh"/>
</property>
</widget>
</item>
</layout>
</widget>
</item>
</layout>
</widget>
</widget>
</item>
</layout>
</widget>
<widget class="QMenuBar" name="menubar1">
<property name="geometry">
<rect>
<x>0</x>
<y>0</y>
<width>560</width>
<height>24</height>
</rect>
</property>
<widget class="QMenu" name="menu1">
<property name="title">
<string>&amp;File</string>
</property>
<addaction name="imagemenuitem1"/>
<addaction name="separator"/>
<addaction name="imagemenuitem5"/>
</widget>
<widget class="QMenu" name="menu2">
<property name="title">
<string>F&amp;avorites</string>
</property>
<addaction name="menuitem4"/>
<addaction name="menuitem5"/>
<addaction name="separator"/>
</widget>
<addaction name="menu1"/>
<addaction name="menu2"/>
</widget>
<widget class="QStatusBar" name="statusbar2"/>
<action name="imagemenuitem1">
<property name="icon">
<iconset theme="help-about"/>
</property>
<property name="text">
<string>&amp;About</string>
</property>
</action>
<action name="imagemenuitem5">
<property name="icon">
<iconset theme="application-exit"/>
</property>
<property name="text">
<string>&amp;Quit</string>
</property>
<property name="shortcut">
<string>Ctrl+Q</string>
</property>
</action>
<action name="menuitem4">
<property name="enabled">
<bool>false</bool>
</property>
<property name="icon">
<iconset theme="bookmark-new"/>
</property>
<property name="text">
<string>&amp;Add</string>
</property>
</action>
<action name="menuitem5">
<property name="enabled">
<bool>false</bool>
</property>
<property name="icon">
<iconset theme="bookmark-remove"/>
</property>
<property name="text">
<string>&amp;Delete</string>
</property>
</action>
</widget>
<resources/>
<connections/>
</ui>