diff options
Diffstat (limited to 'ui')
-rw-r--r-- | ui/HVAC.ui | 536 | ||||
-rw-r--r-- | ui/IC.ui | 462 | ||||
-rw-r--r-- | ui/Settings_Window.ui | 36 | ||||
-rw-r--r-- | ui/TirePressure.ui | 330 |
4 files changed, 662 insertions, 702 deletions
@@ -6,8 +6,8 @@ <rect> <x>0</x> <y>0</y> - <width>815</width> - <height>575</height> + <width>950</width> + <height>587</height> </rect> </property> <property name="windowTitle"> @@ -63,39 +63,37 @@ border-radius: 8px; } -QSlider::sub-page:vertical { - background-color: #131313 ; /* black */ - height: 20px; - width: 28px; - margin: 2px; - border: 1px solid #6C6C85 ; /* pastel purple */ - border-radius: 8px; -} - QSlider::groove:vertical { - border-radius: 8px; - width: 28px; - margin: 2px; + background-color: #4BD7D6 ; /* light blue */ border: 1px solid #6C6C85 ; /* pastel purple */ - background-color: #4BD7D6 ; /* light blue */ + width: 40px; + border-radius: 20px; } -QSlider::groove:vertical:hover { - background-color: rgb(55, 62, 76); + +QSlider::sub-page:vertical { + border: 1px solid #6C6C85; /* pastel purple */ + background-color: #131313; /* black */ + width: 36px; + margin-top: 0px; /* Adjusted for better alignment */ + margin-bottom: -20px; /* Space below the sub-page */ + border-radius: 18px; } + QSlider::handle:vertical { - background-color: #d5d5d5; - height: 15px; - width: 20px; - border-radius: 5px; -} -QSlider::handle:vertical:hover { - background-color: #6C6C85 ; /* pastel purple */ -} -QSlider::handle:vertical:pressed { - background-color: #4BD7D6 ; /* light blue */ + height: 28px; + background: qlineargradient(x1:0, y1:0, x2:1, y2:1, + stop:0 #eee, stop:1 #ccc); + border: 1px solid #777; + width: 28px; + margin-top: 5px; + margin-bottom: 5px; + margin-left: 5px; + margin-right: 5px; + border-radius: 15px; } + QScrollBar:horizontal { min-width: 240px; height: 13px; @@ -205,23 +203,7 @@ QListWidget::item:hover { <enum>QFrame::Raised</enum> </property> <layout class="QGridLayout" name="gridLayout"> - <item row="1" column="3" colspan="2"> - <spacer name="horizontalSpacer"> - <property name="orientation"> - <enum>Qt::Horizontal</enum> - </property> - <property name="sizeType"> - <enum>QSizePolicy::Expanding</enum> - </property> - <property name="sizeHint" stdset="0"> - <size> - <width>40</width> - <height>20</height> - </size> - </property> - </spacer> - </item> - <item row="0" column="1" colspan="5" alignment="Qt::AlignBottom"> + <item row="0" column="0" colspan="2" alignment="Qt::AlignBottom"> <widget class="QFrame" name="frame_2"> <property name="minimumSize"> <size> @@ -260,23 +242,7 @@ QListWidget::item:hover { </layout> </widget> </item> - <item row="1" column="6"> - <spacer name="horizontalSpacer_3"> - <property name="orientation"> - <enum>Qt::Horizontal</enum> - </property> - <property name="sizeType"> - <enum>QSizePolicy::Expanding</enum> - </property> - <property name="sizeHint" stdset="0"> - <size> - <width>20</width> - <height>20</height> - </size> - </property> - </spacer> - </item> - <item row="1" column="1" colspan="2"> + <item row="1" column="0"> <widget class="QFrame" name="leftControls"> <property name="minimumSize"> <size> @@ -291,11 +257,11 @@ QListWidget::item:hover { <enum>QFrame::Raised</enum> </property> <layout class="QGridLayout" name="gridLayout_2"> - <item row="1" column="0" colspan="5" alignment="Qt::AlignHCenter"> + <item row="1" column="0" colspan="4" alignment="Qt::AlignHCenter"> <widget class="QLabel" name="label"> <property name="font"> <font> - <pointsize>16</pointsize> + <pointsize>18</pointsize> <weight>75</weight> <italic>true</italic> <bold>true</bold> @@ -306,7 +272,7 @@ QListWidget::item:hover { </property> </widget> </item> - <item row="0" column="0" colspan="5"> + <item row="0" column="0" colspan="4"> <spacer name="verticalSpacer_7"> <property name="orientation"> <enum>Qt::Vertical</enum> @@ -322,53 +288,46 @@ QListWidget::item:hover { </property> </spacer> </item> - <item row="2" column="0" colspan="5"> - <spacer name="verticalSpacer_3"> + <item row="5" column="0" colspan="4"> + <spacer name="verticalSpacer_5"> <property name="orientation"> <enum>Qt::Vertical</enum> </property> <property name="sizeType"> - <enum>QSizePolicy::Fixed</enum> + <enum>QSizePolicy::Preferred</enum> </property> <property name="sizeHint" stdset="0"> <size> <width>20</width> - <height>20</height> - </size> - </property> - </spacer> - </item> - <item row="3" column="0" rowspan="2"> - <spacer name="horizontalSpacer_6"> - <property name="orientation"> - <enum>Qt::Horizontal</enum> - </property> - <property name="sizeHint" stdset="0"> - <size> - <width>40</width> - <height>20</height> + <height>40</height> </size> </property> </spacer> </item> - <item row="3" column="2" rowspan="2"> - <spacer name="horizontalSpacer_4"> + <item row="2" column="0" colspan="4"> + <spacer name="verticalSpacer_3"> <property name="orientation"> - <enum>Qt::Horizontal</enum> + <enum>Qt::Vertical</enum> </property> <property name="sizeType"> <enum>QSizePolicy::Fixed</enum> </property> <property name="sizeHint" stdset="0"> <size> - <width>40</width> + <width>20</width> <height>20</height> </size> </property> </spacer> </item> - <item row="3" column="3" rowspan="2"> - <widget class="QFrame" name="frame_3"> + <item row="3" column="2" rowspan="2"> + <widget class="QFrame" name="leftFrame"> + <property name="sizePolicy"> + <sizepolicy hsizetype="Preferred" vsizetype="Expanding"> + <horstretch>0</horstretch> + <verstretch>0</verstretch> + </sizepolicy> + </property> <property name="frameShape"> <enum>QFrame::StyledPanel</enum> </property> @@ -376,175 +335,20 @@ QListWidget::item:hover { <enum>QFrame::Raised</enum> </property> <layout class="QVBoxLayout" name="verticalLayout_5"> - <item alignment="Qt::AlignHCenter|Qt::AlignBottom"> - <widget class="QPushButton" name="leftTempUp"> - <property name="text"> - <string/> - </property> - <property name="icon"> - <iconset resource="../assets/res.qrc"> - <normaloff>:/Carbon_Icons/carbon_icons/temperature--frigid.svg</normaloff>:/Carbon_Icons/carbon_icons/temperature--frigid.svg</iconset> - </property> - <property name="iconSize"> - <size> - <width>40</width> - <height>40</height> - </size> - </property> - </widget> - </item> - <item alignment="Qt::AlignHCenter|Qt::AlignVCenter"> - <widget class="QListWidget" name="leftTempList"> + <item> + <widget class="QWidget" name="LeftTemp_Placeholder" native="true"> <property name="sizePolicy"> - <sizepolicy hsizetype="Fixed" vsizetype="Expanding"> + <sizepolicy hsizetype="Preferred" vsizetype="Preferred"> <horstretch>0</horstretch> <verstretch>0</verstretch> </sizepolicy> </property> - <property name="minimumSize"> - <size> - <width>0</width> - <height>152</height> - </size> - </property> - <property name="maximumSize"> - <size> - <width>60</width> - <height>152</height> - </size> - </property> - <property name="font"> - <font> - <pointsize>14</pointsize> - <weight>75</weight> - <italic>true</italic> - <bold>true</bold> - </font> - </property> - <property name="focusPolicy"> - <enum>Qt::StrongFocus</enum> - </property> - <property name="layoutDirection"> - <enum>Qt::LeftToRight</enum> - </property> - <property name="autoFillBackground"> - <bool>false</bool> - </property> - <property name="frameShape"> - <enum>QFrame::NoFrame</enum> - </property> - <property name="frameShadow"> - <enum>QFrame::Plain</enum> - </property> - <property name="verticalScrollBarPolicy"> - <enum>Qt::ScrollBarAlwaysOff</enum> - </property> - <property name="horizontalScrollBarPolicy"> - <enum>Qt::ScrollBarAlwaysOff</enum> - </property> - <property name="sizeAdjustPolicy"> - <enum>QAbstractScrollArea::AdjustToContentsOnFirstShow</enum> - </property> - <property name="editTriggers"> - <set>QAbstractItemView::DoubleClicked|QAbstractItemView::EditKeyPressed</set> - </property> - <property name="showDropIndicator" stdset="0"> - <bool>false</bool> - </property> - <property name="dragDropMode"> - <enum>QAbstractItemView::DragOnly</enum> - </property> - <property name="selectionMode"> - <enum>QAbstractItemView::SingleSelection</enum> - </property> - <property name="textElideMode"> - <enum>Qt::ElideMiddle</enum> - </property> - <property name="verticalScrollMode"> - <enum>QAbstractItemView::ScrollPerPixel</enum> - </property> - <property name="movement"> - <enum>QListView::Snap</enum> - </property> - <property name="isWrapping" stdset="0"> - <bool>false</bool> - </property> - <property name="resizeMode"> - <enum>QListView::Adjust</enum> - </property> - <property name="layoutMode"> - <enum>QListView::SinglePass</enum> - </property> - <property name="spacing"> - <number>1</number> - </property> - <property name="viewMode"> - <enum>QListView::ListMode</enum> - </property> - <property name="uniformItemSizes"> - <bool>true</bool> - </property> - <property name="selectionRectVisible"> - <bool>true</bool> - </property> - <property name="itemAlignment"> - <set>Qt::AlignCenter</set> - </property> - </widget> - </item> - <item alignment="Qt::AlignHCenter|Qt::AlignTop"> - <widget class="QPushButton" name="leftTempDown"> - <property name="text"> - <string/> - </property> - <property name="icon"> - <iconset resource="../assets/res.qrc"> - <normaloff>:/Carbon_Icons/carbon_icons/temperature--hot.svg</normaloff>:/Carbon_Icons/carbon_icons/temperature--hot.svg</iconset> - </property> - <property name="iconSize"> - <size> - <width>40</width> - <height>40</height> - </size> - </property> </widget> </item> </layout> </widget> </item> - <item row="5" column="0" colspan="5"> - <spacer name="verticalSpacer_5"> - <property name="orientation"> - <enum>Qt::Vertical</enum> - </property> - <property name="sizeType"> - <enum>QSizePolicy::Preferred</enum> - </property> - <property name="sizeHint" stdset="0"> - <size> - <width>20</width> - <height>40</height> - </size> - </property> - </spacer> - </item> - <item row="3" column="4" rowspan="2"> - <spacer name="horizontalSpacer_7"> - <property name="orientation"> - <enum>Qt::Horizontal</enum> - </property> - <property name="sizeType"> - <enum>QSizePolicy::Fixed</enum> - </property> - <property name="sizeHint" stdset="0"> - <size> - <width>40</width> - <height>20</height> - </size> - </property> - </spacer> - </item> - <item row="3" column="1"> + <item row="3" column="1" alignment="Qt::AlignLeft"> <widget class="QFrame" name="frame_4"> <property name="frameShape"> <enum>QFrame::StyledPanel</enum> @@ -578,7 +382,7 @@ QListWidget::item:hover { </property> <property name="minimumSize"> <size> - <width>40</width> + <width>60</width> <height>0</height> </size> </property> @@ -621,23 +425,7 @@ QListWidget::item:hover { </layout> </widget> </item> - <item row="1" column="0"> - <spacer name="horizontalSpacer_2"> - <property name="orientation"> - <enum>Qt::Horizontal</enum> - </property> - <property name="sizeType"> - <enum>QSizePolicy::Expanding</enum> - </property> - <property name="sizeHint" stdset="0"> - <size> - <width>20</width> - <height>20</height> - </size> - </property> - </spacer> - </item> - <item row="1" column="5"> + <item row="1" column="1"> <widget class="QFrame" name="rightControls"> <property name="minimumSize"> <size> @@ -652,7 +440,7 @@ QListWidget::item:hover { <enum>QFrame::Raised</enum> </property> <layout class="QGridLayout" name="gridLayout_3"> - <item row="6" column="0" colspan="6"> + <item row="4" column="0" colspan="4"> <spacer name="verticalSpacer_6"> <property name="orientation"> <enum>Qt::Vertical</enum> @@ -668,23 +456,7 @@ QListWidget::item:hover { </property> </spacer> </item> - <item row="3" column="5" rowspan="3"> - <spacer name="horizontalSpacer_8"> - <property name="orientation"> - <enum>Qt::Horizontal</enum> - </property> - <property name="sizeType"> - <enum>QSizePolicy::Fixed</enum> - </property> - <property name="sizeHint" stdset="0"> - <size> - <width>40</width> - <height>20</height> - </size> - </property> - </spacer> - </item> - <item row="4" column="4"> + <item row="3" column="2"> <widget class="QFrame" name="frame_6"> <property name="frameShape"> <enum>QFrame::StyledPanel</enum> @@ -712,7 +484,7 @@ QListWidget::item:hover { <widget class="QSlider" name="rightFanSpeed_slider"> <property name="minimumSize"> <size> - <width>40</width> + <width>60</width> <height>0</height> </size> </property> @@ -734,39 +506,22 @@ QListWidget::item:hover { </layout> </widget> </item> - <item row="3" column="2" rowspan="3" colspan="2"> - <spacer name="horizontalSpacer_5"> - <property name="orientation"> - <enum>Qt::Horizontal</enum> - </property> - <property name="sizeType"> - <enum>QSizePolicy::Fixed</enum> - </property> - <property name="sizeHint" stdset="0"> - <size> - <width>40</width> - <height>20</height> - </size> - </property> - </spacer> - </item> - <item row="3" column="0" rowspan="3"> - <spacer name="horizontalSpacer_9"> - <property name="orientation"> - <enum>Qt::Horizontal</enum> - </property> - <property name="sizeType"> - <enum>QSizePolicy::Fixed</enum> + <item row="1" column="0" colspan="4" alignment="Qt::AlignHCenter"> + <widget class="QLabel" name="label_6"> + <property name="font"> + <font> + <pointsize>18</pointsize> + <weight>75</weight> + <italic>true</italic> + <bold>true</bold> + </font> </property> - <property name="sizeHint" stdset="0"> - <size> - <width>40</width> - <height>20</height> - </size> + <property name="text"> + <string>Right Controls</string> </property> - </spacer> + </widget> </item> - <item row="2" column="0" colspan="6"> + <item row="2" column="0" colspan="4"> <spacer name="verticalSpacer_4"> <property name="orientation"> <enum>Qt::Vertical</enum> @@ -782,22 +537,7 @@ QListWidget::item:hover { </property> </spacer> </item> - <item row="1" column="0" colspan="6" alignment="Qt::AlignHCenter"> - <widget class="QLabel" name="label_6"> - <property name="font"> - <font> - <pointsize>16</pointsize> - <weight>75</weight> - <italic>true</italic> - <bold>true</bold> - </font> - </property> - <property name="text"> - <string>Right Controls</string> - </property> - </widget> - </item> - <item row="0" column="0" colspan="6"> + <item row="0" column="0" colspan="4"> <spacer name="verticalSpacer_8"> <property name="orientation"> <enum>Qt::Vertical</enum> @@ -813,8 +553,14 @@ QListWidget::item:hover { </property> </spacer> </item> - <item row="4" column="1"> - <widget class="QFrame" name="frame_5"> + <item row="3" column="1"> + <widget class="QFrame" name="rightFrame"> + <property name="sizePolicy"> + <sizepolicy hsizetype="Preferred" vsizetype="Preferred"> + <horstretch>0</horstretch> + <verstretch>0</verstretch> + </sizepolicy> + </property> <property name="frameShape"> <enum>QFrame::StyledPanel</enum> </property> @@ -822,132 +568,8 @@ QListWidget::item:hover { <enum>QFrame::Raised</enum> </property> <layout class="QVBoxLayout" name="verticalLayout_7"> - <item alignment="Qt::AlignHCenter|Qt::AlignBottom"> - <widget class="QPushButton" name="rightTempUp"> - <property name="text"> - <string/> - </property> - <property name="icon"> - <iconset resource="../assets/res.qrc"> - <normaloff>:/Carbon_Icons/carbon_icons/temperature--frigid.svg</normaloff>:/Carbon_Icons/carbon_icons/temperature--frigid.svg</iconset> - </property> - <property name="iconSize"> - <size> - <width>40</width> - <height>40</height> - </size> - </property> - </widget> - </item> - <item alignment="Qt::AlignHCenter|Qt::AlignVCenter"> - <widget class="QListWidget" name="rightTempList"> - <property name="sizePolicy"> - <sizepolicy hsizetype="Fixed" vsizetype="Expanding"> - <horstretch>0</horstretch> - <verstretch>0</verstretch> - </sizepolicy> - </property> - <property name="minimumSize"> - <size> - <width>0</width> - <height>152</height> - </size> - </property> - <property name="maximumSize"> - <size> - <width>60</width> - <height>152</height> - </size> - </property> - <property name="font"> - <font> - <pointsize>14</pointsize> - <weight>75</weight> - <italic>true</italic> - <bold>true</bold> - </font> - </property> - <property name="focusPolicy"> - <enum>Qt::StrongFocus</enum> - </property> - <property name="layoutDirection"> - <enum>Qt::LeftToRight</enum> - </property> - <property name="autoFillBackground"> - <bool>false</bool> - </property> - <property name="frameShape"> - <enum>QFrame::NoFrame</enum> - </property> - <property name="frameShadow"> - <enum>QFrame::Plain</enum> - </property> - <property name="verticalScrollBarPolicy"> - <enum>Qt::ScrollBarAlwaysOff</enum> - </property> - <property name="horizontalScrollBarPolicy"> - <enum>Qt::ScrollBarAlwaysOff</enum> - </property> - <property name="sizeAdjustPolicy"> - <enum>QAbstractScrollArea::AdjustToContentsOnFirstShow</enum> - </property> - <property name="editTriggers"> - <set>QAbstractItemView::DoubleClicked|QAbstractItemView::EditKeyPressed</set> - </property> - <property name="showDropIndicator" stdset="0"> - <bool>false</bool> - </property> - <property name="dragDropMode"> - <enum>QAbstractItemView::DragOnly</enum> - </property> - <property name="selectionMode"> - <enum>QAbstractItemView::ContiguousSelection</enum> - </property> - <property name="textElideMode"> - <enum>Qt::ElideMiddle</enum> - </property> - <property name="verticalScrollMode"> - <enum>QAbstractItemView::ScrollPerPixel</enum> - </property> - <property name="movement"> - <enum>QListView::Snap</enum> - </property> - <property name="resizeMode"> - <enum>QListView::Adjust</enum> - </property> - <property name="layoutMode"> - <enum>QListView::SinglePass</enum> - </property> - <property name="spacing"> - <number>1</number> - </property> - <property name="viewMode"> - <enum>QListView::ListMode</enum> - </property> - <property name="selectionRectVisible"> - <bool>true</bool> - </property> - <property name="itemAlignment"> - <set>Qt::AlignCenter</set> - </property> - </widget> - </item> - <item alignment="Qt::AlignHCenter|Qt::AlignTop"> - <widget class="QPushButton" name="rightTempDown"> - <property name="text"> - <string/> - </property> - <property name="icon"> - <iconset resource="../assets/res.qrc"> - <normaloff>:/Carbon_Icons/carbon_icons/temperature--hot.svg</normaloff>:/Carbon_Icons/carbon_icons/temperature--hot.svg</iconset> - </property> - <property name="iconSize"> - <size> - <width>40</width> - <height>40</height> - </size> - </property> - </widget> + <item> + <widget class="QWidget" name="RightTemp_Placeholder" native="true"/> </item> </layout> </widget> @@ -13,6 +13,9 @@ <property name="windowTitle"> <string>Form</string> </property> + <property name="autoFillBackground"> + <bool>false</bool> + </property> <property name="styleSheet"> <string notr="true">*{ border: none; @@ -44,59 +47,59 @@ QPushButton:pressed { QSlider::groove:horizontal { background-color: #131313 ; /* black */ border: 1px solid #6C6C85 ; /* pastel purple */ - height: 28px; - border-radius: 8px; + height: 40px; + border-radius: 20px; } QSlider::sub-page:horizontal { background-color: #4BD7D6 ; /* light blue */ - height: 28px; - border-radius: 5px; + border: 1px solid #6C6C85 ; /* pastel purple */ + height: 36px; + margin-right: -20px; + border-radius: 18px; } QSlider::handle:horizontal { background: qlineargradient(x1:0, y1:0, x2:1, y2:1, stop:0 #eee, stop:1 #ccc); border: 1px solid #777; - width: 20px; - margin-top: -2px; - margin-bottom: -2px; - border-radius: 8px; -} - -QSlider::sub-page:vertical { - background-color: #131313 ; /* black */ - height: 20px; width: 28px; - margin: 4px; - border: 1px solid #6C6C85 ; /* pastel purple */ - border-radius: 8px; + margin-top: 5px; + margin-bottom: 5px; + margin-left: 5px; + margin-right: 5px; + border-radius: 15px; } QSlider::groove:vertical { - border-radius: 8px; - width: 28px; - margin: 4px; + background-color: #4BD7D6 ; /* light blue */ border: 1px solid #6C6C85 ; /* pastel purple */ - background-color: #4BD7D6 ; /* light blue */ + width: 40px; + border-radius: 20px; } -QSlider::groove:vertical:hover { - background-color: rgb(55, 62, 76); + +QSlider::sub-page:vertical { + border: 1px solid #6C6C85; /* pastel purple */ + background-color: #131313; /* black */ + width: 36px; + margin-top: 0px; /* Adjusted for better alignment */ + margin-bottom: -20px; /* Space below the sub-page */ + border-radius: 18px; } + QSlider::handle:vertical { - background-color: #d5d5d5; - height: 15px; - width: 20px; - border-radius: 5px; -} -QSlider::handle:vertical:hover { - background-color: #6C6C85 ; /* pastel purple */ -} -QSlider::handle:vertical:pressed { - background-color: #4BD7D6 ; /* light blue */ + height: 28px; + background: qlineargradient(x1:0, y1:0, x2:1, y2:1, + stop:0 #eee, stop:1 #ccc); + border: 1px solid #777; + width: 28px; + margin-top: 5px; + margin-bottom: 5px; + margin-left: 5px; + margin-right: 5px; + border-radius: 15px; } - QScrollBar:horizontal { min-width: 240px; height: 13px; @@ -165,7 +168,27 @@ QLCDNumber { <enum>QFrame::Raised</enum> </property> <layout class="QGridLayout" name="gridLayout_3"> - <item row="0" column="0" rowspan="2"> + <item row="0" column="0"> + <widget class="QDockWidget" name="TirePressureDock"> + <property name="floating"> + <bool>false</bool> + </property> + <property name="features"> + <set>QDockWidget::NoDockWidgetFeatures</set> + </property> + <widget class="QWidget" name="dockWidgetContents"> + <property name="autoFillBackground"> + <bool>false</bool> + </property> + <layout class="QVBoxLayout" name="verticalLayout_2"> + <item> + <widget class="TirePressure" name="TirePressure" native="true"/> + </item> + </layout> + </widget> + </widget> + </item> + <item row="0" column="1" rowspan="2"> <widget class="QFrame" name="frame"> <property name="sizePolicy"> <sizepolicy hsizetype="Expanding" vsizetype="Expanding"> @@ -183,10 +206,10 @@ QLCDNumber { <enum>QFrame::StyledPanel</enum> </property> <property name="frameShadow"> - <enum>QFrame::Raised</enum> + <enum>QFrame::Sunken</enum> </property> <layout class="QGridLayout" name="gridLayout_4"> - <item row="2" column="0"> + <item row="2" column="0" colspan="2"> <widget class="QFrame" name="frame_1"> <property name="sizePolicy"> <sizepolicy hsizetype="Expanding" vsizetype="Expanding"> @@ -247,27 +270,6 @@ QLCDNumber { </property> </widget> </item> - <item row="4" column="3" alignment="Qt::AlignHCenter|Qt::AlignTop"> - <widget class="QLabel" name="label_4"> - <property name="sizePolicy"> - <sizepolicy hsizetype="Expanding" vsizetype="Expanding"> - <horstretch>0</horstretch> - <verstretch>0</verstretch> - </sizepolicy> - </property> - <property name="font"> - <font> - <family>Open Sans</family> - <weight>75</weight> - <italic>true</italic> - <bold>true</bold> - </font> - </property> - <property name="text"> - <string>Speed (Kmph)</string> - </property> - </widget> - </item> <item row="2" column="3"> <widget class="QWidget" name="Speed_Gauge_Placeholder" native="true"> <property name="sizePolicy"> @@ -281,27 +283,6 @@ QLCDNumber { </property> </widget> </item> - <item row="4" column="4" alignment="Qt::AlignHCenter|Qt::AlignTop"> - <widget class="QLabel" name="label_5"> - <property name="sizePolicy"> - <sizepolicy hsizetype="Expanding" vsizetype="Expanding"> - <horstretch>0</horstretch> - <verstretch>0</verstretch> - </sizepolicy> - </property> - <property name="font"> - <font> - <family>Open Sans</family> - <weight>75</weight> - <italic>true</italic> - <bold>true</bold> - </font> - </property> - <property name="text"> - <string>Engine RPM</string> - </property> - </widget> - </item> <item row="0" column="2" colspan="4"> <spacer name="verticalSpacer_5"> <property name="orientation"> @@ -374,7 +355,7 @@ QLCDNumber { <enum>QFrame::Raised</enum> </property> <layout class="QGridLayout" name="gridLayout_2"> - <item row="1" column="4"> + <item row="1" column="3"> <widget class="QPushButton" name="rightIndicatorBtn"> <property name="text"> <string/> @@ -391,39 +372,24 @@ QLCDNumber { </property> </widget> </item> - <item row="1" column="1"> - <spacer name="horizontalSpacer_3"> - <property name="orientation"> - <enum>Qt::Horizontal</enum> - </property> - <property name="sizeType"> - <enum>QSizePolicy::Fixed</enum> - </property> - <property name="sizeHint" stdset="0"> - <size> - <width>20</width> - <height>20</height> - </size> - </property> - </spacer> - </item> - <item row="1" column="3"> - <spacer name="horizontalSpacer_4"> - <property name="orientation"> - <enum>Qt::Horizontal</enum> + <item row="0" column="2" colspan="2"> + <widget class="QPushButton" name="hazardBtn"> + <property name="text"> + <string/> </property> - <property name="sizeType"> - <enum>QSizePolicy::Fixed</enum> + <property name="icon"> + <iconset resource="../assets/res.qrc"> + <normaloff>:/Images/Images/hazard.png</normaloff>:/Images/Images/hazard.png</iconset> </property> - <property name="sizeHint" stdset="0"> + <property name="iconSize"> <size> - <width>20</width> - <height>20</height> + <width>60</width> + <height>60</height> </size> </property> - </spacer> + </widget> </item> - <item row="1" column="0"> + <item row="1" column="2"> <widget class="QPushButton" name="leftIndicatorBtn"> <property name="acceptDrops"> <bool>false</bool> @@ -452,27 +418,36 @@ QLCDNumber { </property> </widget> </item> - <item row="1" column="2"> - <widget class="QPushButton" name="hazardBtn"> - <property name="text"> - <string/> + <item row="0" column="1" rowspan="2"> + <spacer name="horizontalSpacer_3"> + <property name="orientation"> + <enum>Qt::Horizontal</enum> </property> - <property name="icon"> - <iconset resource="../assets/res.qrc"> - <normaloff>:/Images/Images/hazard.png</normaloff>:/Images/Images/hazard.png</iconset> + <property name="sizeHint" stdset="0"> + <size> + <width>40</width> + <height>20</height> + </size> </property> - <property name="iconSize"> + </spacer> + </item> + <item row="0" column="4" rowspan="2"> + <spacer name="horizontalSpacer_4"> + <property name="orientation"> + <enum>Qt::Horizontal</enum> + </property> + <property name="sizeHint" stdset="0"> <size> - <width>60</width> - <height>60</height> + <width>40</width> + <height>20</height> </size> </property> - </widget> + </spacer> </item> </layout> </widget> </item> - <item row="1" column="0" rowspan="4" colspan="2"> + <item row="1" column="0" rowspan="4" colspan="2" alignment="Qt::AlignHCenter"> <widget class="QFrame" name="coolant_gauge_frame"> <property name="sizePolicy"> <sizepolicy hsizetype="Expanding" vsizetype="Expanding"> @@ -499,7 +474,7 @@ QLCDNumber { <property name="bottomMargin"> <number>4</number> </property> - <item row="1" column="1"> + <item row="1" column="1" alignment="Qt::AlignHCenter"> <widget class="QSlider" name="coolantTemp_slider"> <property name="sizePolicy"> <sizepolicy hsizetype="Expanding" vsizetype="Expanding"> @@ -513,24 +488,23 @@ QLCDNumber { <height>0</height> </size> </property> + <property name="layoutDirection"> + <enum>Qt::LeftToRight</enum> + </property> <property name="orientation"> <enum>Qt::Vertical</enum> </property> - </widget> - </item> - <item row="1" column="0"> - <widget class="QLabel" name="label_2"> - <property name="sizePolicy"> - <sizepolicy hsizetype="Expanding" vsizetype="Expanding"> - <horstretch>0</horstretch> - <verstretch>0</verstretch> - </sizepolicy> + <property name="invertedAppearance"> + <bool>false</bool> </property> - <property name="text"> - <string/> + <property name="invertedControls"> + <bool>false</bool> + </property> + <property name="tickPosition"> + <enum>QSlider::NoTicks</enum> </property> - <property name="pixmap"> - <pixmap resource="../assets/res.qrc">:/Carbon_Icons/carbon_icons/temperature--water.svg</pixmap> + <property name="tickInterval"> + <number>0</number> </property> </widget> </item> @@ -553,7 +527,7 @@ QLCDNumber { </layout> </widget> </item> - <item row="1" column="6" rowspan="4" alignment="Qt::AlignRight"> + <item row="1" column="6" rowspan="4" alignment="Qt::AlignHCenter"> <widget class="QFrame" name="fuel_gauge_frame"> <property name="sizePolicy"> <sizepolicy hsizetype="Expanding" vsizetype="Expanding"> @@ -571,7 +545,7 @@ QLCDNumber { <property name="bottomMargin"> <number>4</number> </property> - <item row="1" column="0" alignment="Qt::AlignRight"> + <item row="1" column="0" alignment="Qt::AlignHCenter"> <widget class="QSlider" name="fuelLevel_slider"> <property name="sizePolicy"> <sizepolicy hsizetype="Expanding" vsizetype="Expanding"> @@ -590,6 +564,9 @@ QLCDNumber { <kerning>true</kerning> </font> </property> + <property name="autoFillBackground"> + <bool>false</bool> + </property> <property name="sliderPosition"> <number>0</number> </property> @@ -607,33 +584,6 @@ QLCDNumber { </property> </widget> </item> - <item row="1" column="1" alignment="Qt::AlignRight"> - <widget class="QLabel" name="label_3"> - <property name="sizePolicy"> - <sizepolicy hsizetype="Expanding" vsizetype="Expanding"> - <horstretch>0</horstretch> - <verstretch>0</verstretch> - </sizepolicy> - </property> - <property name="font"> - <font> - <pointsize>12</pointsize> - </font> - </property> - <property name="frameShape"> - <enum>QFrame::NoFrame</enum> - </property> - <property name="text"> - <string/> - </property> - <property name="pixmap"> - <pixmap resource="../assets/res.qrc">:/Carbon_Icons/carbon_icons/rain-drop.svg</pixmap> - </property> - <property name="scaledContents"> - <bool>false</bool> - </property> - </widget> - </item> <item row="0" column="0" colspan="2"> <widget class="QWidget" name="fuel_Gauge_Placeholder" native="true"> <property name="sizePolicy"> @@ -656,72 +606,7 @@ QLCDNumber { </layout> </widget> </item> - <item row="0" column="0"> - <widget class="QFrame" name="header_frame"> - <property name="minimumSize"> - <size> - <width>0</width> - <height>50</height> - </size> - </property> - <property name="frameShape"> - <enum>QFrame::StyledPanel</enum> - </property> - <property name="frameShadow"> - <enum>QFrame::Raised</enum> - </property> - <layout class="QHBoxLayout" name="horizontalLayout"> - <item> - <widget class="QFrame" name="frame_6"> - <property name="frameShape"> - <enum>QFrame::StyledPanel</enum> - </property> - <property name="frameShadow"> - <enum>QFrame::Raised</enum> - </property> - <layout class="QHBoxLayout" name="horizontalLayout_3"> - <item> - <spacer name="horizontalSpacer_6"> - <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> - </widget> - </item> - <item alignment="Qt::AlignRight"> - <widget class="QLabel" name="label_6"> - <property name="font"> - <font> - <pointsize>18</pointsize> - <weight>75</weight> - <italic>true</italic> - <bold>true</bold> - </font> - </property> - <property name="text"> - <string>Demo Mode</string> - </property> - </widget> - </item> - <item alignment="Qt::AlignRight"> - <widget class="QCheckBox" name="demoToggle"> - <property name="text"> - <string/> - </property> - </widget> - </item> - </layout> - </widget> - </item> - <item row="4" column="0" alignment="Qt::AlignBottom"> + <item row="4" column="0" colspan="2"> <widget class="QFrame" name="gearSelector"> <property name="minimumSize"> <size> @@ -741,6 +626,9 @@ QLCDNumber { <property name="orientation"> <enum>Qt::Horizontal</enum> </property> + <property name="sizeType"> + <enum>QSizePolicy::Expanding</enum> + </property> <property name="sizeHint" stdset="0"> <size> <width>167</width> @@ -911,6 +799,9 @@ QLCDNumber { <property name="orientation"> <enum>Qt::Horizontal</enum> </property> + <property name="sizeType"> + <enum>QSizePolicy::Expanding</enum> + </property> <property name="sizeHint" stdset="0"> <size> <width>168</width> @@ -922,6 +813,115 @@ QLCDNumber { </layout> </widget> </item> + <item row="0" column="0" colspan="2"> + <widget class="QFrame" name="header_frame"> + <property name="minimumSize"> + <size> + <width>0</width> + <height>50</height> + </size> + </property> + <property name="frameShape"> + <enum>QFrame::StyledPanel</enum> + </property> + <property name="frameShadow"> + <enum>QFrame::Raised</enum> + </property> + <layout class="QHBoxLayout" name="horizontalLayout"> + <item> + <widget class="QFrame" name="frame_6"> + <property name="frameShape"> + <enum>QFrame::StyledPanel</enum> + </property> + <property name="frameShadow"> + <enum>QFrame::Raised</enum> + </property> + <layout class="QHBoxLayout" name="horizontalLayout_3"> + <item> + <widget class="QPushButton" name="TirePressureBtn"> + <property name="sizePolicy"> + <sizepolicy hsizetype="Fixed" vsizetype="Fixed"> + <horstretch>0</horstretch> + <verstretch>0</verstretch> + </sizepolicy> + </property> + <property name="minimumSize"> + <size> + <width>50</width> + <height>50</height> + </size> + </property> + <property name="font"> + <font> + <family>Open Sans</family> + <pointsize>20</pointsize> + <weight>75</weight> + <italic>false</italic> + <bold>true</bold> + </font> + </property> + <property name="text"> + <string/> + </property> + <property name="icon"> + <iconset resource="../assets/res.qrc"> + <normaloff>:/Images/Images/tire-pressure.svg</normaloff>:/Images/Images/tire-pressure.svg</iconset> + </property> + <property name="iconSize"> + <size> + <width>50</width> + <height>50</height> + </size> + </property> + <property name="checkable"> + <bool>true</bool> + </property> + <property name="checked"> + <bool>false</bool> + </property> + </widget> + </item> + <item> + <spacer name="horizontalSpacer_6"> + <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> + </widget> + </item> + <item alignment="Qt::AlignRight"> + <widget class="QLabel" name="label_6"> + <property name="font"> + <font> + <pointsize>18</pointsize> + <weight>75</weight> + <italic>true</italic> + <bold>true</bold> + </font> + </property> + <property name="text"> + <string>Demo Mode</string> + </property> + </widget> + </item> + <item alignment="Qt::AlignRight"> + <widget class="QCheckBox" name="demoToggle"> + <property name="text"> + <string/> + </property> + </widget> + </item> + </layout> + </widget> + </item> </layout> </widget> </item> @@ -930,6 +930,14 @@ QLCDNumber { </item> </layout> </widget> + <customwidgets> + <customwidget> + <class>TirePressure</class> + <extends>QWidget</extends> + <header>Widgets/TirePressure</header> + <container>1</container> + </customwidget> + </customwidgets> <resources> <include location="../assets/res.qrc"/> </resources> diff --git a/ui/Settings_Window.ui b/ui/Settings_Window.ui index d59cae6..0043bb1 100644 --- a/ui/Settings_Window.ui +++ b/ui/Settings_Window.ui @@ -175,7 +175,7 @@ QCheckBox:indicator:disabled { <widget class="QLabel" name="label_12"> <property name="font"> <font> - <pointsize>14</pointsize> + <pointsize>18</pointsize> <weight>75</weight> <italic>true</italic> <bold>true</bold> @@ -190,7 +190,7 @@ QCheckBox:indicator:disabled { <widget class="QLabel" name="label"> <property name="font"> <font> - <pointsize>14</pointsize> + <pointsize>18</pointsize> </font> </property> <property name="toolTip"> @@ -205,7 +205,7 @@ QCheckBox:indicator:disabled { <widget class="QLabel" name="label_20"> <property name="font"> <font> - <pointsize>14</pointsize> + <pointsize>18</pointsize> </font> </property> <property name="text"> @@ -217,7 +217,7 @@ QCheckBox:indicator:disabled { <widget class="QLabel" name="label_11"> <property name="font"> <font> - <pointsize>14</pointsize> + <pointsize>18</pointsize> </font> </property> <property name="toolTip"> @@ -245,7 +245,7 @@ QCheckBox:indicator:disabled { <widget class="QLineEdit" name="CA_File"> <property name="font"> <font> - <pointsize>14</pointsize> + <pointsize>18</pointsize> </font> </property> </widget> @@ -254,7 +254,7 @@ QCheckBox:indicator:disabled { <widget class="QLineEdit" name="Auth_Token"> <property name="font"> <font> - <pointsize>14</pointsize> + <pointsize>18</pointsize> </font> </property> </widget> @@ -263,7 +263,7 @@ QCheckBox:indicator:disabled { <widget class="QLabel" name="label_16"> <property name="font"> <font> - <pointsize>14</pointsize> + <pointsize>18</pointsize> </font> </property> <property name="text"> @@ -275,7 +275,7 @@ QCheckBox:indicator:disabled { <widget class="QLabel" name="label_13"> <property name="font"> <font> - <pointsize>14</pointsize> + <pointsize>18</pointsize> <weight>75</weight> <italic>true</italic> <bold>true</bold> @@ -290,7 +290,7 @@ QCheckBox:indicator:disabled { <widget class="QLabel" name="label_21"> <property name="font"> <font> - <pointsize>14</pointsize> + <pointsize>18</pointsize> </font> </property> <property name="text"> @@ -302,7 +302,7 @@ QCheckBox:indicator:disabled { <widget class="QLineEdit" name="IPAddrInput"> <property name="font"> <font> - <pointsize>14</pointsize> + <pointsize>18</pointsize> </font> </property> <property name="placeholderText"> @@ -334,7 +334,7 @@ QCheckBox:indicator:disabled { <widget class="QLineEdit" name="PortInput"> <property name="font"> <font> - <pointsize>14</pointsize> + <pointsize>18</pointsize> </font> </property> </widget> @@ -343,7 +343,7 @@ QCheckBox:indicator:disabled { <widget class="QLabel" name="label_17"> <property name="font"> <font> - <pointsize>14</pointsize> + <pointsize>18</pointsize> </font> </property> <property name="text"> @@ -355,7 +355,7 @@ QCheckBox:indicator:disabled { <widget class="QLineEdit" name="TLS_Server_Name"> <property name="font"> <font> - <pointsize>14</pointsize> + <pointsize>18</pointsize> </font> </property> </widget> @@ -364,7 +364,7 @@ QCheckBox:indicator:disabled { <widget class="QLabel" name="IPAddr"> <property name="font"> <font> - <pointsize>14</pointsize> + <pointsize>18</pointsize> </font> </property> <property name="text"> @@ -426,7 +426,7 @@ QCheckBox:indicator:disabled { </property> <property name="font"> <font> - <pointsize>16</pointsize> + <pointsize>18</pointsize> <weight>75</weight> <italic>true</italic> <bold>true</bold> @@ -451,7 +451,7 @@ QCheckBox:indicator:disabled { <widget class="QPushButton" name="reconnectBtn"> <property name="font"> <font> - <pointsize>16</pointsize> + <pointsize>18</pointsize> <weight>75</weight> <italic>true</italic> <bold>true</bold> @@ -506,7 +506,7 @@ QCheckBox:indicator:disabled { <widget class="QLabel" name="status"> <property name="font"> <font> - <pointsize>14</pointsize> + <pointsize>18</pointsize> <weight>75</weight> <bold>true</bold> </font> @@ -558,7 +558,7 @@ QCheckBox:indicator:disabled { <widget class="QLabel" name="label_19"> <property name="font"> <font> - <pointsize>16</pointsize> + <pointsize>18</pointsize> <weight>75</weight> <italic>true</italic> <bold>true</bold> diff --git a/ui/TirePressure.ui b/ui/TirePressure.ui new file mode 100644 index 0000000..7387ff3 --- /dev/null +++ b/ui/TirePressure.ui @@ -0,0 +1,330 @@ +<?xml version="1.0" encoding="UTF-8"?> +<ui version="4.0"> + <class>HVAC</class> + <widget class="QWidget" name="HVAC"> + <property name="geometry"> + <rect> + <x>0</x> + <y>0</y> + <width>407</width> + <height>590</height> + </rect> + </property> + <property name="sizePolicy"> + <sizepolicy hsizetype="Preferred" vsizetype="Preferred"> + <horstretch>0</horstretch> + <verstretch>0</verstretch> + </sizepolicy> + </property> + <property name="windowTitle"> + <string>Form</string> + </property> + <property name="styleSheet"> + <string notr="true">*{ + border: none; + background-color: transparent; + background: none; + padding: 0; + margin: 0; + color: #fff; +} + +#scrollAreaWidgetContents{ + background-color: #131313 ; /* black */ +} + +#centralwidget{ + background-color: #131313 ; /* black */ +} + +#centralwidget QPushButton{ + background-color: #6C6C85 ; /* pastel purple */ + padding: 5px 10px; + border-radius: 10px; +} + +#centralwidget QPushButton:pressed { + background-color: #4BD7D6 ; /* light blue */ +} + +#centralwidget QSlider::groove:horizontal { + border: 1px solid #6C6C85 ; /* pastel purple */ + height: 15px; + border-radius: 8px; +} + +#centralwidget QSlider::sub-page:horizontal { + background-color: #4BD7D6 ; /* light blue */ + height: 15px; + border-radius: 5px; +} + +#centralwidget QSlider::handle:horizontal { + background: qlineargradient(x1:0, y1:0, x2:1, y2:1, + stop:0 #eee, stop:1 #ccc); + border: 1px solid #777; + width: 20px; + margin-top: -2px; + margin-bottom: -2px; + border-radius: 8px; +} + +QSlider::sub-page:vertical { + background-color: #131313 ; /* black */ + height: 20px; + width: 28px; + margin: 2px; + border: 1px solid #6C6C85 ; /* pastel purple */ + border-radius: 8px; +} + +QSlider::groove:vertical { + border-radius: 8px; + width: 28px; + margin: 2px; + border: 1px solid #6C6C85 ; /* pastel purple */ + background-color: #4BD7D6 ; /* light blue */ +} +QSlider::groove:vertical:hover { + background-color: rgb(55, 62, 76); +} +QSlider::handle:vertical { + background-color: #d5d5d5; + height: 15px; + width: 20px; + border-radius: 5px; +} +QSlider::handle:vertical:hover { + background-color: #6C6C85 ; /* pastel purple */ +} +QSlider::handle:vertical:pressed { + background-color: #4BD7D6 ; /* light blue */ +} + + +QScrollBar:horizontal { + min-width: 240px; + height: 13px; + } + + QScrollBar:vertical { + min-height: 240px; + width: 13px; + } + + QScrollBar::groove { + background: 2A2827; /* dark grey */ + border-radius: 5px; + } + + QScrollBar::handle { + background: #4BD7D6 ; /* light blue */ + border-radius: 5px; + } + + QScrollBar::handle:horizontal { + width: 25px; + } + + QScrollBar::handle:vertical { + height: 25px; scrollAreaWidgetContents + } + +#leftControls{ + background: #041F2B ; /* dark blue */ + border-radius: 10px; +} + +#rightControls{ + background: #041F2B ; /* dark blue */ + border-radius: 10px; +} + + +/*============================================*/ + +QListWidget { + min-height: 150px; + max-height: 150px; + background-color: #131313 ; /* black */ + border: 1px solid #6C6C85 ; /* pastel purple */ + border-radius: 8px; +} + +QListWidget::item { + height: 50px; + width: 50px; + border-radius: 8px; + text-align: center; +} + +QListWidget::item:selected { + background-color: #4BD7D6 ; /* light blue */ + border-radius: 8px; +} + +QListWidget::item:selected:!active { + border-width: 0px; +} + +QListWidget::item:selected:active { + background-color: #4BD7D6 ; /* light blue */ +} + +QListWidget::item:selected:!focus { + color: black; + border-width: 0px; +} + +QListWidget::item:focus { + background-color: #6C6C85 ; /* pastel purple */ +} + +QListWidget::item:hover { + background-color: #6C6C85 ; /* pastel purple */ +} + +</string> + </property> + <layout class="QVBoxLayout" name="verticalLayout"> + <item> + <widget class="QFrame" name="centralwidget"> + <property name="frameShape"> + <enum>QFrame::NoFrame</enum> + </property> + <layout class="QHBoxLayout" name="horizontalLayout"> + <item> + <widget class="QFrame" name="frame_2"> + <property name="frameShape"> + <enum>QFrame::StyledPanel</enum> + </property> + <property name="frameShadow"> + <enum>QFrame::Raised</enum> + </property> + <layout class="QGridLayout" name="gridLayout_2"> + <item row="1" column="0"> + <widget class="QFrame" name="frame"> + <property name="minimumSize"> + <size> + <width>0</width> + <height>0</height> + </size> + </property> + <property name="frameShape"> + <enum>QFrame::NoFrame</enum> + </property> + <layout class="QGridLayout" name="gridLayout"> + <item row="1" column="0" alignment="Qt::AlignBottom"> + <widget class="QFrame" name="frame_3"> + <property name="frameShape"> + <enum>QFrame::StyledPanel</enum> + </property> + <property name="frameShadow"> + <enum>QFrame::Raised</enum> + </property> + <layout class="QHBoxLayout" name="horizontalLayout_2"> + <item> + <widget class="QPushButton" name="TPDecreaseBtn"> + <property name="text"> + <string/> + </property> + <property name="icon"> + <iconset resource="../assets/res.qrc"> + <normaloff>:/Carbon_Icons/carbon_icons/subtract--alt.svg</normaloff>:/Carbon_Icons/carbon_icons/subtract--alt.svg</iconset> + </property> + <property name="iconSize"> + <size> + <width>50</width> + <height>50</height> + </size> + </property> + </widget> + </item> + <item> + <widget class="QLCDNumber" name="LCD"> + <property name="autoFillBackground"> + <bool>false</bool> + </property> + <property name="lineWidth"> + <number>1</number> + </property> + <property name="smallDecimalPoint"> + <bool>false</bool> + </property> + <property name="digitCount"> + <number>2</number> + </property> + <property name="segmentStyle"> + <enum>QLCDNumber::Flat</enum> + </property> + </widget> + </item> + <item> + <widget class="QLabel" name="TPUnit"> + <property name="text"> + <string><html><head/><body><p><span style=" font-size:18pt;">lbp</span></p></body></html></string> + </property> + <property name="scaledContents"> + <bool>true</bool> + </property> + <property name="alignment"> + <set>Qt::AlignBottom|Qt::AlignLeading|Qt::AlignLeft</set> + </property> + </widget> + </item> + <item> + <widget class="QPushButton" name="TPIncreaseBtn"> + <property name="text"> + <string/> + </property> + <property name="icon"> + <iconset resource="../assets/res.qrc"> + <normaloff>:/Carbon_Icons/carbon_icons/add--alt.svg</normaloff>:/Carbon_Icons/carbon_icons/add--alt.svg</iconset> + </property> + <property name="iconSize"> + <size> + <width>50</width> + <height>50</height> + </size> + </property> + </widget> + </item> + </layout> + </widget> + </item> + <item row="0" column="0"> + <widget class="QWidget" name="TS_Placeholher" native="true"> + <property name="sizePolicy"> + <sizepolicy hsizetype="Expanding" vsizetype="Expanding"> + <horstretch>0</horstretch> + <verstretch>0</verstretch> + </sizepolicy> + </property> + </widget> + </item> + </layout> + </widget> + </item> + <item row="0" column="0" alignment="Qt::AlignHCenter"> + <widget class="QLabel" name="label_2"> + <property name="text"> + <string><html><head/><body><p><span style=" font-size:18pt; font-weight:600; font-style:italic;">Tire Pressure</span></p></body></html></string> + </property> + <property name="scaledContents"> + <bool>true</bool> + </property> + </widget> + </item> + </layout> + </widget> + </item> + </layout> + </widget> + </item> + </layout> + </widget> + <resources> + <include location="../assets/res.qrc"/> + </resources> + <connections/> +</ui> |