From f3b468b0e595e8aba0bd20a4466709a04dc6e694 Mon Sep 17 00:00:00 2001 From: Ashraf-Khabar <95541956+Ashraf-Khabar@users.noreply.github.com> Date: Fri, 2 May 2025 01:48:28 +0200 Subject: [PATCH 1/4] UI/UX : adding new icons for sidbar --- widgets/sidebar.py | 11 ++++++++++- 1 file changed, 10 insertions(+), 1 deletion(-) diff --git a/widgets/sidebar.py b/widgets/sidebar.py index b837f53..45ca0ca 100644 --- a/widgets/sidebar.py +++ b/widgets/sidebar.py @@ -2,9 +2,11 @@ QSizePolicy, QSpacerItem, QLabel, QFrame, QHBoxLayout) from PyQt6.QtCore import Qt, pyqtSignal from PyQt6.QtGui import QIcon, QPixmap +from PyQt6.QtCore import QSize from utils.resource_utils import resource_path - + + class SideBar(QWidget): testSelectionClicked = pyqtSignal() dashboardClicked = pyqtSignal() @@ -44,12 +46,19 @@ def _setup_ui(self): layout.addLayout(logo_layout) # Main Navigation Section self.btn_dashboard = QPushButton(QIcon(resource_path("images/dashboard.png")), " Dashboard") + self.btn_dashboard.setIconSize(QSize(26, 26)) + self.btn_tests = QPushButton(QIcon(resource_path("images/Tests.png")), " Test Selection") + self.btn_tests.setIconSize(QSize(26, 26)) self.btn_analytics = QPushButton(QIcon(resource_path("images/analytics.png")), " Analytics") + self.btn_analytics.setIconSize(QSize(26, 26)) self.btn_settings = QPushButton(QIcon(resource_path("images/settings.png")), " Settings") + self.btn_settings.setIconSize(QSize(26, 26)) + self.btn_help = QPushButton(QIcon(resource_path("images/help.png")), " Help") + self.btn_help.setIconSize(QSize(26, 26)) # Add all buttons to layout layout.addWidget(self.btn_dashboard) From 0e55f663020ac00ef1e0e32aa0933be1806d42a8 Mon Sep 17 00:00:00 2001 From: Ashraf-Khabar <95541956+Ashraf-Khabar@users.noreply.github.com> Date: Fri, 2 May 2025 01:48:54 +0200 Subject: [PATCH 2/4] UI/UX : adding new icons for sidbar --- config.xml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/config.xml b/config.xml index 17a5995..52367b7 100644 --- a/config.xml +++ b/config.xml @@ -1,4 +1,4 @@ - v2.7.21 + v2.7.22 Configuration file for the application \ No newline at end of file From 1b9d6373f1e4812425a65b76c3479bebc57cef41 Mon Sep 17 00:00:00 2001 From: Ashraf-Khabar <95541956+Ashraf-Khabar@users.noreply.github.com> Date: Fri, 2 May 2025 02:56:36 +0200 Subject: [PATCH 3/4] UI/UX : adding new icons for sidbar --- ui/dashboard/dashboard_controller.py | 1 - 1 file changed, 1 deletion(-) diff --git a/ui/dashboard/dashboard_controller.py b/ui/dashboard/dashboard_controller.py index 96beaa7..f96ea4b 100644 --- a/ui/dashboard/dashboard_controller.py +++ b/ui/dashboard/dashboard_controller.py @@ -39,7 +39,6 @@ def _init_charts(self): # Configure axes self.bar_axis_x = QBarCategoryAxis() - self.bar_axis_x.setTitleText("Test Cases") self.bar_axis_x.setLabelsFont(QFont("Arial", 8)) self.bar_axis_x.setLabelsAngle(-45) From 80445412b47b7bd16ef8c595088d958b9407a913 Mon Sep 17 00:00:00 2001 From: Ashraf-Khabar <95541956+Ashraf-Khabar@users.noreply.github.com> Date: Fri, 2 May 2025 02:56:48 +0200 Subject: [PATCH 4/4] UI/UX : adding new icons for sidbar --- config.xml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/config.xml b/config.xml index 52367b7..5bf00f1 100644 --- a/config.xml +++ b/config.xml @@ -1,4 +1,4 @@ - v2.7.22 + v2.7.23 Configuration file for the application \ No newline at end of file