diff options
Diffstat (limited to 'ui/Settings_Window.ui')
-rw-r--r-- | ui/Settings_Window.ui | 669 |
1 files changed, 379 insertions, 290 deletions
diff --git a/ui/Settings_Window.ui b/ui/Settings_Window.ui index 2ff53d8..ff73614 100644 --- a/ui/Settings_Window.ui +++ b/ui/Settings_Window.ui @@ -6,8 +6,8 @@ <rect> <x>0</x> <y>0</y> - <width>603</width> - <height>346</height> + <width>1105</width> + <height>631</height> </rect> </property> <property name="windowTitle"> @@ -44,103 +44,185 @@ QPushButton:pressed { padding: 5px 10px; border: 1px solid #4BD7D6 ; /* light blue */ border-radius: 10px; +} + +QCheckBox { + background-color: transparent; + color: white; +} + +QCheckBox::indicator:unchecked { + border: 2px solid white; + background-color: transparent; +} + +QCheckBox::indicator:checked { + background-color: #00ffff; /* Neon blue */ + border: 2px solid #00cccc; /* Darker neon blue */ +} + +QCheckBox:disabled { + color: #aaaaaa; /* Grayed out text color */ +} + +QCheckBox:indicator:disabled { + background-color: #cccccc; /* Grayed out background */ }</string> </property> <widget class="QWidget" name="centralwidget"> <layout class="QGridLayout" name="gridLayout"> - <item row="3" column="1" colspan="3"> - <widget class="QFrame" name="frame_3"> + <item row="1" column="3" rowspan="4"> + <spacer name="horizontalSpacer"> + <property name="orientation"> + <enum>Qt::Horizontal</enum> + </property> + <property name="sizeHint" stdset="0"> + <size> + <width>40</width> + <height>20</height> + </size> + </property> + </spacer> + </item> + <item row="1" column="1" colspan="2"> + <widget class="QFrame" name="frame_2"> + <property name="sizePolicy"> + <sizepolicy hsizetype="Preferred" vsizetype="Fixed"> + <horstretch>0</horstretch> + <verstretch>0</verstretch> + </sizepolicy> + </property> <property name="frameShape"> <enum>QFrame::StyledPanel</enum> </property> <property name="frameShadow"> <enum>QFrame::Raised</enum> </property> - <layout class="QGridLayout" name="gridLayout_2"> - <item row="10" column="4" colspan="2" alignment="Qt::AlignLeft"> - <widget class="QPushButton" name="pushButton_3"> + <layout class="QHBoxLayout" name="horizontalLayout_2"> + <item> + <widget class="QPushButton" name="startClientBtn"> <property name="text"> - <string/> + <string>Start client</string> </property> <property name="icon"> <iconset resource="../assets/res.qrc"> - <normaloff>:/icons/feather/eye.svg</normaloff>:/icons/feather/eye.svg</iconset> + <normaloff>:/Carbon_Icons/carbon_icons/play.svg</normaloff>:/Carbon_Icons/carbon_icons/play.svg</iconset> </property> - </widget> - </item> - <item row="3" column="0" colspan="3"> - <widget class="QLabel" name="tokenPath"> - <property name="text"> - <string>JWT token Path *</string> + <property name="iconSize"> + <size> + <width>30</width> + <height>30</height> + </size> </property> </widget> </item> - <item row="9" column="4" colspan="2" alignment="Qt::AlignLeft"> - <widget class="QPushButton" name="pushButton_2"> + <item> + <widget class="QPushButton" name="reconnectBtn"> <property name="text"> - <string/> + <string>Reconnect</string> </property> <property name="icon"> <iconset resource="../assets/res.qrc"> - <normaloff>:/icons/feather/eye.svg</normaloff>:/icons/feather/eye.svg</iconset> + <normaloff>:/Carbon_Icons/carbon_icons/renew.svg</normaloff>:/Carbon_Icons/carbon_icons/renew.svg</iconset> </property> - </widget> - </item> - <item row="6" column="0" colspan="6" alignment="Qt::AlignHCenter"> - <widget class="QLabel" name="label_2"> - <property name="text"> - <string>Page Settings</string> + <property name="iconSize"> + <size> + <width>30</width> + <height>30</height> + </size> </property> </widget> </item> - <item row="1" column="4"> - <widget class="QLabel" name="connectionLogo"> - <property name="text"> - <string/> + <item> + <widget class="QPushButton" name="refreshBtn"> + <property name="enabled"> + <bool>true</bool> </property> - <property name="pixmap"> - <pixmap resource="../assets/res.qrc">:/icons/feather/alert-triangle.svg</pixmap> + <property name="font"> + <font> + <weight>50</weight> + <bold>false</bold> + </font> </property> - </widget> - </item> - <item row="3" column="4" colspan="2"> - <widget class="QLineEdit" name="tokenPathInput"> - <property name="placeholderText"> - <string>/Path/To/Token</string> - </property> - </widget> - </item> - <item row="1" column="0" colspan="3"> - <widget class="QLabel" name="status"> <property name="text"> - <string>Status</string> + <string>Refresh Status</string> + </property> + <property name="iconSize"> + <size> + <width>30</width> + <height>30</height> + </size> </property> </widget> </item> - <item row="2" column="0" colspan="3"> - <widget class="QLabel" name="IPAddr"> + </layout> + </widget> + </item> + <item row="4" column="1" colspan="2"> + <spacer name="verticalSpacer"> + <property name="orientation"> + <enum>Qt::Vertical</enum> + </property> + <property name="sizeType"> + <enum>QSizePolicy::Expanding</enum> + </property> + <property name="sizeHint" stdset="0"> + <size> + <width>20</width> + <height>40</height> + </size> + </property> + </spacer> + </item> + <item row="1" column="0" rowspan="4"> + <spacer name="horizontalSpacer_2"> + <property name="orientation"> + <enum>Qt::Horizontal</enum> + </property> + <property name="sizeHint" stdset="0"> + <size> + <width>40</width> + <height>20</height> + </size> + </property> + </spacer> + </item> + <item row="3" column="1" colspan="2"> + <widget class="QFrame" name="frame_3"> + <property name="frameShape"> + <enum>QFrame::StyledPanel</enum> + </property> + <property name="frameShadow"> + <enum>QFrame::Raised</enum> + </property> + <layout class="QGridLayout" name="gridLayout_2"> + <item row="4" column="6" colspan="2"> + <widget class="QCheckBox" name="place_holder_toggle_1"> <property name="text"> - <string>IP Address *</string> + <string/> + </property> + <property name="checked"> + <bool>false</bool> </property> </widget> </item> - <item row="1" column="3" rowspan="4"> - <spacer name="horizontalSpacer_3"> + <item row="0" column="1" colspan="8"> + <spacer name="verticalSpacer_2"> <property name="orientation"> - <enum>Qt::Horizontal</enum> + <enum>Qt::Vertical</enum> </property> <property name="sizeType"> - <enum>QSizePolicy::Fixed</enum> + <enum>QSizePolicy::Maximum</enum> </property> <property name="sizeHint" stdset="0"> <size> <width>20</width> - <height>20</height> + <height>40</height> </size> </property> </spacer> </item> - <item row="1" column="5"> + <item row="1" column="7" colspan="4"> <widget class="QLabel" name="connectionStatus"> <property name="sizePolicy"> <sizepolicy hsizetype="Expanding" vsizetype="Preferred"> @@ -153,50 +235,171 @@ QPushButton:pressed { </property> </widget> </item> - <item row="5" column="2" colspan="4"> - <widget class="Line" name="line"> - <property name="orientation"> - <enum>Qt::Horizontal</enum> + <item row="8" column="2" rowspan="3"> + <widget class="QFrame" name="PageLabels"> + <property name="frameShape"> + <enum>QFrame::StyledPanel</enum> + </property> + <property name="frameShadow"> + <enum>QFrame::Raised</enum> </property> + <layout class="QVBoxLayout" name="verticalLayout_2"> + <property name="spacing"> + <number>0</number> + </property> + <property name="leftMargin"> + <number>0</number> + </property> + <property name="topMargin"> + <number>0</number> + </property> + <property name="rightMargin"> + <number>0</number> + </property> + <property name="bottomMargin"> + <number>0</number> + </property> + <item> + <widget class="QLabel" name="label_3"> + <property name="text"> + <string>Instrument Cluster</string> + </property> + </widget> + </item> + <item> + <widget class="QLabel" name="label_4"> + <property name="text"> + <string>HVAC</string> + </property> + </widget> + </item> + <item> + <widget class="QLabel" name="label_5"> + <property name="text"> + <string>Steering Controls</string> + </property> + </widget> + </item> + </layout> </widget> </item> - <item row="2" column="4" colspan="2"> - <widget class="QLineEdit" name="IPAddrInput"> - <property name="placeholderText"> - <string>Default: localhost</string> + <item row="2" column="0" colspan="4"> + <widget class="QLabel" name="IPAddr"> + <property name="text"> + <string>IP Address *</string> </property> </widget> </item> - <item row="4" column="4" colspan="2"> - <widget class="QCheckBox" name="SSLToggle"> + <item row="10" column="9"> + <widget class="QCheckBox" name="place_holder_toggle_2"> + <property name="text"> + <string/> + </property> + </widget> + </item> + <item row="8" column="0"> + <widget class="QLabel" name="label_6"> + <property name="sizePolicy"> + <sizepolicy hsizetype="Fixed" vsizetype="Ignored"> + <horstretch>0</horstretch> + <verstretch>0</verstretch> + </sizepolicy> + </property> + <property name="maximumSize"> + <size> + <width>25</width> + <height>25</height> + </size> + </property> + <property name="text"> + <string/> + </property> + <property name="pixmap"> + <pixmap resource="../assets/res.qrc">:/Carbon_Icons/carbon_icons/meter.svg</pixmap> + </property> + <property name="scaledContents"> + <bool>true</bool> + </property> + </widget> + </item> + <item row="10" column="6" colspan="2" alignment="Qt::AlignLeft"> + <widget class="QPushButton" name="pushButton_3"> <property name="text"> <string/> </property> <property name="icon"> <iconset resource="../assets/res.qrc"> - <normaloff>:/icons/feather/shield.svg</normaloff> - <normalon>:/icons/feather/shield-off.svg</normalon>:/icons/feather/shield.svg</iconset> + <normaloff>:/Carbon_Icons/carbon_icons/view.svg</normaloff>:/Carbon_Icons/carbon_icons/view.svg</iconset> </property> - <property name="checked"> - <bool>false</bool> + <property name="iconSize"> + <size> + <width>30</width> + <height>30</height> + </size> + </property> + </widget> + </item> + <item row="3" column="0" colspan="4"> + <widget class="QLabel" name="tokenPath"> + <property name="text"> + <string>JWT token Path *</string> </property> </widget> </item> - <item row="4" column="0" colspan="3"> + <item row="10" column="0"> + <widget class="QLabel" name="label_8"> + <property name="sizePolicy"> + <sizepolicy hsizetype="Fixed" vsizetype="Fixed"> + <horstretch>0</horstretch> + <verstretch>0</verstretch> + </sizepolicy> + </property> + <property name="maximumSize"> + <size> + <width>25</width> + <height>25</height> + </size> + </property> + <property name="text"> + <string/> + </property> + <property name="pixmap"> + <pixmap resource="../assets/res.qrc">:/Images/Images/steering-wheel.svg</pixmap> + </property> + <property name="scaledContents"> + <bool>true</bool> + </property> + </widget> + </item> + <item row="5" column="0" colspan="3"> + <widget class="QLabel" name="label_11"> + <property name="text"> + <string>CA</string> + </property> + </widget> + </item> + <item row="4" column="0" colspan="4"> <widget class="QLabel" name="label"> <property name="text"> <string>Insecure Mode</string> </property> </widget> </item> - <item row="0" column="2" colspan="4"> - <spacer name="verticalSpacer_2"> + <item row="4" column="5"> + <widget class="QLabel" name="label_9"> + <property name="text"> + <string/> + </property> + <property name="pixmap"> + <pixmap resource="../assets/res.qrc">:/Carbon_Icons/carbon_icons/security-services.svg</pixmap> + </property> + </widget> + </item> + <item row="6" column="1" colspan="7"> + <spacer name="verticalSpacer_4"> <property name="orientation"> <enum>Qt::Vertical</enum> </property> - <property name="sizeType"> - <enum>QSizePolicy::Maximum</enum> - </property> <property name="sizeHint" stdset="0"> <size> <width>20</width> @@ -205,18 +408,21 @@ QPushButton:pressed { </property> </spacer> </item> - <item row="7" column="4" colspan="2" alignment="Qt::AlignLeft"> - <widget class="QPushButton" name="pushButton"> + <item row="5" column="9" colspan="2"> + <widget class="QToolButton" name="toolButton"> <property name="text"> - <string/> + <string>...</string> </property> - <property name="icon"> - <iconset resource="../assets/res.qrc"> - <normaloff>:/icons/feather/eye.svg</normaloff>:/icons/feather/eye.svg</iconset> + </widget> + </item> + <item row="7" column="0" colspan="11"> + <widget class="QLabel" name="label_2"> + <property name="text"> + <string>Page Settings</string> </property> </widget> </item> - <item row="7" column="0" rowspan="4"> + <item row="8" column="1" rowspan="3"> <widget class="QFrame" name="PageIcons"> <property name="frameShape"> <enum>QFrame::StyledPanel</enum> @@ -240,229 +446,126 @@ QPushButton:pressed { <property name="bottomMargin"> <number>0</number> </property> - <item> - <widget class="QLabel" name="label_6"> - <property name="sizePolicy"> - <sizepolicy hsizetype="Fixed" vsizetype="Ignored"> - <horstretch>0</horstretch> - <verstretch>0</verstretch> - </sizepolicy> - </property> - <property name="maximumSize"> - <size> - <width>25</width> - <height>25</height> - </size> - </property> - <property name="text"> - <string/> - </property> - <property name="pixmap"> - <pixmap resource="../assets/res.qrc">:/Images/Images/IC.svg</pixmap> - </property> - <property name="scaledContents"> - <bool>true</bool> - </property> - </widget> - </item> - <item> - <widget class="QLabel" name="label_7"> - <property name="sizePolicy"> - <sizepolicy hsizetype="Fixed" vsizetype="Fixed"> - <horstretch>0</horstretch> - <verstretch>0</verstretch> - </sizepolicy> - </property> - <property name="maximumSize"> - <size> - <width>25</width> - <height>25</height> - </size> - </property> - <property name="text"> - <string/> - </property> - <property name="pixmap"> - <pixmap resource="../assets/res.qrc">:/icons/feather/wind.svg</pixmap> - </property> - <property name="scaledContents"> - <bool>true</bool> - </property> - </widget> - </item> - <item> - <widget class="QLabel" name="label_8"> - <property name="sizePolicy"> - <sizepolicy hsizetype="Fixed" vsizetype="Fixed"> - <horstretch>0</horstretch> - <verstretch>0</verstretch> - </sizepolicy> - </property> - <property name="maximumSize"> - <size> - <width>25</width> - <height>25</height> - </size> - </property> - <property name="text"> - <string/> - </property> - <property name="pixmap"> - <pixmap resource="../assets/res.qrc">:/Images/Images/steering-wheel.svg</pixmap> - </property> - <property name="scaledContents"> - <bool>true</bool> - </property> - </widget> - </item> </layout> </widget> </item> - <item row="7" column="1" rowspan="4"> - <widget class="QFrame" name="PageLabels"> - <property name="frameShape"> - <enum>QFrame::StyledPanel</enum> + <item row="1" column="4" rowspan="4"> + <spacer name="horizontalSpacer_3"> + <property name="orientation"> + <enum>Qt::Horizontal</enum> </property> - <property name="frameShadow"> - <enum>QFrame::Raised</enum> + <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="9" column="0"> + <widget class="QLabel" name="label_7"> + <property name="sizePolicy"> + <sizepolicy hsizetype="Fixed" vsizetype="Fixed"> + <horstretch>0</horstretch> + <verstretch>0</verstretch> + </sizepolicy> + </property> + <property name="maximumSize"> + <size> + <width>25</width> + <height>25</height> + </size> + </property> + <property name="text"> + <string/> + </property> + <property name="pixmap"> + <pixmap resource="../assets/res.qrc">:/Carbon_Icons/carbon_icons/windy--strong.svg</pixmap> + </property> + <property name="scaledContents"> + <bool>true</bool> </property> - <layout class="QVBoxLayout" name="verticalLayout_2"> - <property name="spacing"> - <number>0</number> - </property> - <property name="leftMargin"> - <number>0</number> - </property> - <property name="topMargin"> - <number>0</number> - </property> - <property name="rightMargin"> - <number>0</number> - </property> - <property name="bottomMargin"> - <number>0</number> - </property> - <item> - <widget class="QLabel" name="label_3"> - <property name="text"> - <string>Instrument Cluster</string> - </property> - </widget> - </item> - <item> - <widget class="QLabel" name="label_4"> - <property name="text"> - <string>HVAC</string> - </property> - </widget> - </item> - <item> - <widget class="QLabel" name="label_5"> - <property name="text"> - <string>Steering Controls</string> - </property> - </widget> - </item> - </layout> </widget> </item> - </layout> - </widget> - </item> - <item row="1" column="4" rowspan="5"> - <spacer name="horizontalSpacer"> - <property name="orientation"> - <enum>Qt::Horizontal</enum> - </property> - <property name="sizeHint" stdset="0"> - <size> - <width>40</width> - <height>20</height> - </size> - </property> - </spacer> - </item> - <item row="1" column="1" colspan="3"> - <widget class="QFrame" name="frame_2"> - <property name="sizePolicy"> - <sizepolicy hsizetype="Preferred" vsizetype="Fixed"> - <horstretch>0</horstretch> - <verstretch>0</verstretch> - </sizepolicy> - </property> - <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="startClientBtn"> + <item row="10" column="8"> + <widget class="QLabel" name="label_10"> <property name="text"> - <string>Start client</string> + <string>CAN</string> </property> - <property name="icon"> - <iconset resource="../assets/res.qrc"> - <normaloff>:/icons/feather/play.svg</normaloff>:/icons/feather/play.svg</iconset> + </widget> + </item> + <item row="2" column="5" colspan="6"> + <widget class="QLineEdit" name="IPAddrInput"> + <property name="placeholderText"> + <string>Default: localhost</string> </property> </widget> </item> - <item> - <widget class="QPushButton" name="reconnectBtn"> + <item row="9" column="6" colspan="2" alignment="Qt::AlignLeft"> + <widget class="QPushButton" name="pushButton_2"> <property name="text"> - <string>Reconnect</string> + <string/> </property> <property name="icon"> <iconset resource="../assets/res.qrc"> - <normaloff>:/icons/feather/refresh-cw.svg</normaloff>:/icons/feather/refresh-cw.svg</iconset> + <normaloff>:/Carbon_Icons/carbon_icons/view.svg</normaloff>:/Carbon_Icons/carbon_icons/view.svg</iconset> + </property> + <property name="iconSize"> + <size> + <width>30</width> + <height>30</height> + </size> </property> </widget> </item> - <item> - <widget class="QPushButton" name="refreshBtn"> + <item row="1" column="5" colspan="2"> + <widget class="QLabel" name="connectionLogo"> <property name="text"> - <string>Refresh Status</string> + <string/> + </property> + </widget> + </item> + <item row="3" column="5" colspan="6"> + <widget class="QLineEdit" name="tokenPathInput"> + <property name="placeholderText"> + <string>/Path/To/Token</string> + </property> + </widget> + </item> + <item row="1" column="0" colspan="4"> + <widget class="QLabel" name="status"> + <property name="text"> + <string>Status</string> + </property> + </widget> + </item> + <item row="5" column="5" colspan="4"> + <widget class="QLineEdit" name="lineEdit"/> + </item> + <item row="8" column="6" colspan="2" alignment="Qt::AlignLeft"> + <widget class="QPushButton" name="pushButton"> + <property name="text"> + <string/> + </property> + <property name="icon"> + <iconset resource="../assets/res.qrc"> + <normaloff>:/Carbon_Icons/carbon_icons/view.svg</normaloff>:/Carbon_Icons/carbon_icons/view.svg</iconset> + </property> + <property name="iconSize"> + <size> + <width>30</width> + <height>30</height> + </size> </property> </widget> </item> </layout> </widget> </item> - <item row="5" column="1" colspan="3"> - <spacer name="verticalSpacer"> - <property name="orientation"> - <enum>Qt::Vertical</enum> - </property> - <property name="sizeType"> - <enum>QSizePolicy::Expanding</enum> - </property> - <property name="sizeHint" stdset="0"> - <size> - <width>20</width> - <height>40</height> - </size> - </property> - </spacer> - </item> - <item row="4" column="2" colspan="2"> - <widget class="QFrame" name="frame"> - <property name="sizePolicy"> - <sizepolicy hsizetype="Preferred" vsizetype="Maximum"> - <horstretch>0</horstretch> - <verstretch>0</verstretch> - </sizepolicy> - </property> - <property name="frameShape"> - <enum>QFrame::StyledPanel</enum> - </property> - <property name="frameShadow"> - <enum>QFrame::Raised</enum> - </property> - <layout class="QHBoxLayout" name="horizontalLayout"/> - </widget> - </item> - <item row="0" column="0" colspan="5"> + <item row="0" column="0" colspan="4"> <spacer name="verticalSpacer_3"> <property name="orientation"> <enum>Qt::Vertical</enum> @@ -475,25 +578,11 @@ QPushButton:pressed { </property> </spacer> </item> - <item row="1" column="0" rowspan="5"> - <spacer name="horizontalSpacer_2"> - <property name="orientation"> - <enum>Qt::Horizontal</enum> - </property> - <property name="sizeHint" stdset="0"> - <size> - <width>40</width> - <height>20</height> - </size> - </property> - </spacer> - </item> </layout> </widget> </widget> <resources> <include location="../assets/res.qrc"/> - <include location="../../../.designer/assets/res.qrc"/> </resources> <connections/> </ui> |