Files
CuboBmsTool/pages/pagewelcome.ui
2022-08-01 21:53:36 +03:00

87 lines
4.6 KiB
XML

<?xml version="1.0" encoding="UTF-8"?>
<ui version="4.0">
<class>PageWelcome</class>
<widget class="QWidget" name="PageWelcome">
<property name="geometry">
<rect>
<x>0</x>
<y>0</y>
<width>760</width>
<height>461</height>
</rect>
</property>
<property name="windowTitle">
<string>Form</string>
</property>
<layout class="QVBoxLayout" name="verticalLayout">
<item>
<widget class="ImageWidget" name="bgWidget" native="true">
<layout class="QVBoxLayout" name="verticalLayout_2" stretch="1">
<property name="leftMargin">
<number>30</number>
</property>
<property name="topMargin">
<number>30</number>
</property>
<property name="rightMargin">
<number>30</number>
</property>
<property name="bottomMargin">
<number>30</number>
</property>
<item>
<widget class="QLabel" name="label">
<property name="text">
<string>&lt;html&gt;&lt;head/&gt;&lt;body&gt;&lt;p align=&quot;center&quot;&gt;&lt;span style=&quot; font-size:20pt;&quot;&gt;Welcome to &lt;/span&gt;&lt;span style=&quot; font-size:20pt; font-weight:600;&quot;&gt;ENNOID-BMS&lt;/span&gt;&lt;span style=&quot; font-weight:600;&quot;&gt;®&lt;/span&gt;&lt;span style=&quot; font-size:20pt; font-weight:600;&quot;&gt; Tool&lt;/span&gt;&lt;/p&gt;&lt;p align=&quot;center&quot;&gt;&lt;br/&gt;&lt;/p&gt;&lt;p align=&quot;center&quot;&gt;&lt;span style=&quot; font-size:14pt;&quot;&gt;You must connect your battery to your ENNOID-BMS before use. Once the battery is connected, the &lt;/span&gt;&lt;span style=&quot; font-size:14pt; font-style:italic;&quot;&gt;power&lt;/span&gt;&lt;span style=&quot; font-size:14pt;&quot;&gt; LED on the ENNOID-BMS should normally turn &lt;/span&gt;&lt;span style=&quot; font-size:14pt; font-weight:600; font-style:italic;&quot;&gt;ON &lt;/span&gt;&lt;span style=&quot; font-size:14pt;&quot;&gt;after connecting the USB to a computer host. &lt;/span&gt;&lt;/p&gt;&lt;p align=&quot;center&quot;&gt;&lt;br/&gt;&lt;/p&gt;&lt;p align=&quot;center&quot;&gt;&lt;span style=&quot; font-size:14pt;&quot;&gt;Click on the &lt;/span&gt;&lt;span style=&quot; font-size:14pt; font-weight:600; font-style:italic;&quot;&gt;Connect &lt;/span&gt;&lt;span style=&quot; font-size:14pt;&quot;&gt;button below. The indicator in the bottom right corner should turn green and shows &lt;/span&gt;&lt;span style=&quot; font-size:14pt; font-style:italic;&quot;&gt;&amp;quot;Connected&amp;quot;. &lt;/span&gt;&lt;/p&gt;&lt;p align=&quot;center&quot;&gt;&lt;span style=&quot; font-size:14pt; vertical-align:sub;&quot;&gt;(If the connection fails, please make sure you have the appropriate driver for &amp;quot;Silicon Labs CP2104&amp;quot; installed on your computer)&lt;/span&gt;&lt;/p&gt;&lt;p align=&quot;center&quot;&gt;&lt;br/&gt;&lt;/p&gt;&lt;p align=&quot;center&quot;&gt;&lt;span style=&quot; font-size:14pt;&quot;&gt;Before using this application for configuring the ENNOID-BMS, make sure you have updated the firmware with one of the included files available in the &amp;quot;Firmware&amp;quot; page. &lt;/span&gt;&lt;/p&gt;&lt;p align=&quot;center&quot;&gt;&lt;br/&gt;&lt;/p&gt;&lt;p align=&quot;center&quot;&gt;&lt;span style=&quot; font-size:14pt;&quot;&gt;Follow the indicated instructions in the &amp;quot;Settings&amp;quot; page for configuring your ENNOID-BMS.&lt;/span&gt;&lt;/p&gt;&lt;/body&gt;&lt;/html&gt;</string>
</property>
<property name="wordWrap">
<bool>true</bool>
</property>
</widget>
</item>
</layout>
</widget>
</item>
<item>
<layout class="QHBoxLayout" name="horizontalLayout">
<property name="spacing">
<number>3</number>
</property>
<item>
<widget class="QPushButton" name="autoConnectButton">
<property name="toolTip">
<string>Automatically connect using the USB connection.</string>
</property>
<property name="text">
<string>Connect</string>
</property>
<property name="icon">
<iconset resource="../res.qrc">
<normaloff>:/res/icons/Connected-96.png</normaloff>:/res/icons/Connected-96.png</iconset>
</property>
<property name="iconSize">
<size>
<width>45</width>
<height>45</height>
</size>
</property>
</widget>
</item>
</layout>
</item>
</layout>
</widget>
<customwidgets>
<customwidget>
<class>ImageWidget</class>
<extends>QWidget</extends>
<header>widgets/imagewidget.h</header>
<container>1</container>
</customwidget>
</customwidgets>
<resources>
<include location="../res.qrc"/>
</resources>
<connections/>
</ui>