2024-10-31 16:48:38 +08:00
|
|
|
|
<?xml version="1.0" encoding="UTF-8"?>
|
|
|
|
|
<ui version="4.0">
|
|
|
|
|
<class>DialogLogin</class>
|
|
|
|
|
<widget class="QDialog" name="DialogLogin">
|
|
|
|
|
<property name="geometry">
|
|
|
|
|
<rect>
|
|
|
|
|
<x>0</x>
|
|
|
|
|
<y>0</y>
|
2024-11-09 17:25:09 +08:00
|
|
|
|
<width>362</width>
|
|
|
|
|
<height>444</height>
|
2024-10-31 16:48:38 +08:00
|
|
|
|
</rect>
|
|
|
|
|
</property>
|
|
|
|
|
<property name="sizePolicy">
|
|
|
|
|
<sizepolicy hsizetype="Preferred" vsizetype="Preferred">
|
|
|
|
|
<horstretch>0</horstretch>
|
|
|
|
|
<verstretch>0</verstretch>
|
|
|
|
|
</sizepolicy>
|
|
|
|
|
</property>
|
|
|
|
|
<property name="windowTitle">
|
|
|
|
|
<string>Dialog</string>
|
|
|
|
|
</property>
|
|
|
|
|
<layout class="QGridLayout" name="gridLayout">
|
2024-11-08 10:59:42 +08:00
|
|
|
|
<item row="2" column="1">
|
2024-10-31 16:48:38 +08:00
|
|
|
|
<widget class="QGroupBox" name="groupBox">
|
2024-11-07 18:07:10 +08:00
|
|
|
|
<property name="font">
|
|
|
|
|
<font>
|
|
|
|
|
<family>黑体</family>
|
|
|
|
|
<pointsize>11</pointsize>
|
|
|
|
|
</font>
|
|
|
|
|
</property>
|
2024-10-31 16:48:38 +08:00
|
|
|
|
<property name="title">
|
2024-11-08 10:59:42 +08:00
|
|
|
|
<string/>
|
2024-10-31 16:48:38 +08:00
|
|
|
|
</property>
|
2024-11-08 10:59:42 +08:00
|
|
|
|
<layout class="QVBoxLayout" name="verticalLayout_2">
|
|
|
|
|
<item>
|
2024-11-09 17:25:09 +08:00
|
|
|
|
<layout class="QVBoxLayout" name="verticalLayout" stretch="4,7,1,3,3">
|
2024-11-08 10:59:42 +08:00
|
|
|
|
<item>
|
|
|
|
|
<widget class="QLabel" name="label_bluesunLogo">
|
|
|
|
|
<property name="sizePolicy">
|
|
|
|
|
<sizepolicy hsizetype="Expanding" vsizetype="Expanding">
|
|
|
|
|
<horstretch>0</horstretch>
|
|
|
|
|
<verstretch>0</verstretch>
|
|
|
|
|
</sizepolicy>
|
|
|
|
|
</property>
|
|
|
|
|
<property name="text">
|
|
|
|
|
<string/>
|
|
|
|
|
</property>
|
|
|
|
|
</widget>
|
|
|
|
|
</item>
|
|
|
|
|
<item>
|
|
|
|
|
<layout class="QGridLayout" name="gridLayout_2">
|
|
|
|
|
<item row="0" column="0">
|
|
|
|
|
<widget class="QLabel" name="labelBCUQuantity_2">
|
|
|
|
|
<property name="font">
|
|
|
|
|
<font>
|
|
|
|
|
<family>华文中宋</family>
|
|
|
|
|
<pointsize>10</pointsize>
|
|
|
|
|
</font>
|
|
|
|
|
</property>
|
|
|
|
|
<property name="text">
|
|
|
|
|
<string>Language</string>
|
|
|
|
|
</property>
|
|
|
|
|
<property name="alignment">
|
|
|
|
|
<set>Qt::AlignCenter</set>
|
|
|
|
|
</property>
|
|
|
|
|
</widget>
|
|
|
|
|
</item>
|
|
|
|
|
<item row="0" column="1">
|
|
|
|
|
<widget class="QComboBox" name="comboBoxLanguage">
|
|
|
|
|
<property name="font">
|
|
|
|
|
<font>
|
|
|
|
|
<family>华文中宋</family>
|
|
|
|
|
<pointsize>10</pointsize>
|
|
|
|
|
</font>
|
|
|
|
|
</property>
|
|
|
|
|
<item>
|
|
|
|
|
<property name="text">
|
|
|
|
|
<string>Chinese</string>
|
|
|
|
|
</property>
|
|
|
|
|
</item>
|
|
|
|
|
<item>
|
|
|
|
|
<property name="text">
|
|
|
|
|
<string>English</string>
|
|
|
|
|
</property>
|
|
|
|
|
</item>
|
|
|
|
|
</widget>
|
|
|
|
|
</item>
|
|
|
|
|
<item row="1" column="0">
|
|
|
|
|
<widget class="QLabel" name="labelSerialPort">
|
|
|
|
|
<property name="font">
|
|
|
|
|
<font>
|
|
|
|
|
<family>华文中宋</family>
|
|
|
|
|
<pointsize>10</pointsize>
|
|
|
|
|
</font>
|
|
|
|
|
</property>
|
|
|
|
|
<property name="text">
|
|
|
|
|
<string>Serial Port</string>
|
|
|
|
|
</property>
|
|
|
|
|
<property name="alignment">
|
|
|
|
|
<set>Qt::AlignCenter</set>
|
|
|
|
|
</property>
|
|
|
|
|
</widget>
|
|
|
|
|
</item>
|
|
|
|
|
<item row="1" column="1">
|
|
|
|
|
<widget class="QComboBox" name="comboBoxSerialPort">
|
|
|
|
|
<property name="font">
|
|
|
|
|
<font>
|
|
|
|
|
<family>华文中宋</family>
|
|
|
|
|
<pointsize>10</pointsize>
|
|
|
|
|
</font>
|
|
|
|
|
</property>
|
|
|
|
|
</widget>
|
|
|
|
|
</item>
|
|
|
|
|
<item row="2" column="0">
|
|
|
|
|
<widget class="QLabel" name="labelBaudRate">
|
|
|
|
|
<property name="font">
|
|
|
|
|
<font>
|
|
|
|
|
<family>华文中宋</family>
|
|
|
|
|
<pointsize>10</pointsize>
|
|
|
|
|
</font>
|
|
|
|
|
</property>
|
|
|
|
|
<property name="text">
|
|
|
|
|
<string>Baud Rate</string>
|
|
|
|
|
</property>
|
|
|
|
|
<property name="alignment">
|
|
|
|
|
<set>Qt::AlignCenter</set>
|
|
|
|
|
</property>
|
|
|
|
|
</widget>
|
|
|
|
|
</item>
|
|
|
|
|
<item row="2" column="1">
|
|
|
|
|
<widget class="QComboBox" name="comboBoxBaudRate">
|
|
|
|
|
<property name="font">
|
|
|
|
|
<font>
|
|
|
|
|
<family>华文中宋</family>
|
|
|
|
|
<pointsize>10</pointsize>
|
|
|
|
|
</font>
|
|
|
|
|
</property>
|
|
|
|
|
<item>
|
|
|
|
|
<property name="text">
|
|
|
|
|
<string>1200</string>
|
|
|
|
|
</property>
|
|
|
|
|
</item>
|
|
|
|
|
<item>
|
|
|
|
|
<property name="text">
|
|
|
|
|
<string>2400</string>
|
|
|
|
|
</property>
|
|
|
|
|
</item>
|
|
|
|
|
<item>
|
|
|
|
|
<property name="text">
|
|
|
|
|
<string>4800</string>
|
|
|
|
|
</property>
|
|
|
|
|
</item>
|
|
|
|
|
<item>
|
|
|
|
|
<property name="text">
|
|
|
|
|
<string>9600</string>
|
|
|
|
|
</property>
|
|
|
|
|
</item>
|
|
|
|
|
<item>
|
|
|
|
|
<property name="text">
|
|
|
|
|
<string>19200</string>
|
|
|
|
|
</property>
|
|
|
|
|
</item>
|
|
|
|
|
<item>
|
|
|
|
|
<property name="text">
|
|
|
|
|
<string>38400</string>
|
|
|
|
|
</property>
|
|
|
|
|
</item>
|
|
|
|
|
<item>
|
|
|
|
|
<property name="text">
|
|
|
|
|
<string>57600</string>
|
|
|
|
|
</property>
|
|
|
|
|
</item>
|
|
|
|
|
<item>
|
|
|
|
|
<property name="text">
|
|
|
|
|
<string>115200</string>
|
|
|
|
|
</property>
|
|
|
|
|
</item>
|
|
|
|
|
</widget>
|
|
|
|
|
</item>
|
|
|
|
|
<item row="3" column="0">
|
|
|
|
|
<widget class="QLabel" name="labelDataBits">
|
|
|
|
|
<property name="font">
|
|
|
|
|
<font>
|
|
|
|
|
<family>华文中宋</family>
|
|
|
|
|
<pointsize>10</pointsize>
|
|
|
|
|
</font>
|
|
|
|
|
</property>
|
|
|
|
|
<property name="text">
|
|
|
|
|
<string>Data Bits</string>
|
|
|
|
|
</property>
|
|
|
|
|
<property name="alignment">
|
|
|
|
|
<set>Qt::AlignCenter</set>
|
|
|
|
|
</property>
|
|
|
|
|
</widget>
|
|
|
|
|
</item>
|
|
|
|
|
<item row="3" column="1">
|
|
|
|
|
<widget class="QComboBox" name="comboBoxDataBits">
|
|
|
|
|
<property name="font">
|
|
|
|
|
<font>
|
|
|
|
|
<family>华文中宋</family>
|
|
|
|
|
<pointsize>10</pointsize>
|
|
|
|
|
</font>
|
|
|
|
|
</property>
|
|
|
|
|
<item>
|
|
|
|
|
<property name="text">
|
|
|
|
|
<string>5</string>
|
|
|
|
|
</property>
|
|
|
|
|
</item>
|
|
|
|
|
<item>
|
|
|
|
|
<property name="text">
|
|
|
|
|
<string>6</string>
|
|
|
|
|
</property>
|
|
|
|
|
</item>
|
|
|
|
|
<item>
|
|
|
|
|
<property name="text">
|
|
|
|
|
<string>7</string>
|
|
|
|
|
</property>
|
|
|
|
|
</item>
|
|
|
|
|
<item>
|
|
|
|
|
<property name="text">
|
|
|
|
|
<string>8</string>
|
|
|
|
|
</property>
|
|
|
|
|
</item>
|
|
|
|
|
</widget>
|
|
|
|
|
</item>
|
|
|
|
|
<item row="4" column="0">
|
|
|
|
|
<widget class="QLabel" name="labelStopBits">
|
|
|
|
|
<property name="font">
|
|
|
|
|
<font>
|
|
|
|
|
<family>华文中宋</family>
|
|
|
|
|
<pointsize>10</pointsize>
|
|
|
|
|
</font>
|
|
|
|
|
</property>
|
|
|
|
|
<property name="text">
|
|
|
|
|
<string>Stop Bits</string>
|
|
|
|
|
</property>
|
|
|
|
|
<property name="alignment">
|
|
|
|
|
<set>Qt::AlignCenter</set>
|
|
|
|
|
</property>
|
|
|
|
|
</widget>
|
|
|
|
|
</item>
|
|
|
|
|
<item row="4" column="1">
|
|
|
|
|
<widget class="QComboBox" name="comboBoxStopBits">
|
|
|
|
|
<property name="font">
|
|
|
|
|
<font>
|
|
|
|
|
<family>华文中宋</family>
|
|
|
|
|
<pointsize>10</pointsize>
|
|
|
|
|
</font>
|
|
|
|
|
</property>
|
|
|
|
|
<item>
|
|
|
|
|
<property name="text">
|
|
|
|
|
<string>1</string>
|
|
|
|
|
</property>
|
|
|
|
|
</item>
|
|
|
|
|
<item>
|
|
|
|
|
<property name="text">
|
|
|
|
|
<string>2</string>
|
|
|
|
|
</property>
|
|
|
|
|
</item>
|
|
|
|
|
</widget>
|
|
|
|
|
</item>
|
|
|
|
|
<item row="5" column="0">
|
|
|
|
|
<widget class="QLabel" name="labelParity">
|
|
|
|
|
<property name="font">
|
|
|
|
|
<font>
|
|
|
|
|
<family>华文中宋</family>
|
|
|
|
|
<pointsize>10</pointsize>
|
|
|
|
|
</font>
|
|
|
|
|
</property>
|
|
|
|
|
<property name="text">
|
|
|
|
|
<string>Parity</string>
|
|
|
|
|
</property>
|
|
|
|
|
<property name="alignment">
|
|
|
|
|
<set>Qt::AlignCenter</set>
|
|
|
|
|
</property>
|
|
|
|
|
</widget>
|
|
|
|
|
</item>
|
|
|
|
|
<item row="5" column="1">
|
|
|
|
|
<widget class="QComboBox" name="comboBoxParity">
|
|
|
|
|
<property name="font">
|
|
|
|
|
<font>
|
|
|
|
|
<family>华文中宋</family>
|
|
|
|
|
<pointsize>10</pointsize>
|
|
|
|
|
</font>
|
|
|
|
|
</property>
|
|
|
|
|
<item>
|
|
|
|
|
<property name="text">
|
|
|
|
|
<string>None</string>
|
|
|
|
|
</property>
|
|
|
|
|
</item>
|
|
|
|
|
<item>
|
|
|
|
|
<property name="text">
|
|
|
|
|
<string>Odd</string>
|
|
|
|
|
</property>
|
|
|
|
|
</item>
|
|
|
|
|
<item>
|
|
|
|
|
<property name="text">
|
|
|
|
|
<string>Even</string>
|
|
|
|
|
</property>
|
|
|
|
|
</item>
|
|
|
|
|
</widget>
|
|
|
|
|
</item>
|
|
|
|
|
</layout>
|
|
|
|
|
</item>
|
|
|
|
|
<item>
|
|
|
|
|
<spacer name="verticalSpacer">
|
|
|
|
|
<property name="orientation">
|
|
|
|
|
<enum>Qt::Vertical</enum>
|
|
|
|
|
</property>
|
|
|
|
|
<property name="sizeHint" stdset="0">
|
|
|
|
|
<size>
|
|
|
|
|
<width>20</width>
|
|
|
|
|
<height>40</height>
|
|
|
|
|
</size>
|
|
|
|
|
</property>
|
|
|
|
|
</spacer>
|
|
|
|
|
</item>
|
|
|
|
|
<item>
|
|
|
|
|
<layout class="QHBoxLayout" name="horizontalLayout" stretch="1,1,1">
|
|
|
|
|
<item>
|
|
|
|
|
<spacer name="horizontalSpacer_2">
|
|
|
|
|
<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>
|
|
|
|
|
<widget class="QPushButton" name="btnConnect">
|
|
|
|
|
<property name="sizePolicy">
|
|
|
|
|
<sizepolicy hsizetype="Expanding" vsizetype="Fixed">
|
|
|
|
|
<horstretch>0</horstretch>
|
|
|
|
|
<verstretch>0</verstretch>
|
|
|
|
|
</sizepolicy>
|
|
|
|
|
</property>
|
|
|
|
|
<property name="minimumSize">
|
|
|
|
|
<size>
|
|
|
|
|
<width>40</width>
|
|
|
|
|
<height>0</height>
|
|
|
|
|
</size>
|
|
|
|
|
</property>
|
|
|
|
|
<property name="font">
|
|
|
|
|
<font>
|
2024-11-09 17:25:09 +08:00
|
|
|
|
<family>Microsoft YaHei UI</family>
|
|
|
|
|
<pointsize>12</pointsize>
|
|
|
|
|
<italic>false</italic>
|
|
|
|
|
<bold>true</bold>
|
2024-11-08 10:59:42 +08:00
|
|
|
|
</font>
|
|
|
|
|
</property>
|
2024-11-09 17:25:09 +08:00
|
|
|
|
<property name="styleSheet">
|
|
|
|
|
<string notr="true">font: 700 12pt "Microsoft YaHei UI";</string>
|
|
|
|
|
</property>
|
2024-11-08 10:59:42 +08:00
|
|
|
|
<property name="text">
|
|
|
|
|
<string>Connect</string>
|
|
|
|
|
</property>
|
|
|
|
|
</widget>
|
|
|
|
|
</item>
|
|
|
|
|
<item>
|
|
|
|
|
<spacer name="horizontalSpacer">
|
|
|
|
|
<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>
|
|
|
|
|
<widget class="QLabel" name="label_Copyright">
|
|
|
|
|
<property name="sizePolicy">
|
|
|
|
|
<sizepolicy hsizetype="Expanding" vsizetype="Expanding">
|
|
|
|
|
<horstretch>0</horstretch>
|
|
|
|
|
<verstretch>0</verstretch>
|
|
|
|
|
</sizepolicy>
|
|
|
|
|
</property>
|
|
|
|
|
<property name="font">
|
|
|
|
|
<font>
|
|
|
|
|
<family>幼圆</family>
|
2024-11-09 17:25:09 +08:00
|
|
|
|
<pointsize>12</pointsize>
|
2024-11-08 10:59:42 +08:00
|
|
|
|
</font>
|
|
|
|
|
</property>
|
|
|
|
|
<property name="text">
|
|
|
|
|
<string><html><head/><body><p align="center">Copyright © 2016 Bluesun Solar Co.,Ltd </p><p align="center">All Rights Reserved.</p></body></html></string>
|
|
|
|
|
</property>
|
|
|
|
|
<property name="alignment">
|
|
|
|
|
<set>Qt::AlignCenter</set>
|
|
|
|
|
</property>
|
|
|
|
|
</widget>
|
|
|
|
|
</item>
|
|
|
|
|
</layout>
|
2024-11-05 15:44:19 +08:00
|
|
|
|
</item>
|
2024-10-31 16:48:38 +08:00
|
|
|
|
</layout>
|
|
|
|
|
</widget>
|
|
|
|
|
</item>
|
|
|
|
|
</layout>
|
|
|
|
|
</widget>
|
|
|
|
|
<resources/>
|
|
|
|
|
<connections/>
|
|
|
|
|
</ui>
|