From b742c6d5b26c036addb2922e36d06dbea35c10f1 Mon Sep 17 00:00:00 2001 From: Suchinton Date: Sun, 2 Jun 2024 21:44:04 +0530 Subject: 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 V4: - Added new animated toggle button - Refactored ICPage and Settings to use new toggle - Updated Navigation Bar Animation to have Bounce effect using "OutBounce" QEasingCurve Bug-AGL: SPEC-5161 Change-Id: I44499bb5165d5794af7e9aae3407ffae1f7e1928 Signed-off-by: Suchinton --- extras/VehicleSimulator.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'extras/VehicleSimulator.py') diff --git a/extras/VehicleSimulator.py b/extras/VehicleSimulator.py index cf790d2..da4bd9e 100644 --- a/extras/VehicleSimulator.py +++ b/extras/VehicleSimulator.py @@ -8,7 +8,7 @@ import math import random import time import threading -from PyQt5.QtCore import QObject, pyqtSignal +from PyQt6.QtCore import QObject, pyqtSignal from extras.KuksaClient import KuksaClient class VehicleSimulator(QObject): -- cgit 1.2.3-korg