708 lines
16 KiB
XML
708 lines
16 KiB
XML
<?xml version="1.0" encoding="UTF-8"?>
|
|
<ui version="4.0">
|
|
<class>ConfigurationPage</class>
|
|
<widget class="QFrame" name="ConfigurationPage">
|
|
<property name="geometry">
|
|
<rect>
|
|
<x>0</x>
|
|
<y>0</y>
|
|
<width>1084</width>
|
|
<height>755</height>
|
|
</rect>
|
|
</property>
|
|
<property name="windowTitle">
|
|
<string>Form</string>
|
|
</property>
|
|
<property name="styleSheet">
|
|
<string notr="true">/* background-color: #f7f8fc;*/
|
|
|
|
QScrollArea#scrollAreaBmsSettings, #bmsSettings
|
|
{
|
|
background-color: #f7f8fc; /*COLOR OF THE LEFT PART WITH GROUPBOXES*/
|
|
}
|
|
QScrollArea#scrollAreaBmsSettings, #bmsSettings
|
|
{
|
|
background-color: #f7f8fc; /*COLOR OF THE RIGHT PART WITH BUTTONS*/
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
QLabel#lbIconLogo
|
|
{
|
|
/*background-image: url(:/images/cubo-verde-logo.png);*/
|
|
border-image: url(:/res/cubo-verde-logo-white.png) 0 0 0 0 stretch stretch;
|
|
}
|
|
|
|
QLabel#lbHeaderLanguageIcon
|
|
{
|
|
/*background-image: url(:/images/cubo-verde-logo.png);*/
|
|
border-image: url(:/res/language-russ.png) 0 0 0 0 stretch stretch;
|
|
}
|
|
|
|
|
|
QPushButton#pbMainMenuBarHideMenu,
|
|
#pbMainMenuBarAkbMonitor,
|
|
#pbMainMenuBarCellsMonitor,
|
|
#pbMainMenuBarConfiguration,
|
|
#pbMainMenuBarVisualization,
|
|
#pbMainMenuBarHistory,
|
|
#pbMainMenuBarSeriveOfBms,
|
|
#pbMainMenuBarExit
|
|
{
|
|
color: #FFFFFF;
|
|
background-color: #009352;
|
|
border: 0px solid black;
|
|
background:#009352;
|
|
text-align: left;
|
|
padding-left: 85px;
|
|
font-size:17px;
|
|
}
|
|
QPushButton#pbMainMenuBarHideMenu
|
|
{
|
|
font-size:15px;
|
|
}
|
|
|
|
|
|
QPushButton#pbMainMenuBarHideMenu:hover,
|
|
#pbMainMenuBarAkbMonitor:hover,
|
|
#pbMainMenuBarCellsMonitor:hover,
|
|
#pbMainMenuBarConfiguration:hover,
|
|
#pbMainMenuBarVisualization:hover,
|
|
#pbMainMenuBarHistory:hover,
|
|
#pbMainMenuBarSeriveOfBms:hover,
|
|
#pbMainMenuBarExit:hover
|
|
{
|
|
background-color: #01673a;
|
|
}
|
|
|
|
/*------------------*/
|
|
|
|
QPushButton#pbConnect,
|
|
#pbWriteCurrentValuesToBms,
|
|
#pbReadDefaultSettingsFromFile,
|
|
#pbReadCurrentSettingsFromBms
|
|
{
|
|
color:black;
|
|
background-color: #f7f8fc; /* white;*/
|
|
font-weight:bold;
|
|
font-size: 14px;
|
|
border-color: #009352;
|
|
border-style: solid;
|
|
border-width: 1px;
|
|
border-radius: 6px;
|
|
}
|
|
|
|
QPushButton#pbConnect:hover:pressed,
|
|
#pbWriteCurrentValuesToBms:hover:pressed,
|
|
#pbReadDefaultSettingsFromFile:hover:pressed,
|
|
#pbReadCurrentSettingsFromBms:hover:pressed
|
|
{
|
|
background-color:lightgrey;
|
|
}
|
|
|
|
QPushButton#pbConnect:hover:!pressed,
|
|
#pbWriteCurrentValuesToBms:hover:!pressed,
|
|
#pbReadDefaultSettingsFromFile:hover:!pressed,
|
|
#pbReadCurrentSettingsFromBms:hover:!pressed
|
|
{
|
|
/* background-color: #0FF73a;*/
|
|
}
|
|
|
|
|
|
/*pbWriteCurrentValuesToBms*/
|
|
QPushButton#pbWriteToNonVolatileBmsMemory
|
|
{
|
|
background-color:#009352;
|
|
color:white;
|
|
font-weight:bold;
|
|
font-size: 14px;
|
|
border-color: #009352;
|
|
border-style: solid;
|
|
border-width: 1px;
|
|
border-radius: 6px;
|
|
}
|
|
|
|
QPushButton#pbWriteToNonVolatileBmsMemory:hover:pressed
|
|
{
|
|
background-color:#01673a;
|
|
}
|
|
|
|
QPushButton#pbWriteToNonVolatileBmsMemory:hover:!pressed
|
|
{
|
|
/* background-color: #01673a;*/
|
|
}
|
|
|
|
|
|
QPushButton#pbLinkSerialNumber,
|
|
#pbLinkSoc,
|
|
#pbLinkRestrictions,
|
|
#pbLinkClaibrateZero,
|
|
#pbLinkCellsConfiguration,
|
|
#pbLinkOutputsSetting,
|
|
#pbLinkBalancingConfiguration,
|
|
#pbLinkConfiguration
|
|
{
|
|
color:#009352;
|
|
text-decoration: none;
|
|
background: transparent;
|
|
border-color:transparent;
|
|
text-align:left;
|
|
border-radius: 1px;
|
|
text-decoration: underline;
|
|
}
|
|
|
|
QPushButton#pbLinkSerialNumber:hover:!pressed,
|
|
#pbLinkSoc:hover:!pressed,
|
|
#pbLinkRestrictions:hover:!pressed,
|
|
#pbLinkClaibrateZero:hover:!pressed,
|
|
#pbLinkCellsConfiguration:hover:!pressed,
|
|
#pbLinkOutputsSetting:hover:!pressed,
|
|
#pbLinkBalancingConfiguration:hover:!pressed,
|
|
#pbLinkConfiguration:hover:!pressed
|
|
{
|
|
/* text-decoration: underline;*/
|
|
color:#01673a;
|
|
}
|
|
|
|
QPushButton#pbLinkSerialNumber:hover:pressed,
|
|
#pbLinkSoc:hover:pressed,
|
|
#pbLinkRestrictions:hover:pressed,
|
|
#pbLinkClaibrateZero:hover:pressed,
|
|
#pbLinkCellsConfiguration:hover:pressed,
|
|
#pbLinkOutputsSetting:hover:pressed,
|
|
#pbLinkBalancingConfiguration:hover:pressed,
|
|
#pbLinkConfiguration:hover:pressed
|
|
{
|
|
color:#0093FF;
|
|
}
|
|
|
|
|
|
|
|
QComboBox#cboxComConnections
|
|
{
|
|
background-color:white;
|
|
border-radius:10px;
|
|
border-color: lightgrey;
|
|
border-style: solid;
|
|
border-width: 1px;
|
|
}
|
|
|
|
|
|
/*------------------*/
|
|
|
|
QGroupBox#gbSerialNumber,
|
|
QGroupBox#gbConfiguration,
|
|
QGroupBox#gbSoc,
|
|
QGroupBox#gbRestrictions,
|
|
QGroupBox#gbCellsConfiguration,
|
|
QGroupBox#gbBalancingConfiguration,
|
|
QGroupBox#gbOutputsSettings,
|
|
QGroupBox#gbZeroPoint {
|
|
background-color:white;
|
|
border-radius:10px;
|
|
border-color: lightgrey;
|
|
border-style: solid;
|
|
border-width: 1px;
|
|
}
|
|
|
|
|
|
/*-----------------------*/
|
|
|
|
QScrollBar {
|
|
border-radius: 10px;
|
|
background: #e8e9f1;
|
|
}
|
|
|
|
QScrollBar::vertical {
|
|
width: 10px;
|
|
margin: 0px 0px 0px 0px;
|
|
}
|
|
|
|
/*-----------------------------------*/
|
|
QScrollBar::sub-page:horizontal {
|
|
background: #e8e9f1;
|
|
border-top-left-radius: 9px;
|
|
border-bottom-left-radius: 9px;
|
|
}
|
|
QScrollBar::add-page:horizontal {
|
|
background: #e8e9f1;
|
|
border-top-right-radius: 9px;
|
|
border-bottom-right-radius: 9px;
|
|
}
|
|
|
|
QScrollBar::sub-page:vertical {
|
|
background: #e8e9f1;
|
|
border-top-left-radius: 9px;
|
|
border-top-right-radius: 9px;
|
|
}
|
|
QScrollBar::add-page:vertical {
|
|
background: #e8e9f1;
|
|
border-bottom-left-radius: 9px;
|
|
border-bottom-right-radius: 9px;
|
|
}
|
|
|
|
/*-----------------------------------*/
|
|
QScrollBar::up-arrow,
|
|
QScrollBar::sub-line,
|
|
QScrollBar::add-line {
|
|
width: 0px;
|
|
height: 0px;
|
|
}
|
|
|
|
QScrollBar::handle {
|
|
background: #009352;
|
|
border-radius: 5px;
|
|
}
|
|
|
|
|
|
</string>
|
|
</property>
|
|
<widget class="QLabel" name="lbIconLogo">
|
|
<property name="geometry">
|
|
<rect>
|
|
<x>80</x>
|
|
<y>40</y>
|
|
<width>111</width>
|
|
<height>111</height>
|
|
</rect>
|
|
</property>
|
|
<property name="contextMenuPolicy">
|
|
<enum>Qt::NoContextMenu</enum>
|
|
</property>
|
|
<property name="frameShape">
|
|
<enum>QFrame::NoFrame</enum>
|
|
</property>
|
|
<property name="text">
|
|
<string/>
|
|
</property>
|
|
<property name="alignment">
|
|
<set>Qt::AlignCenter</set>
|
|
</property>
|
|
</widget>
|
|
<widget class="QLabel" name="lbHeaderLanguageIcon">
|
|
<property name="geometry">
|
|
<rect>
|
|
<x>1300</x>
|
|
<y>30</y>
|
|
<width>31</width>
|
|
<height>21</height>
|
|
</rect>
|
|
</property>
|
|
<property name="font">
|
|
<font>
|
|
<family>Segoe WP SemiLight</family>
|
|
<pointsize>12</pointsize>
|
|
<weight>75</weight>
|
|
<bold>true</bold>
|
|
</font>
|
|
</property>
|
|
<property name="styleSheet">
|
|
<string notr="true">color:#0A72BA;
|
|
font-weight:bold;</string>
|
|
</property>
|
|
<property name="text">
|
|
<string/>
|
|
</property>
|
|
<property name="alignment">
|
|
<set>Qt::AlignLeading|Qt::AlignLeft|Qt::AlignVCenter</set>
|
|
</property>
|
|
</widget>
|
|
<widget class="QPushButton" name="pbLinkSerialNumber">
|
|
<property name="geometry">
|
|
<rect>
|
|
<x>770</x>
|
|
<y>100</y>
|
|
<width>261</width>
|
|
<height>31</height>
|
|
</rect>
|
|
</property>
|
|
<property name="font">
|
|
<font>
|
|
<family>Segoe WP SemiLight</family>
|
|
<pointsize>14</pointsize>
|
|
<weight>50</weight>
|
|
<bold>false</bold>
|
|
<underline>true</underline>
|
|
<strikeout>false</strikeout>
|
|
</font>
|
|
</property>
|
|
<property name="styleSheet">
|
|
<string notr="true"/>
|
|
</property>
|
|
<property name="text">
|
|
<string>Серийный номер</string>
|
|
</property>
|
|
</widget>
|
|
<widget class="QPushButton" name="pbLinkConfiguration">
|
|
<property name="geometry">
|
|
<rect>
|
|
<x>770</x>
|
|
<y>140</y>
|
|
<width>261</width>
|
|
<height>31</height>
|
|
</rect>
|
|
</property>
|
|
<property name="font">
|
|
<font>
|
|
<family>Segoe WP SemiLight</family>
|
|
<pointsize>14</pointsize>
|
|
<weight>50</weight>
|
|
<bold>false</bold>
|
|
<underline>true</underline>
|
|
<strikeout>false</strikeout>
|
|
</font>
|
|
</property>
|
|
<property name="styleSheet">
|
|
<string notr="true"/>
|
|
</property>
|
|
<property name="text">
|
|
<string>Конфигурация</string>
|
|
</property>
|
|
</widget>
|
|
<widget class="QPushButton" name="pbLinkSoc">
|
|
<property name="geometry">
|
|
<rect>
|
|
<x>770</x>
|
|
<y>180</y>
|
|
<width>261</width>
|
|
<height>31</height>
|
|
</rect>
|
|
</property>
|
|
<property name="font">
|
|
<font>
|
|
<family>Segoe WP SemiLight</family>
|
|
<pointsize>14</pointsize>
|
|
<weight>50</weight>
|
|
<bold>false</bold>
|
|
<underline>true</underline>
|
|
<strikeout>false</strikeout>
|
|
</font>
|
|
</property>
|
|
<property name="styleSheet">
|
|
<string notr="true"/>
|
|
</property>
|
|
<property name="text">
|
|
<string>SOC</string>
|
|
</property>
|
|
</widget>
|
|
<widget class="QPushButton" name="pbLinkRestrictions">
|
|
<property name="geometry">
|
|
<rect>
|
|
<x>770</x>
|
|
<y>220</y>
|
|
<width>261</width>
|
|
<height>31</height>
|
|
</rect>
|
|
</property>
|
|
<property name="font">
|
|
<font>
|
|
<family>Segoe WP SemiLight</family>
|
|
<pointsize>14</pointsize>
|
|
<weight>50</weight>
|
|
<bold>false</bold>
|
|
<underline>true</underline>
|
|
<strikeout>false</strikeout>
|
|
</font>
|
|
</property>
|
|
<property name="styleSheet">
|
|
<string notr="true"/>
|
|
</property>
|
|
<property name="text">
|
|
<string>Ограничения</string>
|
|
</property>
|
|
</widget>
|
|
<widget class="QPushButton" name="pbLinkCellsConfiguration">
|
|
<property name="geometry">
|
|
<rect>
|
|
<x>770</x>
|
|
<y>260</y>
|
|
<width>261</width>
|
|
<height>31</height>
|
|
</rect>
|
|
</property>
|
|
<property name="font">
|
|
<font>
|
|
<family>Segoe WP SemiLight</family>
|
|
<pointsize>14</pointsize>
|
|
<weight>50</weight>
|
|
<bold>false</bold>
|
|
<underline>true</underline>
|
|
<strikeout>false</strikeout>
|
|
</font>
|
|
</property>
|
|
<property name="styleSheet">
|
|
<string notr="true"/>
|
|
</property>
|
|
<property name="text">
|
|
<string>Конфигурация ячеек</string>
|
|
</property>
|
|
</widget>
|
|
<widget class="QPushButton" name="pbLinkBalancingConfiguration">
|
|
<property name="geometry">
|
|
<rect>
|
|
<x>770</x>
|
|
<y>300</y>
|
|
<width>261</width>
|
|
<height>31</height>
|
|
</rect>
|
|
</property>
|
|
<property name="font">
|
|
<font>
|
|
<family>Segoe WP SemiLight</family>
|
|
<pointsize>14</pointsize>
|
|
<weight>50</weight>
|
|
<bold>false</bold>
|
|
<underline>true</underline>
|
|
<strikeout>false</strikeout>
|
|
</font>
|
|
</property>
|
|
<property name="styleSheet">
|
|
<string notr="true"/>
|
|
</property>
|
|
<property name="text">
|
|
<string>Конфигурация балансировки</string>
|
|
</property>
|
|
</widget>
|
|
<widget class="QPushButton" name="pbLinkOutputsSetting">
|
|
<property name="geometry">
|
|
<rect>
|
|
<x>770</x>
|
|
<y>340</y>
|
|
<width>261</width>
|
|
<height>31</height>
|
|
</rect>
|
|
</property>
|
|
<property name="font">
|
|
<font>
|
|
<family>Segoe WP SemiLight</family>
|
|
<pointsize>14</pointsize>
|
|
<weight>50</weight>
|
|
<bold>false</bold>
|
|
<underline>true</underline>
|
|
<strikeout>false</strikeout>
|
|
</font>
|
|
</property>
|
|
<property name="styleSheet">
|
|
<string notr="true"/>
|
|
</property>
|
|
<property name="text">
|
|
<string>Настройка выходов</string>
|
|
</property>
|
|
</widget>
|
|
<widget class="QPushButton" name="pbLinkClaibrateZero">
|
|
<property name="geometry">
|
|
<rect>
|
|
<x>770</x>
|
|
<y>380</y>
|
|
<width>261</width>
|
|
<height>31</height>
|
|
</rect>
|
|
</property>
|
|
<property name="font">
|
|
<font>
|
|
<family>Segoe WP SemiLight</family>
|
|
<pointsize>14</pointsize>
|
|
<weight>50</weight>
|
|
<bold>false</bold>
|
|
<underline>true</underline>
|
|
<strikeout>false</strikeout>
|
|
</font>
|
|
</property>
|
|
<property name="styleSheet">
|
|
<string notr="true"/>
|
|
</property>
|
|
<property name="text">
|
|
<string>Значение датчика точка "0"</string>
|
|
</property>
|
|
</widget>
|
|
<widget class="QPushButton" name="pbReadDefaultSettingsFromFile">
|
|
<property name="geometry">
|
|
<rect>
|
|
<x>770</x>
|
|
<y>440</y>
|
|
<width>281</width>
|
|
<height>51</height>
|
|
</rect>
|
|
</property>
|
|
<property name="styleSheet">
|
|
<string notr="true"/>
|
|
</property>
|
|
<property name="text">
|
|
<string>Загрузить настройки
|
|
по умолчанию</string>
|
|
</property>
|
|
</widget>
|
|
<widget class="QPushButton" name="pbReadCurrentSettingsFromBms">
|
|
<property name="geometry">
|
|
<rect>
|
|
<x>770</x>
|
|
<y>500</y>
|
|
<width>281</width>
|
|
<height>51</height>
|
|
</rect>
|
|
</property>
|
|
<property name="styleSheet">
|
|
<string notr="true"/>
|
|
</property>
|
|
<property name="text">
|
|
<string>Загрузить текущие настройки
|
|
из BMS</string>
|
|
</property>
|
|
</widget>
|
|
<widget class="QPushButton" name="pbWriteCurrentValuesToBms">
|
|
<property name="geometry">
|
|
<rect>
|
|
<x>770</x>
|
|
<y>560</y>
|
|
<width>281</width>
|
|
<height>51</height>
|
|
</rect>
|
|
</property>
|
|
<property name="styleSheet">
|
|
<string notr="true"/>
|
|
</property>
|
|
<property name="text">
|
|
<string>Записать текущие значения в BMS</string>
|
|
</property>
|
|
</widget>
|
|
<widget class="QPushButton" name="pbWriteToNonVolatileBmsMemory">
|
|
<property name="geometry">
|
|
<rect>
|
|
<x>770</x>
|
|
<y>620</y>
|
|
<width>281</width>
|
|
<height>51</height>
|
|
</rect>
|
|
</property>
|
|
<property name="styleSheet">
|
|
<string notr="true"/>
|
|
</property>
|
|
<property name="text">
|
|
<string>Записать в энергонезависимую
|
|
память BMS</string>
|
|
</property>
|
|
</widget>
|
|
<widget class="QScrollArea" name="scrollAreaBmsSettings">
|
|
<property name="geometry">
|
|
<rect>
|
|
<x>0</x>
|
|
<y>0</y>
|
|
<width>731</width>
|
|
<height>753</height>
|
|
</rect>
|
|
</property>
|
|
<property name="widgetResizable">
|
|
<bool>true</bool>
|
|
</property>
|
|
<widget class="BmsSettings" name="bmsSettings">
|
|
<property name="geometry">
|
|
<rect>
|
|
<x>0</x>
|
|
<y>0</y>
|
|
<width>729</width>
|
|
<height>751</height>
|
|
</rect>
|
|
</property>
|
|
<property name="styleSheet">
|
|
<string notr="true">/*#content
|
|
{
|
|
background-color: #f7f8fc
|
|
}
|
|
*/
|
|
|
|
/* background-color: #f7f8fc;*/
|
|
</string>
|
|
</property>
|
|
<layout class="QHBoxLayout" name="hLayoutLeftAndRight">
|
|
<property name="spacing">
|
|
<number>6</number>
|
|
</property>
|
|
<property name="leftMargin">
|
|
<number>9</number>
|
|
</property>
|
|
</layout>
|
|
</widget>
|
|
</widget>
|
|
<widget class="QLabel" name="lbStatus">
|
|
<property name="geometry">
|
|
<rect>
|
|
<x>770</x>
|
|
<y>680</y>
|
|
<width>281</width>
|
|
<height>41</height>
|
|
</rect>
|
|
</property>
|
|
<property name="font">
|
|
<font>
|
|
<pointsize>13</pointsize>
|
|
</font>
|
|
</property>
|
|
<property name="styleSheet">
|
|
<string notr="true">background-color: #e8e8e8</string>
|
|
</property>
|
|
<property name="text">
|
|
<string/>
|
|
</property>
|
|
<property name="scaledContents">
|
|
<bool>false</bool>
|
|
</property>
|
|
<property name="alignment">
|
|
<set>Qt::AlignCenter</set>
|
|
</property>
|
|
<property name="wordWrap">
|
|
<bool>true</bool>
|
|
</property>
|
|
</widget>
|
|
<widget class="QProgressBar" name="progressBar">
|
|
<property name="geometry">
|
|
<rect>
|
|
<x>770</x>
|
|
<y>720</y>
|
|
<width>281</width>
|
|
<height>16</height>
|
|
</rect>
|
|
</property>
|
|
<property name="font">
|
|
<font>
|
|
<pointsize>7</pointsize>
|
|
</font>
|
|
</property>
|
|
<property name="styleSheet">
|
|
<string notr="true">QProgressBar::chunk { background-color:lime; };</string>
|
|
</property>
|
|
<property name="value">
|
|
<number>24</number>
|
|
</property>
|
|
</widget>
|
|
<zorder>lbIconLogo</zorder>
|
|
<zorder>scrollAreaBmsSettings</zorder>
|
|
<zorder>pbLinkSerialNumber</zorder>
|
|
<zorder>pbReadDefaultSettingsFromFile</zorder>
|
|
<zorder>pbReadCurrentSettingsFromBms</zorder>
|
|
<zorder>pbLinkSoc</zorder>
|
|
<zorder>pbLinkRestrictions</zorder>
|
|
<zorder>pbLinkClaibrateZero</zorder>
|
|
<zorder>pbWriteCurrentValuesToBms</zorder>
|
|
<zorder>pbLinkCellsConfiguration</zorder>
|
|
<zorder>pbLinkOutputsSetting</zorder>
|
|
<zorder>pbLinkBalancingConfiguration</zorder>
|
|
<zorder>pbWriteToNonVolatileBmsMemory</zorder>
|
|
<zorder>lbHeaderLanguageIcon</zorder>
|
|
<zorder>pbLinkConfiguration</zorder>
|
|
<zorder>lbStatus</zorder>
|
|
<zorder>progressBar</zorder>
|
|
</widget>
|
|
<customwidgets>
|
|
<customwidget>
|
|
<class>BmsSettings</class>
|
|
<extends>QWidget</extends>
|
|
<header location="global">bmssettings.h</header>
|
|
<container>1</container>
|
|
</customwidget>
|
|
</customwidgets>
|
|
<resources/>
|
|
<connections/>
|
|
</ui>
|