Port AGL Demo Control Panel to Qt6 69/29969/3
authorSuchinton <suchinton.2001@gmail.com>
Sun, 2 Jun 2024 16:14:04 +0000 (21:44 +0530)
committerSuchinton <suchinton.2001@gmail.com>
Sun, 9 Jun 2024 13:35:09 +0000 (19:05 +0530)
commit3f78eac37beca55769d468d888f2fc922ad4d37c
tree9a46a5f76e7f74e4a010bae26fb9036e1c81ac79
parent31573c88e0ddefc3591bb7752b306601554ebbf2
Port AGL Demo Control Panel to Qt6

This commit includes the following changes:
V1:
    - Migrated from PyQt5 to PyQt6/PySide6 with minor syntax adjustments.
    - Removed the dependency on qtwidgets and extracted only the required animated toggle module, patching it to work with PyQt6.
    - Updated the README to include new steps for compiling resources.
    - Bumped QtPy from version 2.3.1 to 2.4.1

V2:
    - Refactored set_icon function in Dashboard module to make use of QIcon directly
      instead of using the QtSvg library (Invalid in PyQt6)
    - Syntax changes in UI_Handeler to use PyQt6

V3:
    - Update gitignore
    - Remove dependency on qtpy

Bug-AGL: SPEC-5161

Change-Id: I44499bb5165d5794af7e9aae3407ffae1f7e1928
Signed-off-by: Suchinton <suchinton.2001@gmail.com>
14 files changed:
.gitignore
Main_Window.ui
README.md
Widgets/Dashboard.py
Widgets/HVACPage.py
Widgets/ICPage.py
Widgets/SteeringCtrlPage.py
Widgets/animatedToggle.py [new file with mode: 0644]
Widgets/settings.py
extras/KuksaClient.py
extras/UI_Handeler.py
extras/VehicleSimulator.py
main.py
requirements.txt