summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorManisha Agrawal2017-08-04 15:03:35 -0500
committerManisha Agrawal2017-08-04 15:03:35 -0500
commit3d1ff957648c258fcde5a2c74a66a638ad8e23bd (patch)
tree87ccad585443d9242e197f8dd53b255ecedaa10e
downloadevse-hmi-3d1ff957648c258fcde5a2c74a66a638ad8e23bd.tar.gz
evse-hmi-3d1ff957648c258fcde5a2c74a66a638ad8e23bd.tar.xz
evse-hmi-3d1ff957648c258fcde5a2c74a66a638ad8e23bd.zip
hmi-apps : evse-hmi : EVSE HMI demo
QT Widget based demo showing GUIs for Electric Vehicle Charging Stations. Signed-off-by: Manisha Agrawal <manisha.agrawal@ti.com>
-rw-r--r--evse_hmi/Makefile.build44
-rw-r--r--evse_hmi/button.qrc5
-rw-r--r--evse_hmi/car_image.qrc5
-rw-r--r--evse_hmi/evse_hmi.cpp194
-rw-r--r--evse_hmi/evse_hmi.h98
-rw-r--r--evse_hmi/evse_hmi.pro27
-rw-r--r--evse_hmi/evse_hmi.ui2268
-rwxr-xr-xevse_hmi/evse_hmi_car.pngbin0 -> 35551 bytes
-rwxr-xr-xevse_hmi/home-button.pngbin0 -> 4667 bytes
-rw-r--r--evse_hmi/main.cpp46
10 files changed, 2687 insertions, 0 deletions
diff --git a/evse_hmi/Makefile.build b/evse_hmi/Makefile.build
new file mode 100644
index 0000000..ad3ce29
--- /dev/null
+++ b/evse_hmi/Makefile.build
@@ -0,0 +1,44 @@
1-include ../../Rules.make
2
3ENV_SETUP ?= ../../linux-devkit/environment-setup
4DESTDIR ?=
5MATRIX_APP_DIR ?= /usr/share/matrix-gui-2.0/apps/
6all: release
7
8.PHONY: qmake
9qmake : evse_hmi.pro
10 @. ${ENV_SETUP}; \
11 qmake CONFIG+=release evse_hmi.pro
12
13qmake_debug : evse_hmi.pro
14 @. ${ENV_SETUP}; \
15 qmake CONFIG+=debug evse_hmi.pro
16
17debug : qmake_debug
18 @. ${ENV_SETUP}; \
19 make
20
21release : qmake
22 @. ${ENV_SETUP}; \
23 make
24
25clean : qmake
26 @. ${ENV_SETUP}; \
27 make distclean
28
29install_common:
30 @if [ ! -d $(DESTDIR) ] ; then \
31 echo "The extracted target filesystem directory doesn't exist."; \
32 echo "Please run setup.sh in the SDK's root directory and then try again."; \
33 exit 1; \
34 fi
35 @install -d ${DESTDIR}/usr/bin
36 @install -d ${DESTDIR}/${MATRIX_APP_DIR}/evse-hmi
37 @install evse_hmi ${DESTDIR}/usr/bin/evse_hmi
38
39install: release install_common
40 @echo "evse_hmi release version installed."
41
42install_debug: debug install_common
43 @echo "evse_hmi debug version installed."
44
diff --git a/evse_hmi/button.qrc b/evse_hmi/button.qrc
new file mode 100644
index 0000000..2d62544
--- /dev/null
+++ b/evse_hmi/button.qrc
@@ -0,0 +1,5 @@
1<RCC>
2 <qresource prefix="/button">
3 <file>home-button.png</file>
4 </qresource>
5</RCC>
diff --git a/evse_hmi/car_image.qrc b/evse_hmi/car_image.qrc
new file mode 100644
index 0000000..856c2a6
--- /dev/null
+++ b/evse_hmi/car_image.qrc
@@ -0,0 +1,5 @@
1<RCC>
2 <qresource prefix="/image">
3 <file>evse_hmi_car.png</file>
4 </qresource>
5</RCC>
diff --git a/evse_hmi/evse_hmi.cpp b/evse_hmi/evse_hmi.cpp
new file mode 100644
index 0000000..b3afd39
--- /dev/null
+++ b/evse_hmi/evse_hmi.cpp
@@ -0,0 +1,194 @@
1/*
2 * Copyright (C) 2017 Texas Instruments Incorporated - http://www.ti.com/
3 *
4 *
5 * Redistribution and use in source and binary forms, with or without
6 * modification, are permitted provided that the following conditions
7 * are met:
8 *
9 * Redistributions of source code must retain the above copyright
10 * notice, this list of conditions and the following disclaimer.
11 *
12 * Redistributions in binary form must reproduce the above copyright
13 * notice, this list of conditions and the following disclaimer in the
14 * documentation and/or other materials provided with the
15 * distribution.
16 *
17 * Neither the name of Texas Instruments Incorporated nor the names of
18 * its contributors may be used to endorse or promote products derived
19 * from this software without specific prior written permission.
20 *
21 * THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS
22 * "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT
23 * LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR
24 * A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT
25 * OWNER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL,
26 * SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT
27 * LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE,
28 * DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY
29 * THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT
30 * (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE
31 * OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
32 *
33*/
34
35
36#include "evse_hmi.h"
37#include "ui_evse_hmi.h"
38
39#include <QProgressBar>
40#include <QTimer>
41#include <iostream>
42
43
44evse_hmi::evse_hmi(QWidget *parent) :
45 QMainWindow(parent),
46 ui(new Ui::evse_hmi)
47{
48 ui->setupUi(this);
49 resetProgressBar();
50}
51
52evse_hmi::~evse_hmi()
53{
54 delete ui;
55}
56
57
58/* Page 0 Functions */
59void evse_hmi::on_ContinueButton_clicked()
60{
61 ui -> stackedWidget -> setCurrentIndex(1);
62}
63
64void evse_hmi::on_ExitButton_clicked()
65{
66 qApp -> quit();
67}
68
69
70/* Page 1 Functions */
71void evse_hmi::on_ChargingMode1_clicked()
72{
73 ui -> stackedWidget -> setCurrentIndex(2);
74}
75
76void evse_hmi::on_ChargingMode2_clicked()
77{
78 ui -> stackedWidget -> setCurrentIndex(2);
79}
80
81void evse_hmi::on_ChargingMode3_clicked()
82{
83 ui -> stackedWidget -> setCurrentIndex(2);
84}
85
86void evse_hmi::on_ChargingMode4_clicked()
87{
88 ui -> stackedWidget -> setCurrentIndex(2);
89}
90
91void evse_hmi::on_Page1Home_clicked()
92{
93 ui -> stackedWidget -> setCurrentIndex(0);
94}
95
96
97
98/* Page 2 Functions*/
99void evse_hmi::on_OkButton_clicked()
100{
101 ui -> stackedWidget -> setCurrentIndex(3);
102}
103
104
105void evse_hmi::on_Page2Home_clicked()
106{
107 ui -> stackedWidget -> setCurrentIndex(0);
108}
109
110
111
112/* Page 3 Functions */
113void evse_hmi::on_BeginChargeButton_clicked()
114{
115 /* startTimer function will trigger the timerEvent function to be
116 called every 10 milliseconds */
117 timerId = startTimer(175);
118 start = 1;
119}
120
121void evse_hmi::timerEvent(QTimerEvent *event)
122{
123 if(milliseconds >= 0 && start) {
124
125 /* The accept method is used to satisfy the compiler. If it
126 * is not used the compiler will give the following warning:
127 * "Warning unused event" */
128 event -> accept();
129
130 // Remaining charge time calculations
131 minutes = (milliseconds % (1000*60*60)) / (1000*60);
132 seconds = ((milliseconds % (1000*60*60)) % (1000*60)) / 1000;
133 milliseconds = milliseconds - 5000;
134 //Hours = Milliseconds / (1000*60*60);
135
136 // Time elapsed calculations
137 millisecondsElapsed = millisecondsElapsed + 5000;
138 secondsElapsed = ((millisecondsElapsed % (1000*60*60)) % (1000*60)) / 1000;
139 minutesElapsed = (millisecondsElapsed % (1000*60*60)) / (1000*60);
140
141 // Percentage charged calculations
142 percentComplete = (((double) milliseconds / (double) 3600000))*100;
143 percentComplete = 100 - percentComplete;
144 ui -> ProgressBar -> setValue(percentComplete);
145
146 // Remaining time and elapsed time screen updates
147 char rBuffer[30];
148 char eBuffer[30];
149 sprintf(rBuffer,"%i:%02i",minutes,seconds);
150 sprintf(eBuffer,"%i:%02i",minutesElapsed,secondsElapsed);
151 ui -> RemainingTimeLabel -> setStyleSheet("font-size:10pt;font-weight:600; color:#ffffff;border:none;");
152 ui -> RemainingTimeLabel->setText(rBuffer);
153 ui -> RemainingTimeLabel -> setStyleSheet("font-size:10pt;font-weight:600; color:#ffffff;border:none;");
154 ui -> ElapsedTimeLabel->setText(eBuffer);
155 }
156}
157
158void evse_hmi::on_EndChargeButton_clicked()
159{
160 /* Setting the start variable to 0 will stop
161 * the progress bar from updating any further */
162 start = 0;
163 ui -> stackedWidget -> setCurrentIndex(0);
164 resetProgressBar();
165}
166
167void evse_hmi::resetProgressBar() {
168 //setting start flag to 0
169 start = 0;
170
171 //setting progress bar's value attribute to 0
172 ui -> ProgressBar -> setValue(0);
173
174 // Initalizing percentComplete variable
175 percentComplete = 0;
176
177 // Initializing all variables needed for calculating charge time remaining and elapsed
178 milliseconds = 3600000;
179 minutes = 0;
180 seconds = 0;
181 millisecondsElapsed = -10000;
182 secondsElapsed = 0;
183 minutesElapsed = 0;
184 //hours = 0;
185
186 // Resetting remaining time and elapsed time values
187 ui -> RemainingTimeLabel -> setStyleSheet("font-size:10pt;font-weight:600; color:#ffffff;border:none;");
188 ui -> RemainingTimeLabel->setText("60:00");
189 ui -> ElapsedTimeLabel -> setStyleSheet("font-size:10pt;font-weight:600; color:#ffffff;border:none;");
190 ui -> ElapsedTimeLabel->setText("0:00");
191}
192
193
194
diff --git a/evse_hmi/evse_hmi.h b/evse_hmi/evse_hmi.h
new file mode 100644
index 0000000..683b378
--- /dev/null
+++ b/evse_hmi/evse_hmi.h
@@ -0,0 +1,98 @@
1/*
2 * Copyright (C) 2017 Texas Instruments Incorporated - http://www.ti.com/
3 *
4 *
5 * Redistribution and use in source and binary forms, with or without
6 * modification, are permitted provided that the following conditions
7 * are met:
8 *
9 * Redistributions of source code must retain the above copyright
10 * notice, this list of conditions and the following disclaimer.
11 *
12 * Redistributions in binary form must reproduce the above copyright
13 * notice, this list of conditions and the following disclaimer in the
14 * documentation and/or other materials provided with the
15 * distribution.
16 *
17 * Neither the name of Texas Instruments Incorporated nor the names of
18 * its contributors may be used to endorse or promote products derived
19 * from this software without specific prior written permission.
20 *
21 * THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS
22 * "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT
23 * LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR
24 * A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT
25 * OWNER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL,
26 * SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT
27 * LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE,
28 * DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY
29 * THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT
30 * (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE
31 * OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
32 *
33*/
34
35#ifndef EVSE_HMI_H
36#define EVSE_HMI_H
37
38#include <QMainWindow>
39
40namespace Ui {
41class evse_hmi;
42}
43
44class evse_hmi : public QMainWindow
45{
46 Q_OBJECT
47
48public:
49 explicit evse_hmi(QWidget *parent = 0);
50 ~evse_hmi();
51
52private:
53 Ui::evse_hmi *ui;
54 int timerId;
55 double percentComplete;
56 bool start;
57
58 int milliseconds;
59 int seconds;
60 int minutes;
61 int hours;
62
63 int millisecondsElapsed;
64 int secondsElapsed;
65 int minutesElapsed;
66
67private slots:
68
69 void on_ContinueButton_clicked();
70
71 void on_ExitButton_clicked();
72
73 void on_ChargingMode1_clicked();
74
75 void on_ChargingMode2_clicked();
76
77 void on_ChargingMode3_clicked();
78
79 void on_ChargingMode4_clicked();
80
81 void on_Page1Home_clicked();
82
83 void on_OkButton_clicked();
84
85 void on_Page2Home_clicked();
86
87 void on_BeginChargeButton_clicked();
88
89 void on_EndChargeButton_clicked();
90
91 void resetProgressBar();
92
93protected:
94 void timerEvent(QTimerEvent *event);
95
96};
97
98#endif // EVSE_HMI_H
diff --git a/evse_hmi/evse_hmi.pro b/evse_hmi/evse_hmi.pro
new file mode 100644
index 0000000..2347c85
--- /dev/null
+++ b/evse_hmi/evse_hmi.pro
@@ -0,0 +1,27 @@
1#-------------------------------------------------
2#
3# Project created by QtCreator 2017-07-28T07:51:06
4#
5#-------------------------------------------------
6
7QT += core gui
8
9greaterThan(QT_MAJOR_VERSION, 4): QT += widgets
10
11TARGET = evse_hmi
12TEMPLATE = app
13
14
15SOURCES += main.cpp\
16 evse_hmi.cpp
17
18HEADERS += evse_hmi.h
19
20FORMS += evse_hmi.ui
21
22target.path += /home/root
23INSTALLS += target
24
25RESOURCES += \
26 car_image.qrc \
27 button.qrc
diff --git a/evse_hmi/evse_hmi.ui b/evse_hmi/evse_hmi.ui
new file mode 100644
index 0000000..3441535
--- /dev/null
+++ b/evse_hmi/evse_hmi.ui
@@ -0,0 +1,2268 @@
1<?xml version="1.0" encoding="UTF-8"?>
2<ui version="4.0">
3 <class>evse_hmi</class>
4 <widget class="QMainWindow" name="evse_hmi">
5 <property name="geometry">
6 <rect>
7 <x>0</x>
8 <y>0</y>
9 <width>1371</width>
10 <height>1009</height>
11 </rect>
12 </property>
13 <property name="windowTitle">
14 <string>evse_hmi</string>
15 </property>
16 <property name="styleSheet">
17 <string notr="true">background-color: qradialgradient(spread:pad, cx:0.505, cy:0.489, radius:0.5, fx:0.5, fy:0.489, stop:0.0157895 rgba(144, 93, 255, 255), stop:1 rgba(133, 58, 195, 255))</string>
18 </property>
19 <widget class="QWidget" name="centralWidget">
20 <layout class="QVBoxLayout" name="verticalLayout_2">
21 <item>
22 <widget class="QStackedWidget" name="stackedWidget">
23 <property name="sizePolicy">
24 <sizepolicy hsizetype="Expanding" vsizetype="Expanding">
25 <horstretch>0</horstretch>
26 <verstretch>0</verstretch>
27 </sizepolicy>
28 </property>
29 <property name="styleSheet">
30 <string notr="true">height: 100%;
31width:100%;</string>
32 </property>
33 <property name="currentIndex">
34 <number>0</number>
35 </property>
36 <widget class="QWidget" name="Welcome">
37 <property name="styleSheet">
38 <string notr="true">background-color: qradialgradient(spread:pad, cx:0.505, cy:0.489, radius:0.5, fx:0.5, fy:0.489, stop:0.0157895 rgba(144, 93, 255, 255), stop:1 rgba(133, 58, 195, 255))</string>
39 </property>
40 <layout class="QVBoxLayout" name="verticalLayout_19">
41 <item>
42 <layout class="QGridLayout" name="gridLayout_3">
43 <item row="0" column="1">
44 <spacer name="verticalSpacer_42">
45 <property name="orientation">
46 <enum>Qt::Vertical</enum>
47 </property>
48 <property name="sizeType">
49 <enum>QSizePolicy::MinimumExpanding</enum>
50 </property>
51 <property name="sizeHint" stdset="0">
52 <size>
53 <width>30</width>
54 <height>15</height>
55 </size>
56 </property>
57 </spacer>
58 </item>
59 <item row="1" column="0" rowspan="2">
60 <spacer name="horizontalSpacer_28">
61 <property name="orientation">
62 <enum>Qt::Horizontal</enum>
63 </property>
64 <property name="sizeHint" stdset="0">
65 <size>
66 <width>78</width>
67 <height>20</height>
68 </size>
69 </property>
70 </spacer>
71 </item>
72 <item row="1" column="1">
73 <widget class="QLabel" name="WelcomeTitle">
74 <property name="sizePolicy">
75 <sizepolicy hsizetype="Expanding" vsizetype="Expanding">
76 <horstretch>0</horstretch>
77 <verstretch>0</verstretch>
78 </sizepolicy>
79 </property>
80 <property name="styleSheet">
81 <string notr="true">background:none;</string>
82 </property>
83 <property name="text">
84 <string>&lt;html&gt;&lt;head/&gt;&lt;body&gt;&lt;p align=&quot;center&quot;&gt;&lt;span style=&quot; font-size:28pt; font-weight:600; color:#ffffff;&quot;&gt;Welcome!&lt;/span&gt;&lt;/p&gt;&lt;/body&gt;&lt;/html&gt;</string>
85 </property>
86 <property name="scaledContents">
87 <bool>true</bool>
88 </property>
89 </widget>
90 </item>
91 <item row="1" column="2" rowspan="2">
92 <spacer name="horizontalSpacer_27">
93 <property name="orientation">
94 <enum>Qt::Horizontal</enum>
95 </property>
96 <property name="sizeHint" stdset="0">
97 <size>
98 <width>78</width>
99 <height>20</height>
100 </size>
101 </property>
102 </spacer>
103 </item>
104 <item row="2" column="1">
105 <spacer name="verticalSpacer_41">
106 <property name="orientation">
107 <enum>Qt::Vertical</enum>
108 </property>
109 <property name="sizeType">
110 <enum>QSizePolicy::MinimumExpanding</enum>
111 </property>
112 <property name="sizeHint" stdset="0">
113 <size>
114 <width>30</width>
115 <height>15</height>
116 </size>
117 </property>
118 </spacer>
119 </item>
120 </layout>
121 </item>
122 <item>
123 <layout class="QHBoxLayout" name="horizontalLayout_3">
124 <item>
125 <spacer name="horizontalSpacer">
126 <property name="orientation">
127 <enum>Qt::Horizontal</enum>
128 </property>
129 <property name="sizeHint" stdset="0">
130 <size>
131 <width>40</width>
132 <height>20</height>
133 </size>
134 </property>
135 </spacer>
136 </item>
137 <item>
138 <layout class="QGridLayout" name="gridLayout_6">
139 <item row="1" column="2">
140 <spacer name="horizontalSpacer_26">
141 <property name="orientation">
142 <enum>Qt::Horizontal</enum>
143 </property>
144 <property name="sizeType">
145 <enum>QSizePolicy::Minimum</enum>
146 </property>
147 <property name="sizeHint" stdset="0">
148 <size>
149 <width>118</width>
150 <height>20</height>
151 </size>
152 </property>
153 </spacer>
154 </item>
155 <item row="1" column="0">
156 <spacer name="horizontalSpacer_25">
157 <property name="orientation">
158 <enum>Qt::Horizontal</enum>
159 </property>
160 <property name="sizeType">
161 <enum>QSizePolicy::Minimum</enum>
162 </property>
163 <property name="sizeHint" stdset="0">
164 <size>
165 <width>118</width>
166 <height>20</height>
167 </size>
168 </property>
169 </spacer>
170 </item>
171 <item row="1" column="1">
172 <widget class="QLabel" name="CarImage">
173 <property name="sizePolicy">
174 <sizepolicy hsizetype="MinimumExpanding" vsizetype="MinimumExpanding">
175 <horstretch>1</horstretch>
176 <verstretch>1</verstretch>
177 </sizepolicy>
178 </property>
179 <property name="minimumSize">
180 <size>
181 <width>16</width>
182 <height>10</height>
183 </size>
184 </property>
185 <property name="styleSheet">
186 <string notr="true">background:none;</string>
187 </property>
188 <property name="text">
189 <string/>
190 </property>
191 <property name="pixmap">
192 <pixmap resource="car_image.qrc">:/image/evse_hmi_car.png</pixmap>
193 </property>
194 <property name="scaledContents">
195 <bool>true</bool>
196 </property>
197 </widget>
198 </item>
199 <item row="2" column="1">
200 <spacer name="verticalSpacer_19">
201 <property name="orientation">
202 <enum>Qt::Vertical</enum>
203 </property>
204 <property name="sizeType">
205 <enum>QSizePolicy::Minimum</enum>
206 </property>
207 <property name="sizeHint" stdset="0">
208 <size>
209 <width>0</width>
210 <height>0</height>
211 </size>
212 </property>
213 </spacer>
214 </item>
215 <item row="0" column="1">
216 <spacer name="verticalSpacer_16">
217 <property name="orientation">
218 <enum>Qt::Vertical</enum>
219 </property>
220 <property name="sizeType">
221 <enum>QSizePolicy::Minimum</enum>
222 </property>
223 <property name="sizeHint" stdset="0">
224 <size>
225 <width>20</width>
226 <height>0</height>
227 </size>
228 </property>
229 </spacer>
230 </item>
231 </layout>
232 </item>
233 <item>
234 <spacer name="horizontalSpacer_2">
235 <property name="orientation">
236 <enum>Qt::Horizontal</enum>
237 </property>
238 <property name="sizeHint" stdset="0">
239 <size>
240 <width>40</width>
241 <height>20</height>
242 </size>
243 </property>
244 </spacer>
245 </item>
246 </layout>
247 </item>
248 <item>
249 <layout class="QVBoxLayout" name="verticalLayout">
250 <item>
251 <layout class="QHBoxLayout" name="horizontalLayout_9">
252 <item>
253 <layout class="QGridLayout" name="gridLayout_7">
254 <item row="0" column="1">
255 <spacer name="verticalSpacer_23">
256 <property name="orientation">
257 <enum>Qt::Vertical</enum>
258 </property>
259 <property name="sizeHint" stdset="0">
260 <size>
261 <width>20</width>
262 <height>13</height>
263 </size>
264 </property>
265 </spacer>
266 </item>
267 <item row="1" column="0">
268 <spacer name="horizontalSpacer_11">
269 <property name="orientation">
270 <enum>Qt::Horizontal</enum>
271 </property>
272 <property name="sizeHint" stdset="0">
273 <size>
274 <width>40</width>
275 <height>20</height>
276 </size>
277 </property>
278 </spacer>
279 </item>
280 <item row="1" column="1">
281 <widget class="QToolButton" name="ContinueButton">
282 <property name="sizePolicy">
283 <sizepolicy hsizetype="Expanding" vsizetype="Expanding">
284 <horstretch>0</horstretch>
285 <verstretch>0</verstretch>
286 </sizepolicy>
287 </property>
288 <property name="minimumSize">
289 <size>
290 <width>150</width>
291 <height>0</height>
292 </size>
293 </property>
294 <property name="styleSheet">
295 <string notr="true">QToolButton {
296 border-style: solid;
297 border-width: 4px;
298 border-color:rgb(100, 100, 100);
299 background-color: rgb(114, 222, 12);
300 border-bottom-left-radius: 5.5px;
301 border-top-left-radius: 5.5px;
302 border-bottom-right-radius: 5.5px;
303 border-top-right-radius: 5.5px;
304 width: 120px;
305 height:20px;
306 color: white;
307}
308</string>
309 </property>
310 <property name="text">
311 <string>Click to Continue</string>
312 </property>
313 </widget>
314 </item>
315 <item row="1" column="2">
316 <spacer name="horizontalSpacer_23">
317 <property name="orientation">
318 <enum>Qt::Horizontal</enum>
319 </property>
320 <property name="sizeHint" stdset="0">
321 <size>
322 <width>13</width>
323 <height>20</height>
324 </size>
325 </property>
326 </spacer>
327 </item>
328 <item row="2" column="1">
329 <spacer name="verticalSpacer_24">
330 <property name="orientation">
331 <enum>Qt::Vertical</enum>
332 </property>
333 <property name="sizeHint" stdset="0">
334 <size>
335 <width>20</width>
336 <height>13</height>
337 </size>
338 </property>
339 </spacer>
340 </item>
341 </layout>
342 </item>
343 <item>
344 <layout class="QGridLayout" name="gridLayout_9">
345 <item row="0" column="1">
346 <spacer name="verticalSpacer_18">
347 <property name="orientation">
348 <enum>Qt::Vertical</enum>
349 </property>
350 <property name="sizeHint" stdset="0">
351 <size>
352 <width>20</width>
353 <height>13</height>
354 </size>
355 </property>
356 </spacer>
357 </item>
358 <item row="1" column="0">
359 <spacer name="horizontalSpacer_30">
360 <property name="orientation">
361 <enum>Qt::Horizontal</enum>
362 </property>
363 <property name="sizeHint" stdset="0">
364 <size>
365 <width>13</width>
366 <height>20</height>
367 </size>
368 </property>
369 </spacer>
370 </item>
371 <item row="1" column="1">
372 <widget class="QToolButton" name="ExitButton">
373 <property name="sizePolicy">
374 <sizepolicy hsizetype="Expanding" vsizetype="Expanding">
375 <horstretch>0</horstretch>
376 <verstretch>0</verstretch>
377 </sizepolicy>
378 </property>
379 <property name="minimumSize">
380 <size>
381 <width>150</width>
382 <height>0</height>
383 </size>
384 </property>
385 <property name="styleSheet">
386 <string notr="true">QToolButton {
387 border-style: solid;
388 border-width: 4px;
389 border-color:rgb(100, 100, 100);
390 background-color: rgb(255, 156, 56);
391 border-bottom-left-radius: 5.5px;
392 border-top-left-radius: 5.5px;
393 border-bottom-right-radius: 5.5px;
394 border-top-right-radius: 5.5px;
395 width: 120px;
396 height:20px;
397 color: white;
398}
399</string>
400 </property>
401 <property name="text">
402 <string>Exit</string>
403 </property>
404 </widget>
405 </item>
406 <item row="1" column="2">
407 <spacer name="horizontalSpacer_20">
408 <property name="orientation">
409 <enum>Qt::Horizontal</enum>
410 </property>
411 <property name="sizeHint" stdset="0">
412 <size>
413 <width>40</width>
414 <height>20</height>
415 </size>
416 </property>
417 </spacer>
418 </item>
419 <item row="2" column="1">
420 <spacer name="verticalSpacer_22">
421 <property name="orientation">
422 <enum>Qt::Vertical</enum>
423 </property>
424 <property name="sizeHint" stdset="0">
425 <size>
426 <width>20</width>
427 <height>13</height>
428 </size>
429 </property>
430 </spacer>
431 </item>
432 </layout>
433 </item>
434 </layout>
435 </item>
436 <item>
437 <spacer name="verticalSpacer_40">
438 <property name="orientation">
439 <enum>Qt::Vertical</enum>
440 </property>
441 <property name="sizeType">
442 <enum>QSizePolicy::MinimumExpanding</enum>
443 </property>
444 <property name="sizeHint" stdset="0">
445 <size>
446 <width>30</width>
447 <height>15</height>
448 </size>
449 </property>
450 </spacer>
451 </item>
452 </layout>
453 </item>
454 </layout>
455 </widget>
456 <widget class="QWidget" name="ChargingModeMenu">
457 <property name="styleSheet">
458 <string notr="true">background-color: qradialgradient(spread:pad, cx:0.505, cy:0.489, radius:0.5, fx:0.5, fy:0.489, stop:0.0157895 rgba(144, 93, 255, 255), stop:1 rgba(133, 58, 195, 255));</string>
459 </property>
460 <layout class="QVBoxLayout" name="verticalLayout_7">
461 <item>
462 <widget class="QLabel" name="ChargingModeTitle">
463 <property name="sizePolicy">
464 <sizepolicy hsizetype="Expanding" vsizetype="Expanding">
465 <horstretch>0</horstretch>
466 <verstretch>0</verstretch>
467 </sizepolicy>
468 </property>
469 <property name="font">
470 <font>
471 <pointsize>30</pointsize>
472 </font>
473 </property>
474 <property name="styleSheet">
475 <string notr="true">background:none;</string>
476 </property>
477 <property name="text">
478 <string>&lt;html&gt;&lt;head/&gt;&lt;body&gt;&lt;p align=&quot;center&quot;&gt;&lt;span style=&quot; font-size:20pt; color:#ffffff;&quot;&gt;Please Select a Charging Mode &lt;/span&gt;&lt;/p&gt;&lt;/body&gt;&lt;/html&gt;</string>
479 </property>
480 </widget>
481 </item>
482 <item>
483 <layout class="QVBoxLayout" name="verticalLayout_4">
484 <item>
485 <layout class="QHBoxLayout" name="horizontalLayout">
486 <item>
487 <layout class="QGridLayout" name="gridLayout_2">
488 <item row="2" column="1">
489 <spacer name="horizontalSpacer_8">
490 <property name="orientation">
491 <enum>Qt::Horizontal</enum>
492 </property>
493 <property name="sizeHint" stdset="0">
494 <size>
495 <width>40</width>
496 <height>20</height>
497 </size>
498 </property>
499 </spacer>
500 </item>
501 <item row="0" column="1">
502 <spacer name="horizontalSpacer_7">
503 <property name="orientation">
504 <enum>Qt::Horizontal</enum>
505 </property>
506 <property name="sizeHint" stdset="0">
507 <size>
508 <width>40</width>
509 <height>20</height>
510 </size>
511 </property>
512 </spacer>
513 </item>
514 <item row="0" column="0">
515 <widget class="QToolButton" name="ChargingMode1">
516 <property name="sizePolicy">
517 <sizepolicy hsizetype="Expanding" vsizetype="Expanding">
518 <horstretch>2</horstretch>
519 <verstretch>2</verstretch>
520 </sizepolicy>
521 </property>
522 <property name="styleSheet">
523 <string notr="true">QToolButton {
524 background-color: rgb(100, 100, 100);
525 border-style: solid;
526 border-width: 5px;
527 border-color: rgb(255, 156, 56);
528 border-bottom-left-radius: 5.5px;
529 border-top-left-radius: 5.5px;
530 border-bottom-right-radius: 5.5px;
531 border-top-right-radius: 5.5px;
532 width: 120px;
533 height:20px;
534 color: white;
535}
536
537</string>
538 </property>
539 <property name="text">
540 <string>Option 1</string>
541 </property>
542 </widget>
543 </item>
544 <item row="1" column="2">
545 <spacer name="verticalSpacer_8">
546 <property name="orientation">
547 <enum>Qt::Vertical</enum>
548 </property>
549 <property name="sizeHint" stdset="0">
550 <size>
551 <width>20</width>
552 <height>28</height>
553 </size>
554 </property>
555 </spacer>
556 </item>
557 <item row="0" column="2">
558 <widget class="QToolButton" name="ChargingMode2">
559 <property name="sizePolicy">
560 <sizepolicy hsizetype="Expanding" vsizetype="Expanding">
561 <horstretch>2</horstretch>
562 <verstretch>2</verstretch>
563 </sizepolicy>
564 </property>
565 <property name="styleSheet">
566 <string notr="true">QToolButton {
567 background-color: rgb(100, 100, 100);
568 border-style: solid;
569 border-width: 5px;
570 border-color: rgb(255, 156, 56);
571 border-bottom-left-radius: 5.5px;
572 border-top-left-radius: 5.5px;
573 border-bottom-right-radius: 5.5px;
574 border-top-right-radius: 5.5px;
575 width: 120px;
576 height:20px;
577 color: white;
578}
579
580</string>
581 </property>
582 <property name="text">
583 <string>Option 2</string>
584 </property>
585 </widget>
586 </item>
587 <item row="1" column="0">
588 <spacer name="verticalSpacer_7">
589 <property name="orientation">
590 <enum>Qt::Vertical</enum>
591 </property>
592 <property name="sizeHint" stdset="0">
593 <size>
594 <width>20</width>
595 <height>28</height>
596 </size>
597 </property>
598 </spacer>
599 </item>
600 <item row="2" column="2">
601 <widget class="QToolButton" name="ChargingMode4">
602 <property name="sizePolicy">
603 <sizepolicy hsizetype="Expanding" vsizetype="Expanding">
604 <horstretch>2</horstretch>
605 <verstretch>2</verstretch>
606 </sizepolicy>
607 </property>
608 <property name="styleSheet">
609 <string notr="true">QToolButton {
610 background-color: rgb(100, 100, 100);
611 border-style: solid;
612 border-width: 5px;
613 border-color: rgb(255, 156, 56);
614 border-bottom-left-radius: 5.5px;
615 border-top-left-radius: 5.5px;
616 border-bottom-right-radius: 5.5px;
617 border-top-right-radius: 5.5px;
618 width: 120px;
619 height:20px;
620 color: white;
621}
622
623</string>
624 </property>
625 <property name="text">
626 <string>Option 4</string>
627 </property>
628 </widget>
629 </item>
630 <item row="2" column="0">
631 <widget class="QToolButton" name="ChargingMode3">
632 <property name="sizePolicy">
633 <sizepolicy hsizetype="Expanding" vsizetype="Expanding">
634 <horstretch>2</horstretch>
635 <verstretch>2</verstretch>
636 </sizepolicy>
637 </property>
638 <property name="styleSheet">
639 <string notr="true">QToolButton {
640 background-color: rgb(100, 100, 100);
641 border-style: solid;
642 border-width: 5px;
643 border-color: rgb(255, 156, 56);
644 border-bottom-left-radius: 5.5px;
645 border-top-left-radius: 5.5px;
646 border-bottom-right-radius: 5.5px;
647 border-top-right-radius: 5.5px;
648 width: 120px;
649 height:20px;
650 color: white;
651}
652
653</string>
654 </property>
655 <property name="text">
656 <string>Option 3</string>
657 </property>
658 </widget>
659 </item>
660 </layout>
661 </item>
662 </layout>
663 </item>
664 </layout>
665 </item>
666 <item>
667 <layout class="QHBoxLayout" name="horizontalLayout_5">
668 <item>
669 <spacer name="horizontalSpacer_18">
670 <property name="orientation">
671 <enum>Qt::Horizontal</enum>
672 </property>
673 <property name="sizeHint" stdset="0">
674 <size>
675 <width>468</width>
676 <height>47</height>
677 </size>
678 </property>
679 </spacer>
680 </item>
681 <item>
682 <layout class="QGridLayout" name="gridLayout_8">
683 <item row="1" column="1">
684 <widget class="QPushButton" name="Page1Home">
685 <property name="sizePolicy">
686 <sizepolicy hsizetype="Expanding" vsizetype="Expanding">
687 <horstretch>0</horstretch>
688 <verstretch>0</verstretch>
689 </sizepolicy>
690 </property>
691 <property name="maximumSize">
692 <size>
693 <width>47</width>
694 <height>35</height>
695 </size>
696 </property>
697 <property name="styleSheet">
698 <string notr="true">QPushButton {
699 border-image: url(:/button/home-button.png);
700 background: none;
701}</string>
702 </property>
703 <property name="text">
704 <string/>
705 </property>
706 </widget>
707 </item>
708 <item row="0" column="1">
709 <spacer name="verticalSpacer_12">
710 <property name="orientation">
711 <enum>Qt::Vertical</enum>
712 </property>
713 <property name="sizeHint" stdset="0">
714 <size>
715 <width>20</width>
716 <height>5</height>
717 </size>
718 </property>
719 </spacer>
720 </item>
721 <item row="1" column="0">
722 <spacer name="horizontalSpacer_16">
723 <property name="orientation">
724 <enum>Qt::Horizontal</enum>
725 </property>
726 <property name="sizeHint" stdset="0">
727 <size>
728 <width>10</width>
729 <height>20</height>
730 </size>
731 </property>
732 </spacer>
733 </item>
734 </layout>
735 </item>
736 </layout>
737 </item>
738 </layout>
739 </widget>
740 <widget class="QWidget" name="RatePeriod">
741 <property name="styleSheet">
742 <string notr="true">background-color: qradialgradient(spread:pad, cx:0.505, cy:0.489, radius:0.5, fx:0.5, fy:0.489, stop:0.0157895 rgba(144, 93, 255, 255), stop:1 rgba(133, 58, 195, 255));</string>
743 </property>
744 <layout class="QVBoxLayout" name="verticalLayout_12">
745 <item>
746 <widget class="QLabel" name="RatePeriodSettingTitle">
747 <property name="sizePolicy">
748 <sizepolicy hsizetype="Expanding" vsizetype="Expanding">
749 <horstretch>0</horstretch>
750 <verstretch>0</verstretch>
751 </sizepolicy>
752 </property>
753 <property name="font">
754 <font>
755 <pointsize>30</pointsize>
756 </font>
757 </property>
758 <property name="styleSheet">
759 <string notr="true">background:none;</string>
760 </property>
761 <property name="text">
762 <string>&lt;html&gt;&lt;head/&gt;&lt;body&gt;&lt;p align=&quot;center&quot;&gt;&lt;span style=&quot; font-size:20pt; color:#ffffff;&quot;&gt;Rate Period Setting&lt;/span&gt;&lt;/p&gt;&lt;/body&gt;&lt;/html&gt;</string>
763 </property>
764 </widget>
765 </item>
766 <item>
767 <layout class="QGridLayout" name="gridLayout">
768 <property name="sizeConstraint">
769 <enum>QLayout::SetNoConstraint</enum>
770 </property>
771 <item row="3" column="3">
772 <widget class="QLabel" name="RP3_2">
773 <property name="sizePolicy">
774 <sizepolicy hsizetype="Expanding" vsizetype="Expanding">
775 <horstretch>0</horstretch>
776 <verstretch>0</verstretch>
777 </sizepolicy>
778 </property>
779 <property name="minimumSize">
780 <size>
781 <width>0</width>
782 <height>19</height>
783 </size>
784 </property>
785 <property name="styleSheet">
786 <string notr="true">QLabel {
787 background-color: black;
788}</string>
789 </property>
790 <property name="text">
791 <string>TextLabel</string>
792 </property>
793 </widget>
794 </item>
795 <item row="4" column="1">
796 <widget class="QLabel" name="RP4_0">
797 <property name="sizePolicy">
798 <sizepolicy hsizetype="Expanding" vsizetype="Expanding">
799 <horstretch>0</horstretch>
800 <verstretch>0</verstretch>
801 </sizepolicy>
802 </property>
803 <property name="minimumSize">
804 <size>
805 <width>0</width>
806 <height>19</height>
807 </size>
808 </property>
809 <property name="styleSheet">
810 <string notr="true">QLabel {
811 background-color: black;
812}</string>
813 </property>
814 <property name="text">
815 <string>TextLabel</string>
816 </property>
817 </widget>
818 </item>
819 <item row="2" column="4">
820 <widget class="QLabel" name="RP2_3">
821 <property name="sizePolicy">
822 <sizepolicy hsizetype="Expanding" vsizetype="Expanding">
823 <horstretch>0</horstretch>
824 <verstretch>2</verstretch>
825 </sizepolicy>
826 </property>
827 <property name="minimumSize">
828 <size>
829 <width>0</width>
830 <height>19</height>
831 </size>
832 </property>
833 <property name="styleSheet">
834 <string notr="true">QLabel {
835 background-color: black;
836}</string>
837 </property>
838 <property name="text">
839 <string>TextLabel</string>
840 </property>
841 <property name="scaledContents">
842 <bool>true</bool>
843 </property>
844 </widget>
845 </item>
846 <item row="2" column="2">
847 <widget class="QLabel" name="RP2_1">
848 <property name="sizePolicy">
849 <sizepolicy hsizetype="Expanding" vsizetype="Expanding">
850 <horstretch>0</horstretch>
851 <verstretch>0</verstretch>
852 </sizepolicy>
853 </property>
854 <property name="minimumSize">
855 <size>
856 <width>0</width>
857 <height>19</height>
858 </size>
859 </property>
860 <property name="styleSheet">
861 <string notr="true">QLabel {
862 background-color: black;
863}</string>
864 </property>
865 <property name="text">
866 <string>TextLabel</string>
867 </property>
868 <property name="scaledContents">
869 <bool>true</bool>
870 </property>
871 </widget>
872 </item>
873 <item row="3" column="4">
874 <widget class="QLabel" name="RP3_3">
875 <property name="sizePolicy">
876 <sizepolicy hsizetype="Expanding" vsizetype="Expanding">
877 <horstretch>0</horstretch>
878 <verstretch>2</verstretch>
879 </sizepolicy>
880 </property>
881 <property name="minimumSize">
882 <size>
883 <width>0</width>
884 <height>19</height>
885 </size>
886 </property>
887 <property name="styleSheet">
888 <string notr="true">QLabel {
889 background-color: black;
890}</string>
891 </property>
892 <property name="text">
893 <string>TextLabel</string>
894 </property>
895 </widget>
896 </item>
897 <item row="0" column="5">
898 <widget class="QLabel" name="RateTitle">
899 <property name="sizePolicy">
900 <sizepolicy hsizetype="Expanding" vsizetype="Expanding">
901 <horstretch>0</horstretch>
902 <verstretch>0</verstretch>
903 </sizepolicy>
904 </property>
905 <property name="minimumSize">
906 <size>
907 <width>40</width>
908 <height>20</height>
909 </size>
910 </property>
911 <property name="styleSheet">
912 <string notr="true">QLabel {
913 background: rgb(30, 30, 30);
914 border-bottom-right-radius: 8px;
915 border-top-right-radius: 8px;
916 color: white;
917}</string>
918 </property>
919 <property name="text">
920 <string>&lt;html&gt;&lt;head/&gt;&lt;body&gt;&lt;p align=&quot;center&quot;&gt;&lt;span style=&quot; font-size:8pt; font-weight:600;&quot;&gt;Rate&lt;/span&gt;&lt;/p&gt;&lt;/body&gt;&lt;/html&gt;</string>
921 </property>
922 <property name="scaledContents">
923 <bool>true</bool>
924 </property>
925 </widget>
926 </item>
927 <item row="1" column="3">
928 <widget class="QLabel" name="RP1_2">
929 <property name="sizePolicy">
930 <sizepolicy hsizetype="Expanding" vsizetype="Expanding">
931 <horstretch>0</horstretch>
932 <verstretch>0</verstretch>
933 </sizepolicy>
934 </property>
935 <property name="minimumSize">
936 <size>
937 <width>0</width>
938 <height>19</height>
939 </size>
940 </property>
941 <property name="styleSheet">
942 <string notr="true">QLabel {
943 background-color: black;
944}</string>
945 </property>
946 <property name="text">
947 <string>TextLabel</string>
948 </property>
949 <property name="scaledContents">
950 <bool>true</bool>
951 </property>
952 </widget>
953 </item>
954 <item row="2" column="5">
955 <widget class="QLabel" name="RP2_Rate">
956 <property name="sizePolicy">
957 <sizepolicy hsizetype="Expanding" vsizetype="Expanding">
958 <horstretch>0</horstretch>
959 <verstretch>0</verstretch>
960 </sizepolicy>
961 </property>
962 <property name="minimumSize">
963 <size>
964 <width>40</width>
965 <height>19</height>
966 </size>
967 </property>
968 <property name="styleSheet">
969 <string notr="true">QLabel {
970 background: rgb(30, 30, 30);
971 border-bottom-right-radius: 8px;
972 border-top-right-radius: 8px;
973 color: white;
974}</string>
975 </property>
976 <property name="text">
977 <string/>
978 </property>
979 <property name="scaledContents">
980 <bool>true</bool>
981 </property>
982 </widget>
983 </item>
984 <item row="4" column="0">
985 <widget class="QLabel" name="RP4Label">
986 <property name="sizePolicy">
987 <sizepolicy hsizetype="Expanding" vsizetype="Expanding">
988 <horstretch>0</horstretch>
989 <verstretch>0</verstretch>
990 </sizepolicy>
991 </property>
992 <property name="minimumSize">
993 <size>
994 <width>0</width>
995 <height>19</height>
996 </size>
997 </property>
998 <property name="styleSheet">
999 <string notr="true">QLabel {
1000 background-color: rgb(114, 222, 12);
1001 color: white;
1002 qproperty-alignment: AlignCenter;
1003 border-bottom-left-radius: 8px;
1004 border-top-left-radius: 8px;
1005}
1006</string>
1007 </property>
1008 <property name="text">
1009 <string>&lt;html&gt;&lt;head/&gt;&lt;body&gt;&lt;p align=&quot;center&quot;&gt;&lt;span style=&quot; font-size:8pt; font-weight:600;&quot;&gt;Rate Period 4&lt;/span&gt;&lt;/p&gt;&lt;/body&gt;&lt;/html&gt;</string>
1010 </property>
1011 </widget>
1012 </item>
1013 <item row="2" column="0">
1014 <widget class="QLabel" name="RP2Label">
1015 <property name="sizePolicy">
1016 <sizepolicy hsizetype="Expanding" vsizetype="Expanding">
1017 <horstretch>0</horstretch>
1018 <verstretch>0</verstretch>
1019 </sizepolicy>
1020 </property>
1021 <property name="minimumSize">
1022 <size>
1023 <width>0</width>
1024 <height>19</height>
1025 </size>
1026 </property>
1027 <property name="styleSheet">
1028 <string notr="true">QLabel {
1029 background-color: rgb(114, 222, 12);
1030 color: white;
1031 qproperty-alignment: AlignCenter;
1032 border-bottom-left-radius: 8px;
1033 border-top-left-radius: 8px;
1034}
1035</string>
1036 </property>
1037 <property name="text">
1038 <string>&lt;html&gt;&lt;head/&gt;&lt;body&gt;&lt;p align=&quot;center&quot;&gt;&lt;span style=&quot; font-size:8pt; font-weight:600;&quot;&gt;Rate Period 2&lt;/span&gt;&lt;/p&gt;&lt;/body&gt;&lt;/html&gt;</string>
1039 </property>
1040 <property name="scaledContents">
1041 <bool>true</bool>
1042 </property>
1043 </widget>
1044 </item>
1045 <item row="1" column="1">
1046 <widget class="QLabel" name="RP1_0">
1047 <property name="sizePolicy">
1048 <sizepolicy hsizetype="Expanding" vsizetype="Expanding">
1049 <horstretch>0</horstretch>
1050 <verstretch>0</verstretch>
1051 </sizepolicy>
1052 </property>
1053 <property name="minimumSize">
1054 <size>
1055 <width>0</width>
1056 <height>19</height>
1057 </size>
1058 </property>
1059 <property name="styleSheet">
1060 <string notr="true">QLabel {
1061 background-color: black;
1062}</string>
1063 </property>
1064 <property name="text">
1065 <string>TextLabel</string>
1066 </property>
1067 <property name="scaledContents">
1068 <bool>true</bool>
1069 </property>
1070 </widget>
1071 </item>
1072 <item row="3" column="0">
1073 <widget class="QLabel" name="RP3Label">
1074 <property name="sizePolicy">
1075 <sizepolicy hsizetype="Expanding" vsizetype="Expanding">
1076 <horstretch>0</horstretch>
1077 <verstretch>0</verstretch>
1078 </sizepolicy>
1079 </property>
1080 <property name="styleSheet">
1081 <string notr="true">QLabel {
1082 background-color: rgb(114, 222, 12);
1083 color: white;
1084 qproperty-alignment: AlignCenter;
1085 border-bottom-left-radius: 8px;
1086 border-top-left-radius: 8px;
1087}
1088</string>
1089 </property>
1090 <property name="text">
1091 <string>&lt;html&gt;&lt;head/&gt;&lt;body&gt;&lt;p align=&quot;center&quot;&gt;&lt;span style=&quot; font-size:8pt; font-weight:600;&quot;&gt;Rate Period 3&lt;/span&gt;&lt;/p&gt;&lt;/body&gt;&lt;/html&gt;</string>
1092 </property>
1093 </widget>
1094 </item>
1095 <item row="4" column="3">
1096 <widget class="QLabel" name="RP4_2">
1097 <property name="sizePolicy">
1098 <sizepolicy hsizetype="Expanding" vsizetype="Expanding">
1099 <horstretch>0</horstretch>
1100 <verstretch>0</verstretch>
1101 </sizepolicy>
1102 </property>
1103 <property name="minimumSize">
1104 <size>
1105 <width>0</width>
1106 <height>19</height>
1107 </size>
1108 </property>
1109 <property name="styleSheet">
1110 <string notr="true">QLabel {
1111 background-color: black;
1112}</string>
1113 </property>
1114 <property name="text">
1115 <string>TextLabel</string>
1116 </property>
1117 </widget>
1118 </item>
1119 <item row="3" column="1">
1120 <widget class="QLabel" name="RP3_0">
1121 <property name="sizePolicy">
1122 <sizepolicy hsizetype="Expanding" vsizetype="Expanding">
1123 <horstretch>0</horstretch>
1124 <verstretch>0</verstretch>
1125 </sizepolicy>
1126 </property>
1127 <property name="minimumSize">
1128 <size>
1129 <width>0</width>
1130 <height>19</height>
1131 </size>
1132 </property>
1133 <property name="styleSheet">
1134 <string notr="true">QLabel {
1135 background-color: black;
1136}</string>
1137 </property>
1138 <property name="text">
1139 <string>TextLabel</string>
1140 </property>
1141 </widget>
1142 </item>
1143 <item row="0" column="0">
1144 <widget class="QLabel" name="Blank">
1145 <property name="sizePolicy">
1146 <sizepolicy hsizetype="Expanding" vsizetype="Expanding">
1147 <horstretch>0</horstretch>
1148 <verstretch>0</verstretch>
1149 </sizepolicy>
1150 </property>
1151 <property name="minimumSize">
1152 <size>
1153 <width>0</width>
1154 <height>20</height>
1155 </size>
1156 </property>
1157 <property name="styleSheet">
1158 <string notr="true">QLabel {
1159 background-color: rgb(114, 222, 12);
1160 color: rgb(114, 222, 12);
1161 qproperty-alignment: AlignCenter;
1162 border-bottom-left-radius: 8px;
1163 border-top-left-radius: 8px;
1164}
1165</string>
1166 </property>
1167 <property name="text">
1168 <string>&lt;html&gt;&lt;head/&gt;&lt;body&gt;&lt;p align=&quot;center&quot;&gt;&lt;br/&gt;&lt;/p&gt;&lt;/body&gt;&lt;/html&gt;</string>
1169 </property>
1170 <property name="scaledContents">
1171 <bool>true</bool>
1172 </property>
1173 </widget>
1174 </item>
1175 <item row="2" column="1">
1176 <widget class="QLabel" name="RP2_0">
1177 <property name="sizePolicy">
1178 <sizepolicy hsizetype="Expanding" vsizetype="Expanding">
1179 <horstretch>0</horstretch>
1180 <verstretch>0</verstretch>
1181 </sizepolicy>
1182 </property>
1183 <property name="minimumSize">
1184 <size>
1185 <width>0</width>
1186 <height>19</height>
1187 </size>
1188 </property>
1189 <property name="styleSheet">
1190 <string notr="true">QLabel {
1191 background-color: black;
1192}</string>
1193 </property>
1194 <property name="text">
1195 <string>TextLabel</string>
1196 </property>
1197 <property name="scaledContents">
1198 <bool>true</bool>
1199 </property>
1200 </widget>
1201 </item>
1202 <item row="1" column="0">
1203 <widget class="QLabel" name="RP1Label">
1204 <property name="sizePolicy">
1205 <sizepolicy hsizetype="Expanding" vsizetype="Expanding">
1206 <horstretch>0</horstretch>
1207 <verstretch>0</verstretch>
1208 </sizepolicy>
1209 </property>
1210 <property name="styleSheet">
1211 <string notr="true">QLabel {
1212 background-color: rgb(114, 222, 12);
1213 color: white;
1214 qproperty-alignment: AlignCenter;
1215 border-bottom-left-radius: 8px;
1216 border-top-left-radius: 8px;
1217}
1218</string>
1219 </property>
1220 <property name="text">
1221 <string>&lt;html&gt;&lt;head/&gt;&lt;body&gt;&lt;p align=&quot;center&quot;&gt;&lt;span style=&quot; font-size:8pt; font-weight:600;&quot;&gt;Rate Period 1&lt;/span&gt;&lt;/p&gt;&lt;/body&gt;&lt;/html&gt;</string>
1222 </property>
1223 <property name="scaledContents">
1224 <bool>true</bool>
1225 </property>
1226 </widget>
1227 </item>
1228 <item row="4" column="4">
1229 <widget class="QLabel" name="RP4_3">
1230 <property name="sizePolicy">
1231 <sizepolicy hsizetype="Expanding" vsizetype="Expanding">
1232 <horstretch>0</horstretch>
1233 <verstretch>2</verstretch>
1234 </sizepolicy>
1235 </property>
1236 <property name="minimumSize">
1237 <size>
1238 <width>0</width>
1239 <height>19</height>
1240 </size>
1241 </property>
1242 <property name="styleSheet">
1243 <string notr="true">QLabel {
1244 background-color: black;
1245}</string>
1246 </property>
1247 <property name="text">
1248 <string>TextLabel</string>
1249 </property>
1250 </widget>
1251 </item>
1252 <item row="4" column="5">
1253 <widget class="QLabel" name="RP4_Rate">
1254 <property name="sizePolicy">
1255 <sizepolicy hsizetype="Expanding" vsizetype="Expanding">
1256 <horstretch>0</horstretch>
1257 <verstretch>0</verstretch>
1258 </sizepolicy>
1259 </property>
1260 <property name="minimumSize">
1261 <size>
1262 <width>30</width>
1263 <height>19</height>
1264 </size>
1265 </property>
1266 <property name="styleSheet">
1267 <string notr="true">QLabel {
1268 background: rgb(30, 30, 30);
1269 border-bottom-right-radius: 8px;
1270 border-top-right-radius: 8px;
1271 color: white;
1272}</string>
1273 </property>
1274 <property name="text">
1275 <string/>
1276 </property>
1277 </widget>
1278 </item>
1279 <item row="3" column="2">
1280 <widget class="QLabel" name="RP3_1">
1281 <property name="sizePolicy">
1282 <sizepolicy hsizetype="Expanding" vsizetype="Expanding">
1283 <horstretch>0</horstretch>
1284 <verstretch>0</verstretch>
1285 </sizepolicy>
1286 </property>
1287 <property name="minimumSize">
1288 <size>
1289 <width>0</width>
1290 <height>19</height>
1291 </size>
1292 </property>
1293 <property name="styleSheet">
1294 <string notr="true">QLabel {
1295 background-color: black;
1296}</string>
1297 </property>
1298 <property name="text">
1299 <string>TextLabel</string>
1300 </property>
1301 </widget>
1302 </item>
1303 <item row="1" column="2">
1304 <widget class="QLabel" name="RP1_1">
1305 <property name="sizePolicy">
1306 <sizepolicy hsizetype="Expanding" vsizetype="Expanding">
1307 <horstretch>0</horstretch>
1308 <verstretch>0</verstretch>
1309 </sizepolicy>
1310 </property>
1311 <property name="minimumSize">
1312 <size>
1313 <width>0</width>
1314 <height>19</height>
1315 </size>
1316 </property>
1317 <property name="styleSheet">
1318 <string notr="true">QLabel {
1319 background-color: black;
1320}</string>
1321 </property>
1322 <property name="text">
1323 <string>TextLabel</string>
1324 </property>
1325 <property name="scaledContents">
1326 <bool>true</bool>
1327 </property>
1328 </widget>
1329 </item>
1330 <item row="2" column="3">
1331 <widget class="QLabel" name="RP2_2">
1332 <property name="sizePolicy">
1333 <sizepolicy hsizetype="Expanding" vsizetype="Expanding">
1334 <horstretch>0</horstretch>
1335 <verstretch>0</verstretch>
1336 </sizepolicy>
1337 </property>
1338 <property name="minimumSize">
1339 <size>
1340 <width>0</width>
1341 <height>19</height>
1342 </size>
1343 </property>
1344 <property name="styleSheet">
1345 <string notr="true">QLabel {
1346 background-color: black;
1347}</string>
1348 </property>
1349 <property name="text">
1350 <string>TextLabel</string>
1351 </property>
1352 <property name="scaledContents">
1353 <bool>true</bool>
1354 </property>
1355 </widget>
1356 </item>
1357 <item row="1" column="4">
1358 <widget class="QLabel" name="RP1_3">
1359 <property name="sizePolicy">
1360 <sizepolicy hsizetype="Expanding" vsizetype="Expanding">
1361 <horstretch>0</horstretch>
1362 <verstretch>2</verstretch>
1363 </sizepolicy>
1364 </property>
1365 <property name="minimumSize">
1366 <size>
1367 <width>0</width>
1368 <height>19</height>
1369 </size>
1370 </property>
1371 <property name="styleSheet">
1372 <string notr="true">QLabel {
1373 background-color: black;
1374}</string>
1375 </property>
1376 <property name="text">
1377 <string>TextLabel</string>
1378 </property>
1379 <property name="scaledContents">
1380 <bool>true</bool>
1381 </property>
1382 </widget>
1383 </item>
1384 <item row="3" column="5">
1385 <widget class="QLabel" name="RP3_Rate">
1386 <property name="sizePolicy">
1387 <sizepolicy hsizetype="Expanding" vsizetype="Expanding">
1388 <horstretch>0</horstretch>
1389 <verstretch>0</verstretch>
1390 </sizepolicy>
1391 </property>
1392 <property name="minimumSize">
1393 <size>
1394 <width>30</width>
1395 <height>19</height>
1396 </size>
1397 </property>
1398 <property name="styleSheet">
1399 <string notr="true">QLabel {
1400 background: rgb(30, 30, 30);
1401 border-bottom-right-radius: 8px;
1402 border-top-right-radius: 8px;
1403 color: white;
1404}</string>
1405 </property>
1406 <property name="text">
1407 <string/>
1408 </property>
1409 </widget>
1410 </item>
1411 <item row="4" column="2">
1412 <widget class="QLabel" name="RP4_1">
1413 <property name="sizePolicy">
1414 <sizepolicy hsizetype="Expanding" vsizetype="Expanding">
1415 <horstretch>0</horstretch>
1416 <verstretch>0</verstretch>
1417 </sizepolicy>
1418 </property>
1419 <property name="minimumSize">
1420 <size>
1421 <width>0</width>
1422 <height>19</height>
1423 </size>
1424 </property>
1425 <property name="styleSheet">
1426 <string notr="true">QLabel {
1427 background-color: black;
1428}</string>
1429 </property>
1430 <property name="text">
1431 <string>TextLabel</string>
1432 </property>
1433 </widget>
1434 </item>
1435 <item row="1" column="5">
1436 <widget class="QLabel" name="RP1_Rate">
1437 <property name="sizePolicy">
1438 <sizepolicy hsizetype="Expanding" vsizetype="Expanding">
1439 <horstretch>0</horstretch>
1440 <verstretch>0</verstretch>
1441 </sizepolicy>
1442 </property>
1443 <property name="minimumSize">
1444 <size>
1445 <width>40</width>
1446 <height>19</height>
1447 </size>
1448 </property>
1449 <property name="styleSheet">
1450 <string notr="true">QLabel {
1451 background: rgb(30, 30, 30);
1452 border-bottom-right-radius: 8px;
1453 border-top-right-radius: 8px;
1454 color: white;
1455}</string>
1456 </property>
1457 <property name="text">
1458 <string/>
1459 </property>
1460 <property name="scaledContents">
1461 <bool>true</bool>
1462 </property>
1463 </widget>
1464 </item>
1465 <item row="0" column="1" colspan="4">
1466 <widget class="QLabel" name="PeriodTitle">
1467 <property name="sizePolicy">
1468 <sizepolicy hsizetype="Expanding" vsizetype="Expanding">
1469 <horstretch>0</horstretch>
1470 <verstretch>0</verstretch>
1471 </sizepolicy>
1472 </property>
1473 <property name="minimumSize">
1474 <size>
1475 <width>30</width>
1476 <height>20</height>
1477 </size>
1478 </property>
1479 <property name="layoutDirection">
1480 <enum>Qt::LeftToRight</enum>
1481 </property>
1482 <property name="styleSheet">
1483 <string notr="true">QLabel {
1484 background-color: rgb(255, 170, 0);
1485 color: white;
1486}</string>
1487 </property>
1488 <property name="text">
1489 <string>&lt;html&gt;&lt;head/&gt;&lt;body&gt;&lt;p align=&quot;center&quot;&gt;&lt;span style=&quot; font-weight:600;&quot;&gt;Period&lt;/span&gt;&lt;/p&gt;&lt;/body&gt;&lt;/html&gt;</string>
1490 </property>
1491 <property name="scaledContents">
1492 <bool>true</bool>
1493 </property>
1494 </widget>
1495 </item>
1496 </layout>
1497 </item>
1498 <item>
1499 <layout class="QVBoxLayout" name="verticalLayout_11">
1500 <item>
1501 <layout class="QGridLayout" name="gridLayout_4">
1502 <item row="2" column="1">
1503 <spacer name="verticalSpacer_3">
1504 <property name="orientation">
1505 <enum>Qt::Vertical</enum>
1506 </property>
1507 <property name="sizeHint" stdset="0">
1508 <size>
1509 <width>20</width>
1510 <height>18</height>
1511 </size>
1512 </property>
1513 </spacer>
1514 </item>
1515 <item row="1" column="1">
1516 <widget class="QToolButton" name="OkButton">
1517 <property name="sizePolicy">
1518 <sizepolicy hsizetype="Expanding" vsizetype="Expanding">
1519 <horstretch>0</horstretch>
1520 <verstretch>0</verstretch>
1521 </sizepolicy>
1522 </property>
1523 <property name="styleSheet">
1524 <string notr="true">QToolButton {
1525 background-color: rgb(100, 100, 100);
1526 border-style: solid;
1527 border-width: 5px;
1528 border-color: rgb(255, 156, 56);
1529 border-bottom-left-radius: 5.5px;
1530 border-top-left-radius: 5.5px;
1531 border-bottom-right-radius: 5.5px;
1532 border-top-right-radius: 5.5px;
1533 width: 120px;
1534 height:20px;
1535 color: white;
1536}
1537
1538</string>
1539 </property>
1540 <property name="text">
1541 <string>Ok</string>
1542 </property>
1543 </widget>
1544 </item>
1545 <item row="0" column="1">
1546 <spacer name="verticalSpacer_2">
1547 <property name="orientation">
1548 <enum>Qt::Vertical</enum>
1549 </property>
1550 <property name="sizeHint" stdset="0">
1551 <size>
1552 <width>20</width>
1553 <height>17</height>
1554 </size>
1555 </property>
1556 </spacer>
1557 </item>
1558 <item row="1" column="0">
1559 <spacer name="horizontalSpacer_5">
1560 <property name="orientation">
1561 <enum>Qt::Horizontal</enum>
1562 </property>
1563 <property name="sizeHint" stdset="0">
1564 <size>
1565 <width>40</width>
1566 <height>20</height>
1567 </size>
1568 </property>
1569 </spacer>
1570 </item>
1571 <item row="1" column="2">
1572 <spacer name="horizontalSpacer_6">
1573 <property name="orientation">
1574 <enum>Qt::Horizontal</enum>
1575 </property>
1576 <property name="sizeHint" stdset="0">
1577 <size>
1578 <width>40</width>
1579 <height>20</height>
1580 </size>
1581 </property>
1582 </spacer>
1583 </item>
1584 </layout>
1585 </item>
1586 <item>
1587 <layout class="QHBoxLayout" name="horizontalLayout_6">
1588 <item>
1589 <spacer name="horizontalSpacer_17">
1590 <property name="orientation">
1591 <enum>Qt::Horizontal</enum>
1592 </property>
1593 <property name="sizeHint" stdset="0">
1594 <size>
1595 <width>168</width>
1596 <height>20</height>
1597 </size>
1598 </property>
1599 </spacer>
1600 </item>
1601 <item>
1602 <widget class="QPushButton" name="Page2Home">
1603 <property name="sizePolicy">
1604 <sizepolicy hsizetype="Expanding" vsizetype="Expanding">
1605 <horstretch>0</horstretch>
1606 <verstretch>0</verstretch>
1607 </sizepolicy>
1608 </property>
1609 <property name="maximumSize">
1610 <size>
1611 <width>47</width>
1612 <height>35</height>
1613 </size>
1614 </property>
1615 <property name="styleSheet">
1616 <string notr="true">QPushButton {
1617 border-image: url(:/button/home-button.png);
1618 background: none;
1619}</string>
1620 </property>
1621 <property name="text">
1622 <string/>
1623 </property>
1624 </widget>
1625 </item>
1626 </layout>
1627 </item>
1628 </layout>
1629 </item>
1630 </layout>
1631 </widget>
1632 <widget class="QWidget" name="Progress">
1633 <property name="styleSheet">
1634 <string notr="true">background-color: qradialgradient(spread:pad, cx:0.505, cy:0.489, radius:0.5, fx:0.5, fy:0.489, stop:0.0157895 rgba(144, 93, 255, 255), stop:1 rgba(133, 58, 195, 255))</string>
1635 </property>
1636 <layout class="QVBoxLayout" name="verticalLayout_10">
1637 <item>
1638 <layout class="QVBoxLayout" name="verticalLayout_9">
1639 <item>
1640 <widget class="QLabel" name="ChargingMetricsTitle">
1641 <property name="sizePolicy">
1642 <sizepolicy hsizetype="Preferred" vsizetype="Expanding">
1643 <horstretch>0</horstretch>
1644 <verstretch>0</verstretch>
1645 </sizepolicy>
1646 </property>
1647 <property name="styleSheet">
1648 <string notr="true">color: rgb(255, 255, 255);
1649background:none;</string>
1650 </property>
1651 <property name="text">
1652 <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;Charging Metrics &lt;/span&gt;&lt;/p&gt;&lt;/body&gt;&lt;/html&gt;</string>
1653 </property>
1654 </widget>
1655 </item>
1656 </layout>
1657 </item>
1658 <item>
1659 <layout class="QVBoxLayout" name="verticalLayout_8">
1660 <item>
1661 <layout class="QVBoxLayout" name="verticalLayout_5">
1662 <item>
1663 <widget class="QFrame" name="frame">
1664 <property name="sizePolicy">
1665 <sizepolicy hsizetype="Expanding" vsizetype="Expanding">
1666 <horstretch>2</horstretch>
1667 <verstretch>4</verstretch>
1668 </sizepolicy>
1669 </property>
1670 <property name="minimumSize">
1671 <size>
1672 <width>0</width>
1673 <height>120</height>
1674 </size>
1675 </property>
1676 <property name="styleSheet">
1677 <string notr="true">QFrame {
1678 background-color: rgb(100, 100, 100);
1679 border-style: solid;
1680 border-width: 5px;
1681 border-color: rgb(255, 156, 56);
1682 border-bottom-left-radius: 5.5px;
1683 border-top-left-radius: 5.5px;
1684 border-bottom-right-radius: 5.5px;
1685 border-top-right-radius: 5.5px;
1686
1687}</string>
1688 </property>
1689 <property name="frameShape">
1690 <enum>QFrame::StyledPanel</enum>
1691 </property>
1692 <property name="frameShadow">
1693 <enum>QFrame::Raised</enum>
1694 </property>
1695 <layout class="QVBoxLayout" name="verticalLayout_3">
1696 <item>
1697 <spacer name="verticalSpacer_6">
1698 <property name="orientation">
1699 <enum>Qt::Vertical</enum>
1700 </property>
1701 <property name="sizeHint" stdset="0">
1702 <size>
1703 <width>20</width>
1704 <height>0</height>
1705 </size>
1706 </property>
1707 </spacer>
1708 </item>
1709 <item>
1710 <layout class="QHBoxLayout" name="horizontalLayout_2">
1711 <item>
1712 <spacer name="horizontalSpacer_3">
1713 <property name="orientation">
1714 <enum>Qt::Horizontal</enum>
1715 </property>
1716 <property name="sizeHint" stdset="0">
1717 <size>
1718 <width>40</width>
1719 <height>20</height>
1720 </size>
1721 </property>
1722 </spacer>
1723 </item>
1724 <item>
1725 <widget class="QLabel" name="CurrentLabel">
1726 <property name="sizePolicy">
1727 <sizepolicy hsizetype="Expanding" vsizetype="Expanding">
1728 <horstretch>0</horstretch>
1729 <verstretch>2</verstretch>
1730 </sizepolicy>
1731 </property>
1732 <property name="minimumSize">
1733 <size>
1734 <width>120</width>
1735 <height>20</height>
1736 </size>
1737 </property>
1738 <property name="styleSheet">
1739 <string notr="true">QLabel {
1740 background-color: none;
1741 border: none;
1742}
1743</string>
1744 </property>
1745 <property name="text">
1746 <string>&lt;html&gt;&lt;head/&gt;&lt;body&gt;&lt;p align=&quot;center&quot;&gt;&lt;span style=&quot; font-size:10pt; font-weight:600; color:#ffffff;&quot;&gt;Current: 62.3&lt;/span&gt;&lt;/p&gt;&lt;/body&gt;&lt;/html&gt;</string>
1747 </property>
1748 </widget>
1749 </item>
1750 <item>
1751 <spacer name="horizontalSpacer_4">
1752 <property name="orientation">
1753 <enum>Qt::Horizontal</enum>
1754 </property>
1755 <property name="sizeHint" stdset="0">
1756 <size>
1757 <width>18</width>
1758 <height>20</height>
1759 </size>
1760 </property>
1761 </spacer>
1762 </item>
1763 <item>
1764 <widget class="QLabel" name="VoltageLabel">
1765 <property name="sizePolicy">
1766 <sizepolicy hsizetype="Expanding" vsizetype="Expanding">
1767 <horstretch>0</horstretch>
1768 <verstretch>2</verstretch>
1769 </sizepolicy>
1770 </property>
1771 <property name="minimumSize">
1772 <size>
1773 <width>120</width>
1774 <height>20</height>
1775 </size>
1776 </property>
1777 <property name="styleSheet">
1778 <string notr="true">QLabel {
1779 background-color: none;
1780 border: none;
1781}
1782</string>
1783 </property>
1784 <property name="text">
1785 <string>&lt;html&gt;&lt;head/&gt;&lt;body&gt;&lt;p align=&quot;center&quot;&gt;&lt;span style=&quot; font-size:10pt; font-weight:600; color:#ffffff;&quot;&gt;Voltage: 396.9 &lt;/span&gt;&lt;/p&gt;&lt;/body&gt;&lt;/html&gt;</string>
1786 </property>
1787 </widget>
1788 </item>
1789 <item>
1790 <spacer name="horizontalSpacer_9">
1791 <property name="orientation">
1792 <enum>Qt::Horizontal</enum>
1793 </property>
1794 <property name="sizeHint" stdset="0">
1795 <size>
1796 <width>18</width>
1797 <height>20</height>
1798 </size>
1799 </property>
1800 </spacer>
1801 </item>
1802 <item>
1803 <widget class="QLabel" name="PowerLabel">
1804 <property name="sizePolicy">
1805 <sizepolicy hsizetype="Expanding" vsizetype="Expanding">
1806 <horstretch>0</horstretch>
1807 <verstretch>2</verstretch>
1808 </sizepolicy>
1809 </property>
1810 <property name="minimumSize">
1811 <size>
1812 <width>120</width>
1813 <height>20</height>
1814 </size>
1815 </property>
1816 <property name="styleSheet">
1817 <string notr="true">QLabel {
1818 background-color: none;
1819 border: none;
1820}
1821</string>
1822 </property>
1823 <property name="text">
1824 <string>&lt;html&gt;&lt;head/&gt;&lt;body&gt;&lt;p align=&quot;center&quot;&gt;&lt;span style=&quot; font-size:10pt; font-weight:600; color:#ffffff;&quot;&gt;Power: 396.9 &lt;/span&gt;&lt;/p&gt;&lt;/body&gt;&lt;/html&gt;</string>
1825 </property>
1826 </widget>
1827 </item>
1828 <item>
1829 <spacer name="horizontalSpacer_10">
1830 <property name="orientation">
1831 <enum>Qt::Horizontal</enum>
1832 </property>
1833 <property name="sizeHint" stdset="0">
1834 <size>
1835 <width>40</width>
1836 <height>20</height>
1837 </size>
1838 </property>
1839 </spacer>
1840 </item>
1841 </layout>
1842 </item>
1843 <item>
1844 <spacer name="verticalSpacer_4">
1845 <property name="orientation">
1846 <enum>Qt::Vertical</enum>
1847 </property>
1848 <property name="sizeHint" stdset="0">
1849 <size>
1850 <width>20</width>
1851 <height>0</height>
1852 </size>
1853 </property>
1854 </spacer>
1855 </item>
1856 <item>
1857 <layout class="QHBoxLayout" name="horizontalLayout_4">
1858 <property name="sizeConstraint">
1859 <enum>QLayout::SetNoConstraint</enum>
1860 </property>
1861 <item>
1862 <spacer name="horizontalSpacer_14">
1863 <property name="orientation">
1864 <enum>Qt::Horizontal</enum>
1865 </property>
1866 <property name="sizeHint" stdset="0">
1867 <size>
1868 <width>40</width>
1869 <height>20</height>
1870 </size>
1871 </property>
1872 </spacer>
1873 </item>
1874 <item>
1875 <widget class="QLabel" name="RemainingTimeTitle">
1876 <property name="sizePolicy">
1877 <sizepolicy hsizetype="Expanding" vsizetype="Expanding">
1878 <horstretch>0</horstretch>
1879 <verstretch>2</verstretch>
1880 </sizepolicy>
1881 </property>
1882 <property name="minimumSize">
1883 <size>
1884 <width>125</width>
1885 <height>20</height>
1886 </size>
1887 </property>
1888 <property name="styleSheet">
1889 <string notr="true">QLabel {
1890 background-color: none;
1891 border: none;
1892}
1893</string>
1894 </property>
1895 <property name="text">
1896 <string>&lt;html&gt;&lt;head/&gt;&lt;body&gt;&lt;p align=&quot;right&quot;&gt;&lt;span style=&quot; font-size:10pt; font-weight:600; color:#ffffff;&quot;&gt;Remaining Time:&lt;/span&gt;&lt;/p&gt;&lt;/body&gt;&lt;/html&gt;</string>
1897 </property>
1898 </widget>
1899 </item>
1900 <item>
1901 <widget class="QLabel" name="RemainingTimeLabel">
1902 <property name="sizePolicy">
1903 <sizepolicy hsizetype="Fixed" vsizetype="Fixed">
1904 <horstretch>0</horstretch>
1905 <verstretch>0</verstretch>
1906 </sizepolicy>
1907 </property>
1908 <property name="minimumSize">
1909 <size>
1910 <width>42</width>
1911 <height>20</height>
1912 </size>
1913 </property>
1914 <property name="maximumSize">
1915 <size>
1916 <width>42</width>
1917 <height>16777215</height>
1918 </size>
1919 </property>
1920 <property name="styleSheet">
1921 <string notr="true">QLabel {
1922 background-color: none;
1923 border: none;
1924 color:white;
1925 font-weight:600;
1926}
1927</string>
1928 </property>
1929 <property name="text">
1930 <string>&lt;html&gt;&lt;head/&gt;&lt;body&gt;&lt;p align=&quot;left&quot;&gt;&lt;span style=&quot; font-size:10pt; font-weight:600; color:#ffffff;&quot;&gt;60:00&lt;/span&gt;&lt;/p&gt;&lt;/body&gt;&lt;/html&gt;</string>
1931 </property>
1932 </widget>
1933 </item>
1934 <item>
1935 <spacer name="horizontalSpacer_13">
1936 <property name="orientation">
1937 <enum>Qt::Horizontal</enum>
1938 </property>
1939 <property name="sizeHint" stdset="0">
1940 <size>
1941 <width>40</width>
1942 <height>20</height>
1943 </size>
1944 </property>
1945 </spacer>
1946 </item>
1947 <item>
1948 <widget class="QLabel" name="ElapsedTimeTitle">
1949 <property name="sizePolicy">
1950 <sizepolicy hsizetype="Expanding" vsizetype="Expanding">
1951 <horstretch>0</horstretch>
1952 <verstretch>2</verstretch>
1953 </sizepolicy>
1954 </property>
1955 <property name="minimumSize">
1956 <size>
1957 <width>115</width>
1958 <height>20</height>
1959 </size>
1960 </property>
1961 <property name="styleSheet">
1962 <string notr="true">QLabel {
1963 border: none;
1964}
1965</string>
1966 </property>
1967 <property name="text">
1968 <string>&lt;html&gt;&lt;head/&gt;&lt;body&gt;&lt;p align=&quot;right&quot;&gt;&lt;span style=&quot; font-size:10pt; font-weight:600; color:#ffffff;&quot;&gt;Elapsed Time:&lt;/span&gt;&lt;/p&gt;&lt;/body&gt;&lt;/html&gt;</string>
1969 </property>
1970 </widget>
1971 </item>
1972 <item>
1973 <widget class="QLabel" name="ElapsedTimeLabel">
1974 <property name="sizePolicy">
1975 <sizepolicy hsizetype="Fixed" vsizetype="Fixed">
1976 <horstretch>0</horstretch>
1977 <verstretch>0</verstretch>
1978 </sizepolicy>
1979 </property>
1980 <property name="minimumSize">
1981 <size>
1982 <width>42</width>
1983 <height>20</height>
1984 </size>
1985 </property>
1986 <property name="maximumSize">
1987 <size>
1988 <width>42</width>
1989 <height>16777215</height>
1990 </size>
1991 </property>
1992 <property name="styleSheet">
1993 <string notr="true">QLabel {
1994 background-color: none;
1995 border: none;
1996 color:white;
1997 font-weight:600;
1998}
1999</string>
2000 </property>
2001 <property name="text">
2002 <string>&lt;html&gt;&lt;head/&gt;&lt;body&gt;&lt;p align=&quot;left&quot;&gt;&lt;span style=&quot; font-size:10pt; font-weight:600; color:#ffffff;&quot;&gt;0:00&lt;/span&gt;&lt;/p&gt;&lt;/body&gt;&lt;/html&gt;</string>
2003 </property>
2004 </widget>
2005 </item>
2006 <item>
2007 <spacer name="horizontalSpacer_15">
2008 <property name="orientation">
2009 <enum>Qt::Horizontal</enum>
2010 </property>
2011 <property name="sizeHint" stdset="0">
2012 <size>
2013 <width>40</width>
2014 <height>20</height>
2015 </size>
2016 </property>
2017 </spacer>
2018 </item>
2019 </layout>
2020 </item>
2021 <item>
2022 <spacer name="verticalSpacer_10">
2023 <property name="orientation">
2024 <enum>Qt::Vertical</enum>
2025 </property>
2026 <property name="sizeHint" stdset="0">
2027 <size>
2028 <width>20</width>
2029 <height>0</height>
2030 </size>
2031 </property>
2032 </spacer>
2033 </item>
2034 <item>
2035 <widget class="QProgressBar" name="ProgressBar">
2036 <property name="sizePolicy">
2037 <sizepolicy hsizetype="Expanding" vsizetype="Fixed">
2038 <horstretch>0</horstretch>
2039 <verstretch>0</verstretch>
2040 </sizepolicy>
2041 </property>
2042 <property name="minimumSize">
2043 <size>
2044 <width>0</width>
2045 <height>23</height>
2046 </size>
2047 </property>
2048 <property name="maximumSize">
2049 <size>
2050 <width>16777215</width>
2051 <height>23</height>
2052 </size>
2053 </property>
2054 <property name="styleSheet">
2055 <string notr="true">QProgressBar::chunk {
2056 background-color:rgb(114, 222, 12) ;
2057 color: rgb(0, 255, 0);
2058 border-bottom-left-radius: 5px;
2059 border-top-left-radius: 5px;
2060 border-bottom-right-radius: 5px;
2061 border-top-right-radius: 5px;
2062}
2063
2064QProgressBar {
2065 border-bottom-left-radius: 5px;
2066 border-top-left-radius: 5px;
2067 border-bottom-right-radius: 5px;
2068 border-top-right-radius: 5px;
2069 color: rgb(255, 255, 255);
2070 background-color: black;
2071 qproperty-alignment: AlignCenter;
2072}</string>
2073 </property>
2074 <property name="value">
2075 <number>24</number>
2076 </property>
2077 </widget>
2078 </item>
2079 <item>
2080 <spacer name="verticalSpacer_9">
2081 <property name="orientation">
2082 <enum>Qt::Vertical</enum>
2083 </property>
2084 <property name="sizeHint" stdset="0">
2085 <size>
2086 <width>20</width>
2087 <height>0</height>
2088 </size>
2089 </property>
2090 </spacer>
2091 </item>
2092 </layout>
2093 </widget>
2094 </item>
2095 </layout>
2096 </item>
2097 </layout>
2098 </item>
2099 <item>
2100 <layout class="QGridLayout" name="gridLayout_5">
2101 <item row="0" column="2">
2102 <spacer name="horizontalSpacer_24">
2103 <property name="orientation">
2104 <enum>Qt::Horizontal</enum>
2105 </property>
2106 <property name="sizeHint" stdset="0">
2107 <size>
2108 <width>38</width>
2109 <height>20</height>
2110 </size>
2111 </property>
2112 </spacer>
2113 </item>
2114 <item row="0" column="0">
2115 <spacer name="horizontalSpacer_29">
2116 <property name="orientation">
2117 <enum>Qt::Horizontal</enum>
2118 </property>
2119 <property name="sizeHint" stdset="0">
2120 <size>
2121 <width>28</width>
2122 <height>20</height>
2123 </size>
2124 </property>
2125 </spacer>
2126 </item>
2127 <item row="0" column="1">
2128 <layout class="QVBoxLayout" name="verticalLayout_6">
2129 <item>
2130 <spacer name="verticalSpacer_11">
2131 <property name="orientation">
2132 <enum>Qt::Vertical</enum>
2133 </property>
2134 <property name="sizeHint" stdset="0">
2135 <size>
2136 <width>20</width>
2137 <height>17</height>
2138 </size>
2139 </property>
2140 </spacer>
2141 </item>
2142 <item>
2143 <widget class="QToolButton" name="BeginChargeButton">
2144 <property name="sizePolicy">
2145 <sizepolicy hsizetype="Expanding" vsizetype="Expanding">
2146 <horstretch>0</horstretch>
2147 <verstretch>0</verstretch>
2148 </sizepolicy>
2149 </property>
2150 <property name="minimumSize">
2151 <size>
2152 <width>0</width>
2153 <height>29</height>
2154 </size>
2155 </property>
2156 <property name="maximumSize">
2157 <size>
2158 <width>16777215</width>
2159 <height>50</height>
2160 </size>
2161 </property>
2162 <property name="styleSheet">
2163 <string notr="true">QToolButton {
2164 border-style: solid;
2165 border-width: 4px;
2166 border-color:rgb(100, 100, 100);
2167 background-color: rgb(114, 222, 12);
2168 border-bottom-left-radius: 5.5px;
2169 border-top-left-radius: 5.5px;
2170 border-bottom-right-radius: 5.5px;
2171 border-top-right-radius: 5.5px;
2172 width: 120px;
2173 height:20px;
2174 color: white;
2175}
2176
2177</string>
2178 </property>
2179 <property name="text">
2180 <string>Begin Charge</string>
2181 </property>
2182 </widget>
2183 </item>
2184 <item>
2185 <spacer name="verticalSpacer_5">
2186 <property name="orientation">
2187 <enum>Qt::Vertical</enum>
2188 </property>
2189 <property name="sizeHint" stdset="0">
2190 <size>
2191 <width>20</width>
2192 <height>17</height>
2193 </size>
2194 </property>
2195 </spacer>
2196 </item>
2197 <item>
2198 <widget class="QToolButton" name="EndChargeButton">
2199 <property name="sizePolicy">
2200 <sizepolicy hsizetype="Expanding" vsizetype="Expanding">
2201 <horstretch>0</horstretch>
2202 <verstretch>0</verstretch>
2203 </sizepolicy>
2204 </property>
2205 <property name="minimumSize">
2206 <size>
2207 <width>0</width>
2208 <height>29</height>
2209 </size>
2210 </property>
2211 <property name="maximumSize">
2212 <size>
2213 <width>16777215</width>
2214 <height>50</height>
2215 </size>
2216 </property>
2217 <property name="styleSheet">
2218 <string notr="true">QToolButton {
2219 border-style: solid;
2220 border-width: 4px;
2221 border-color:rgb(100, 100, 100);
2222 background-color: rgb(255, 156, 56);
2223 border-bottom-left-radius: 5.5px;
2224 border-top-left-radius: 5.5px;
2225 border-bottom-right-radius: 5.5px;
2226 border-top-right-radius: 5.5px;
2227 width: 120px;
2228 height:20px;
2229 color: white;
2230}
2231
2232</string>
2233 </property>
2234 <property name="text">
2235 <string>End Charge</string>
2236 </property>
2237 </widget>
2238 </item>
2239 </layout>
2240 </item>
2241 <item row="1" column="1">
2242 <spacer name="verticalSpacer_13">
2243 <property name="orientation">
2244 <enum>Qt::Vertical</enum>
2245 </property>
2246 <property name="sizeHint" stdset="0">
2247 <size>
2248 <width>20</width>
2249 <height>17</height>
2250 </size>
2251 </property>
2252 </spacer>
2253 </item>
2254 </layout>
2255 </item>
2256 </layout>
2257 </widget>
2258 </widget>
2259 </item>
2260 </layout>
2261 </widget>
2262 </widget>
2263 <layoutdefault spacing="6" margin="11"/>
2264 <resources>
2265 <include location="car_image.qrc"/>
2266 </resources>
2267 <connections/>
2268</ui>
diff --git a/evse_hmi/evse_hmi_car.png b/evse_hmi/evse_hmi_car.png
new file mode 100755
index 0000000..5e55b26
--- /dev/null
+++ b/evse_hmi/evse_hmi_car.png
Binary files differ
diff --git a/evse_hmi/home-button.png b/evse_hmi/home-button.png
new file mode 100755
index 0000000..bbd1c6b
--- /dev/null
+++ b/evse_hmi/home-button.png
Binary files differ
diff --git a/evse_hmi/main.cpp b/evse_hmi/main.cpp
new file mode 100644
index 0000000..7e272c6
--- /dev/null
+++ b/evse_hmi/main.cpp
@@ -0,0 +1,46 @@
1/*
2 * Copyright (C) 2017 Texas Instruments Incorporated - http://www.ti.com/
3 *
4 *
5 * Redistribution and use in source and binary forms, with or without
6 * modification, are permitted provided that the following conditions
7 * are met:
8 *
9 * Redistributions of source code must retain the above copyright
10 * notice, this list of conditions and the following disclaimer.
11 *
12 * Redistributions in binary form must reproduce the above copyright
13 * notice, this list of conditions and the following disclaimer in the
14 * documentation and/or other materials provided with the
15 * distribution.
16 *
17 * Neither the name of Texas Instruments Incorporated nor the names of
18 * its contributors may be used to endorse or promote products derived
19 * from this software without specific prior written permission.
20 *
21 * THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS
22 * "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT
23 * LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR
24 * A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT
25 * OWNER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL,
26 * SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT
27 * LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE,
28 * DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY
29 * THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT
30 * (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE
31 * OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
32 *
33*/
34
35
36#include "evse_hmi.h"
37#include <QApplication>
38#include <QProgressBar>
39int main(int argc, char *argv[])
40{
41 QApplication a(argc, argv);
42 evse_hmi w;
43 w.showFullScreen();
44
45 return a.exec();
46}