From db9f586a19fed7bcd04be3596fc30dc53f61b1db Mon Sep 17 00:00:00 2001 From: suchinton2001 Date: Sat, 22 Jul 2023 18:39:14 +0530 Subject: Upload progress on AGL demo control panel in one batch AGL Demo Control Panel is a PyQt5 application used to simulate CAN bus signals using Kuksa.val v1: Initial commit v2: Remove unused assets v3: Add Opensans fonts, remove un-used styles and add Lisences as attributions v4: - Remove Opensans fonts, default to Dejavu fonts - Replace feather icons with carbon icons. - Reusing AGL demo app assests for HVAC and Steering wheel inputs. v5: Remove assets/Images/Lisences.md attribution file Signed-off-by: suchinton2001 Change-Id: I1529495deff6fc27eacb92f7a29c4f71f8c8d5d9 --- ui/SteeringControls.ui | 648 +++++++++++++++++++++++++++++++++++++++++++++++++ 1 file changed, 648 insertions(+) create mode 100644 ui/SteeringControls.ui (limited to 'ui/SteeringControls.ui') diff --git a/ui/SteeringControls.ui b/ui/SteeringControls.ui new file mode 100644 index 0000000..af8ce7b --- /dev/null +++ b/ui/SteeringControls.ui @@ -0,0 +1,648 @@ + + + MainWindow + + + + 0 + 0 + 1388 + 711 + + + + MainWindow + + + *{ + border: none; + background-color: transparent; + background: none; + padding: 0; + margin: 0; + color: #fff; +} + +QPushButton { + background-color: #6C6C85 ; /* pastel purple */ + padding: 50px 50px; + border-radius: 20px; +} + +QPushButton:pressed { + background-color: #4BD7D6 ; /* light blue */ +} + +QPushButton:checked { + background-color: #965D62 ; /* red */ +} + +#LeftControls QPushButton { + background-color: #6C6C85 ; /* pastel purple */ + padding: 10px 10px; + border-radius: 10px; +} + +#LeftControls QPushButton:pressed { + background-color: #4BD7D6 ; /* light blue */ +} + +#LeftControls QPushButton:checked { + background-color: #965D62 ; /* red */ +} + +#RightControls QPushButton { + background-color: #6C6C85 ; /* pastel purple */ + padding: 10px 10px; + border-radius: 10px; +} + +#RightControls QPushButton:pressed { + background-color: #4BD7D6 ; /* light blue */ +} + +#RightControls QPushButton:checked { + background-color: #965D62 ; /* red */ +} + + + + + + + + 500 + 500 + + + + QFrame::StyledPanel + + + QFrame::Raised + + + + 0 + + + 0 + + + 0 + + + 0 + + + 0 + + + + + + 0 + 0 + + + + + + + + :/Images/Images/logo_agl.png:/Images/Images/logo_agl.png + + + + 200 + 250 + + + + + + + + + + + + 200 + 0 + + + + QFrame::StyledPanel + + + QFrame::Raised + + + + + + QFrame::StyledPanel + + + QFrame::Raised + + + + + + + 0 + 70 + + + + + 75 + true + true + + + + + + + CRUISE LIMIT + + + + + + + + 75 + true + true + + + + Qt::LeftToRight + + + + + + + :/Images/Images/cruise-distance.svg:/Images/Images/cruise-distance.svg + + + + 50 + 50 + + + + + + + + + + + QFrame::StyledPanel + + + QFrame::Raised + + + + + + + 75 + true + true + + + + SET + + + + :/icons/feather/minus.svg:/icons/feather/minus.svg + + + + 50 + 50 + + + + + + + + + 75 + true + true + + + + RES + + + + :/icons/feather/plus.svg:/icons/feather/plus.svg + + + + 50 + 50 + + + + + + + + + + + + :/Images/Images/cruise.png:/Images/Images/cruise.png + + + + 50 + 50 + + + + + + + + + 75 + true + true + + + + CANCEL + + + + :/icons/feather/x-square.svg:/icons/feather/x-square.svg + + + + 50 + 50 + + + + + + + + + + + Qt::Vertical + + + QSizePolicy::Fixed + + + + 20 + 40 + + + + + + + + + + + Qt::Horizontal + + + + 40 + 20 + + + + + + + + Qt::Vertical + + + + 20 + 40 + + + + + + + + Qt::Horizontal + + + + 40 + 20 + + + + + + + + QFrame::StyledPanel + + + QFrame::Raised + + + + + + + + + + :/icons/feather/phone-call.svg:/icons/feather/phone-call.svg + + + + 50 + 50 + + + + + + + + + + + + :/icons/feather/phone-missed.svg:/icons/feather/phone-missed.svg + + + + 50 + 50 + + + + + + + + + + + + :/Images/Images/voice.svg:/Images/Images/voice.svg + + + + 50 + 50 + + + + + + + + + + + + :/Images/Images/lane.png:/Images/Images/lane.png + + + + 50 + 50 + + + + + + + + + + + QFrame::StyledPanel + + + QFrame::Raised + + + + + + + 200 + 0 + + + + QFrame::StyledPanel + + + QFrame::Raised + + + + + + + + + + :/icons/feather/volume-2.svg:/icons/feather/volume-2.svg + + + + 50 + 50 + + + + + + + + + + + + :/icons/feather/skip-back.svg:/icons/feather/skip-back.svg + + + + 50 + 50 + + + + + + + + + 0 + 70 + + + + + 75 + true + true + + + + MODE + + + + 50 + 50 + + + + + + + + + + + + :/icons/feather/skip-forward.svg:/icons/feather/skip-forward.svg + + + + 50 + 50 + + + + + + + + + + + + :/icons/feather/volume-1.svg:/icons/feather/volume-1.svg + + + + 50 + 50 + + + + + + + + + + + Qt::Vertical + + + QSizePolicy::Fixed + + + + 20 + 40 + + + + + + + + QFrame::StyledPanel + + + QFrame::Raised + + + + + + + + + + :/icons/feather/info.svg:/icons/feather/info.svg + + + + 50 + 50 + + + + + + + + + + + + :/icons/feather/volume-x.svg:/icons/feather/volume-x.svg + + + + 50 + 50 + + + + + + + + + + + + + + Qt::Vertical + + + + 20 + 40 + + + + + + + + + + + + -- cgit 1.2.3-korg