From 9abea0048498a23b34cee63e938f31d7d4ea0797 Mon Sep 17 00:00:00 2001 From: Alfredo Monclus Date: Tue, 4 Mar 2025 21:48:42 -0300 Subject: [PATCH] refactor: qsint fix clazy property without notify --- src/Gui/QSint/actionpanel/actiongroup.h | 12 +++++++++--- 1 file changed, 9 insertions(+), 3 deletions(-) diff --git a/src/Gui/QSint/actionpanel/actiongroup.h b/src/Gui/QSint/actionpanel/actiongroup.h index 518006a9e0..3aa9551852 100644 --- a/src/Gui/QSint/actionpanel/actiongroup.h +++ b/src/Gui/QSint/actionpanel/actiongroup.h @@ -30,9 +30,15 @@ class QSINT_EXPORT ActionGroup : public QWidget { Q_OBJECT - Q_PROPERTY(bool expandable READ isExpandable WRITE setExpandable) - Q_PROPERTY(bool header READ hasHeader WRITE setHeader) - Q_PROPERTY(QString headerText READ headerText WRITE setHeaderText) + Q_PROPERTY(bool expandable READ isExpandable WRITE setExpandable NOTIFY expandableChanged) + Q_PROPERTY(bool header READ hasHeader WRITE setHeader NOTIFY headerChanged) + Q_PROPERTY(QString headerText READ headerText WRITE setHeaderText NOTIFY headerTextChanged) + +Q_SIGNALS: + void expandableChanged(); + void headerChanged(); + void headerTextChanged(); + public: /**