282 lines
6.8 KiB
XML
282 lines
6.8 KiB
XML
<?xml version="1.0" encoding="UTF-8"?>
|
|
<ui version="4.0">
|
|
<class>BmsServicePage</class>
|
|
<widget class="QFrame" name="BmsServicePage">
|
|
<property name="geometry">
|
|
<rect>
|
|
<x>0</x>
|
|
<y>0</y>
|
|
<width>1071</width>
|
|
<height>755</height>
|
|
</rect>
|
|
</property>
|
|
<property name="windowTitle">
|
|
<string>Form</string>
|
|
</property>
|
|
<property name="styleSheet">
|
|
<string notr="true">
|
|
QWidget#BmsServicePage
|
|
{
|
|
background-color: #f7f8fc
|
|
}
|
|
|
|
QPushButton#pbVisualizationMenuBarVoltage
|
|
{
|
|
border: 2px solid lightgrey;
|
|
border-top-left-radius: 15px;
|
|
background: white;
|
|
color: black;
|
|
font-size: 18px;
|
|
border-right-color: white;
|
|
}
|
|
|
|
QPushButton#pbVisualizationMenuBarAmperage
|
|
{
|
|
border: 2px solid lightgrey;
|
|
/* border-top-left-radius: 20px;*/
|
|
background: white;
|
|
color: black;
|
|
font-size: 18px;
|
|
border-left-color: white;
|
|
border-right-color: white;
|
|
}
|
|
|
|
QPushButton#pbVisualizationMenuBarTemperature
|
|
{
|
|
border: 2px solid lightgrey;
|
|
background: white;
|
|
color: black;
|
|
font-size: 18px;
|
|
border-left-color: white;
|
|
border-right-color: white;
|
|
}
|
|
|
|
/*----------------------------------------------------------------------*/
|
|
|
|
QPushButton#pbVisualizationMenuBarVoltage:hover:checked,
|
|
#pbVisualizationMenuBarAmperage:hover:checked,
|
|
#pbVisualizationMenuBarTemperature:hover:checked
|
|
{
|
|
/*background-color: #01673a;*/
|
|
border-bottom-color:#009352;
|
|
color:#009352;
|
|
}
|
|
|
|
|
|
QPushButton#pbVisualizationMenuBarVoltage:!hover:checked,
|
|
#pbVisualizationMenuBarAmperage:!hover:checked,
|
|
#pbVisualizationMenuBarTemperature:!hover:checked
|
|
{
|
|
/*background-color: #01673a;*/
|
|
border-bottom-color: #009352;
|
|
color:#009352;
|
|
}
|
|
|
|
|
|
QPushButton#pbVisualizationMenuBarVoltage:hover:!checked,
|
|
#pbVisualizationMenuBarAmperage:hover:!checked,
|
|
#pbVisualizationMenuBarTemperature:hover:!checked
|
|
{
|
|
/*background-color: #009352;*/
|
|
/*background-color: #028249;*/
|
|
border-bottom-color: lightgrey;
|
|
color:black;
|
|
}
|
|
|
|
</string>
|
|
</property>
|
|
<widget class="QLabel" name="lbCenterTabName">
|
|
<property name="geometry">
|
|
<rect>
|
|
<x>30</x>
|
|
<y>30</y>
|
|
<width>921</width>
|
|
<height>41</height>
|
|
</rect>
|
|
</property>
|
|
<property name="font">
|
|
<font>
|
|
<pointsize>26</pointsize>
|
|
<weight>75</weight>
|
|
<bold>true</bold>
|
|
</font>
|
|
</property>
|
|
<property name="text">
|
|
<string>Терминал</string>
|
|
</property>
|
|
<property name="alignment">
|
|
<set>Qt::AlignBottom|Qt::AlignLeading|Qt::AlignLeft</set>
|
|
</property>
|
|
</widget>
|
|
<widget class="QLabel" name="labTerminalBrowserBackground">
|
|
<property name="geometry">
|
|
<rect>
|
|
<x>33</x>
|
|
<y>90</y>
|
|
<width>991</width>
|
|
<height>581</height>
|
|
</rect>
|
|
</property>
|
|
<property name="font">
|
|
<font>
|
|
<pointsize>14</pointsize>
|
|
<weight>50</weight>
|
|
<bold>false</bold>
|
|
</font>
|
|
</property>
|
|
<property name="styleSheet">
|
|
<string notr="true"> background-color:#FFFFFF;
|
|
border: 2px solid lightgrey;
|
|
border-top-left-radius: 15px;
|
|
border-top-right-radius: 15px;
|
|
</string>
|
|
</property>
|
|
<property name="text">
|
|
<string/>
|
|
</property>
|
|
<property name="alignment">
|
|
<set>Qt::AlignCenter</set>
|
|
</property>
|
|
</widget>
|
|
<widget class="QWidget" name="layoutWidget">
|
|
<property name="geometry">
|
|
<rect>
|
|
<x>30</x>
|
|
<y>680</y>
|
|
<width>991</width>
|
|
<height>42</height>
|
|
</rect>
|
|
</property>
|
|
<layout class="QHBoxLayout" name="horizontalLayout">
|
|
<item>
|
|
<widget class="QPushButton" name="helpButton">
|
|
<property name="sizePolicy">
|
|
<sizepolicy hsizetype="Fixed" vsizetype="Fixed">
|
|
<horstretch>0</horstretch>
|
|
<verstretch>0</verstretch>
|
|
</sizepolicy>
|
|
</property>
|
|
<property name="toolTip">
|
|
<string>Send help command to VESC</string>
|
|
</property>
|
|
<property name="text">
|
|
<string/>
|
|
</property>
|
|
<property name="icon">
|
|
<iconset resource="res.qrc">
|
|
<normaloff>:/res/icons/Help-96.png</normaloff>:/res/icons/Help-96.png</iconset>
|
|
</property>
|
|
<property name="iconSize">
|
|
<size>
|
|
<width>32</width>
|
|
<height>32</height>
|
|
</size>
|
|
</property>
|
|
</widget>
|
|
</item>
|
|
<item>
|
|
<widget class="HistoryLineEditBox" name="terminalEdit">
|
|
<property name="font">
|
|
<font>
|
|
<pointsize>20</pointsize>
|
|
</font>
|
|
</property>
|
|
</widget>
|
|
</item>
|
|
<item>
|
|
<widget class="QPushButton" name="sendButton">
|
|
<property name="sizePolicy">
|
|
<sizepolicy hsizetype="Fixed" vsizetype="Fixed">
|
|
<horstretch>0</horstretch>
|
|
<verstretch>0</verstretch>
|
|
</sizepolicy>
|
|
</property>
|
|
<property name="toolTip">
|
|
<string>Send command</string>
|
|
</property>
|
|
<property name="text">
|
|
<string/>
|
|
</property>
|
|
<property name="icon">
|
|
<iconset resource="res.qrc">
|
|
<normaloff>:/res/icons/Send File-96.png</normaloff>:/res/icons/Send File-96.png</iconset>
|
|
</property>
|
|
<property name="iconSize">
|
|
<size>
|
|
<width>32</width>
|
|
<height>32</height>
|
|
</size>
|
|
</property>
|
|
</widget>
|
|
</item>
|
|
<item>
|
|
<widget class="QPushButton" name="clearButton">
|
|
<property name="sizePolicy">
|
|
<sizepolicy hsizetype="Fixed" vsizetype="Fixed">
|
|
<horstretch>0</horstretch>
|
|
<verstretch>0</verstretch>
|
|
</sizepolicy>
|
|
</property>
|
|
<property name="toolTip">
|
|
<string>Clear terminal</string>
|
|
</property>
|
|
<property name="text">
|
|
<string/>
|
|
</property>
|
|
<property name="icon">
|
|
<iconset resource="res.qrc">
|
|
<normaloff>:/res/icons/Delete-96.png</normaloff>:/res/icons/Delete-96.png</iconset>
|
|
</property>
|
|
<property name="iconSize">
|
|
<size>
|
|
<width>32</width>
|
|
<height>32</height>
|
|
</size>
|
|
</property>
|
|
</widget>
|
|
</item>
|
|
</layout>
|
|
</widget>
|
|
<widget class="QTextBrowser" name="terminalBrowser">
|
|
<property name="geometry">
|
|
<rect>
|
|
<x>33</x>
|
|
<y>91</y>
|
|
<width>991</width>
|
|
<height>581</height>
|
|
</rect>
|
|
</property>
|
|
<property name="font">
|
|
<font>
|
|
<family>DejaVu Sans Mono</family>
|
|
</font>
|
|
</property>
|
|
<property name="styleSheet">
|
|
<string notr="true"> background-color:transparent;
|
|
border: 2px solid lightgrey;
|
|
border-top-left-radius: 15px;
|
|
border-top-right-radius: 15px;
|
|
</string>
|
|
</property>
|
|
<property name="lineWrapMode">
|
|
<enum>QTextEdit::NoWrap</enum>
|
|
</property>
|
|
</widget>
|
|
<zorder>labTerminalBrowserBackground</zorder>
|
|
<zorder>lbCenterTabName</zorder>
|
|
<zorder>layoutWidget</zorder>
|
|
<zorder>terminalBrowser</zorder>
|
|
</widget>
|
|
<customwidgets>
|
|
<customwidget>
|
|
<class>HistoryLineEditBox</class>
|
|
<extends>QLineEdit</extends>
|
|
<header location="global">historylineeditbox.h</header>
|
|
</customwidget>
|
|
</customwidgets>
|
|
<resources>
|
|
<include location="res.qrc"/>
|
|
</resources>
|
|
<connections/>
|
|
</ui>
|