From 054222a7af6292620f59a73b57e3f1c3038bb494 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Jean-S=C3=A9bastien=20Gosselin?= Date: Tue, 3 Dec 2024 12:10:57 -0500 Subject: [PATCH 1/3] Add system_info option --- qtapputils/widgets/about.py | 13 ++++++++----- 1 file changed, 8 insertions(+), 5 deletions(-) diff --git a/qtapputils/widgets/about.py b/qtapputils/widgets/about.py index 5a34c72..865171a 100644 --- a/qtapputils/widgets/about.py +++ b/qtapputils/widgets/about.py @@ -27,6 +27,7 @@ def __init__(self, icon: QIcon, title: str, appname: str, website_url: str, banner_fpath: str, + system_info: str = None, license_fpath: str = None, parent: QWidget = None, ): @@ -42,7 +43,7 @@ def __init__(self, icon: QIcon, title: str, font_family = font.family() font_size = font.pointSize() - self.label = QLabel(( + text = ( """