diff options
author | suchinton2001 <suchinton.2001@gmail.com> | 2023-09-20 23:18:36 +0530 |
---|---|---|
committer | Jan-Simon Moeller <jsmoeller@linuxfoundation.org> | 2023-09-27 12:29:27 +0000 |
commit | c65710aac670e9546c261b13294571f310ca9439 (patch) | |
tree | e8939f703ff3dc19aff73495234bad64922621d6 /ui/HVAC.ui | |
parent | 746451c1587a2830b47904b5abb9f0b6c1b10641 (diff) |
Update UI files
V1:
- Widen Scroll bars in IC and HVAC Page
- Update UI to use carbon icon resources
- Add new Dashboard page
- Add bottom navigation bar to main window UI
- Remove deprecated navigation page files
Bug-AGL: SPEC-4905
Signed-off-by: suchinton2001 <suchinton.2001@gmail.com>
Change-Id: Ia307d326c4bc9af9969e1d6b2a2cb4948a7ee286
Diffstat (limited to 'ui/HVAC.ui')
-rw-r--r-- | ui/HVAC.ui | 104 |
1 files changed, 45 insertions, 59 deletions
@@ -204,53 +204,24 @@ QListWidget::item:hover { <property name="frameShadow"> <enum>QFrame::Raised</enum> </property> - <layout class="QHBoxLayout" name="horizontalLayout_2"> + <layout class="QHBoxLayout" name="horizontalLayout"> <item> - <widget class="QFrame" name="frame_5"> - <property name="frameShape"> - <enum>QFrame::StyledPanel</enum> + <widget class="QLabel" name="label_2"> + <property name="sizePolicy"> + <sizepolicy hsizetype="MinimumExpanding" vsizetype="Fixed"> + <horstretch>0</horstretch> + <verstretch>0</verstretch> + </sizepolicy> </property> - <property name="frameShadow"> - <enum>QFrame::Raised</enum> + <property name="font"> + <font> + <weight>75</weight> + <italic>true</italic> + <bold>true</bold> + </font> </property> - <layout class="QHBoxLayout" name="horizontalLayout_4"> - <item> - <widget class="QLabel" name="label_2"> - <property name="sizePolicy"> - <sizepolicy hsizetype="MinimumExpanding" vsizetype="Fixed"> - <horstretch>0</horstretch> - <verstretch>0</verstretch> - </sizepolicy> - </property> - <property name="font"> - <font> - <weight>75</weight> - <italic>true</italic> - <bold>true</bold> - </font> - </property> - <property name="text"> - <string>HVAC</string> - </property> - </widget> - </item> - </layout> - </widget> - </item> - <item> - <widget class="QPushButton" name="scriptBtn"> <property name="text"> - <string>Script</string> - </property> - <property name="icon"> - <iconset resource="../assets/res.qrc"> - <normaloff>:/icons/feather/play-circle.svg</normaloff>:/icons/feather/play-circle.svg</iconset> - </property> - <property name="iconSize"> - <size> - <width>30</width> - <height>30</height> - </size> + <string>HVAC</string> </property> </widget> </item> @@ -267,8 +238,8 @@ QListWidget::item:hover { <rect> <x>0</x> <y>0</y> - <width>689</width> - <height>415</height> + <width>697</width> + <height>409</height> </rect> </property> <layout class="QVBoxLayout" name="verticalLayout_3"> @@ -455,7 +426,7 @@ QListWidget::item:hover { <string/> </property> <property name="pixmap"> - <pixmap resource="../assets/res.qrc">:/Images/Images/fan.svg</pixmap> + <pixmap resource="../assets/res.qrc">:/Images/Images/HMI_HVAC_Fan_Icon.svg</pixmap> </property> </widget> </item> @@ -491,6 +462,12 @@ QListWidget::item:hover { </item> <item row="2" column="3" rowspan="4" alignment="Qt::AlignHCenter"> <widget class="QSlider" name="rightFanSpeed_slider"> + <property name="minimumSize"> + <size> + <width>40</width> + <height>0</height> + </size> + </property> <property name="orientation"> <enum>Qt::Vertical</enum> </property> @@ -503,12 +480,12 @@ QListWidget::item:hover { </property> <property name="icon"> <iconset resource="../assets/res.qrc"> - <normaloff>:/Images/Images/tempDown.svg</normaloff>:/Images/Images/tempDown.svg</iconset> + <normaloff>:/Carbon_Icons/carbon_icons/temperature--hot.svg</normaloff>:/Carbon_Icons/carbon_icons/temperature--hot.svg</iconset> </property> <property name="iconSize"> <size> - <width>30</width> - <height>30</height> + <width>40</width> + <height>40</height> </size> </property> </widget> @@ -520,12 +497,12 @@ QListWidget::item:hover { </property> <property name="icon"> <iconset resource="../assets/res.qrc"> - <normaloff>:/Images/Images/tempUp.svg</normaloff>:/Images/Images/tempUp.svg</iconset> + <normaloff>:/Carbon_Icons/carbon_icons/temperature--frigid.svg</normaloff>:/Carbon_Icons/carbon_icons/temperature--frigid.svg</iconset> </property> <property name="iconSize"> <size> - <width>30</width> - <height>30</height> + <width>40</width> + <height>40</height> </size> </property> </widget> @@ -601,6 +578,12 @@ QListWidget::item:hover { <verstretch>0</verstretch> </sizepolicy> </property> + <property name="minimumSize"> + <size> + <width>40</width> + <height>0</height> + </size> + </property> <property name="orientation"> <enum>Qt::Vertical</enum> </property> @@ -637,11 +620,14 @@ QListWidget::item:hover { <string/> </property> <property name="pixmap"> - <pixmap resource="../assets/res.qrc">:/Images/Images/fan.svg</pixmap> + <pixmap resource="../assets/res.qrc">:/Images/Images/HMI_HVAC_Fan_Icon.svg</pixmap> </property> <property name="scaledContents"> <bool>false</bool> </property> + <property name="alignment"> + <set>Qt::AlignCenter</set> + </property> </widget> </item> <item row="6" column="3"> @@ -651,12 +637,12 @@ QListWidget::item:hover { </property> <property name="icon"> <iconset resource="../assets/res.qrc"> - <normaloff>:/Images/Images/tempDown.svg</normaloff>:/Images/Images/tempDown.svg</iconset> + <normaloff>:/Carbon_Icons/carbon_icons/temperature--hot.svg</normaloff>:/Carbon_Icons/carbon_icons/temperature--hot.svg</iconset> </property> <property name="iconSize"> <size> - <width>30</width> - <height>30</height> + <width>40</width> + <height>40</height> </size> </property> </widget> @@ -808,12 +794,12 @@ QListWidget::item:hover { </property> <property name="icon"> <iconset resource="../assets/res.qrc"> - <normaloff>:/Images/Images/tempUp.svg</normaloff>:/Images/Images/tempUp.svg</iconset> + <normaloff>:/Carbon_Icons/carbon_icons/temperature--frigid.svg</normaloff>:/Carbon_Icons/carbon_icons/temperature--frigid.svg</iconset> </property> <property name="iconSize"> <size> - <width>30</width> - <height>30</height> + <width>40</width> + <height>40</height> </size> </property> </widget> |