You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: python/gui/qgscollapsiblegroupbox.sip
+2Lines changed: 2 additions & 0 deletions
Original file line number
Diff line number
Diff line change
@@ -4,6 +4,7 @@
4
4
* A groupbox that collapses/expands when toggled.
5
5
* Basic class QgsCollapsibleGroupBoxBasic does not auto-save collapsed or checked state
6
6
* Holding Alt modifier key when toggling collapsed state will synchronize the toggling across other collapsible group boxes with the same syncGroup QString value
7
+
* Holding Shift modifier key when attempting to toggle collapsed state will expand current group box, then collapse any others with the same syncGroup QString value
7
8
* @note To add Collapsible properties in promoted QtDesigner widgets, you can add the following "Dynamic properties" by clicking on the green + in the propreties palette:
8
9
* bool collapsed, QString syncGroup
9
10
*/
@@ -51,6 +52,7 @@ class QgsCollapsibleGroupBoxBasic : QGroupBox
51
52
* A groupbox that collapses/expands when toggled and can save its collapsed and checked states.
52
53
* By default, it auto-saves only its collapsed state to the global settings based on the widget and it's parent names.
53
54
* Holding Alt modifier key when toggling collapsed state will synchronize the toggling across other collapsible group boxes with the same syncGroup QString value
55
+
* Holding Shift modifier key when attempting to toggle collapsed state will expand current group box, then collapse any others with the same syncGroup QString value
54
56
* @see basic class QgsCollapsibleGroupBoxBasic which does not auto-save states
55
57
* @note To add Collapsible properties in promoted QtDesigner widgets, you can add the following "Dynamic properties" by clicking on the green + in the propreties palette:
* Basic class QgsCollapsibleGroupBoxBasic does not auto-save collapsed or checked state
60
65
* Holding Alt modifier key when toggling collapsed state will synchronize the toggling across other collapsible group boxes with the same syncGroup QString value
66
+
* Holding Shift modifier key when attempting to toggle collapsed state will expand current group box, then collapse any others with the same syncGroup QString value
61
67
* @note To add Collapsible properties in promoted QtDesigner widgets, you can add the following "Dynamic properties" by clicking on the green + in the propreties palette:
62
68
* bool collapsed, QString syncGroup
63
69
*/
@@ -101,6 +107,7 @@ class GUI_EXPORT QgsCollapsibleGroupBoxBasic : public QGroupBox
101
107
102
108
voidupdateStyle();
103
109
QRect titleRect() const;
110
+
voidclearModifiers();
104
111
105
112
boolmCollapsed;
106
113
boolmInitFlat;
@@ -112,6 +119,7 @@ class GUI_EXPORT QgsCollapsibleGroupBoxBasic : public QGroupBox
112
119
QWidget* mSyncParent;
113
120
QString mSyncGroup;
114
121
boolmAltDown;
122
+
boolmShiftDown;
115
123
boolmTitleClicked;
116
124
117
125
static QIcon mCollapseIcon;
@@ -123,6 +131,7 @@ class GUI_EXPORT QgsCollapsibleGroupBoxBasic : public QGroupBox
123
131
* A groupbox that collapses/expands when toggled and can save its collapsed and checked states.
124
132
* By default, it auto-saves only its collapsed state to the global settings based on the widget and it's parent names.
125
133
* Holding Alt modifier key when toggling collapsed state will synchronize the toggling across other collapsible group boxes with the same syncGroup QString value
134
+
* Holding Shift modifier key when attempting to toggle collapsed state will expand current group box, then collapse any others with the same syncGroup QString value
126
135
* @see basic class QgsCollapsibleGroupBoxBasic which does not auto-save states
127
136
* @note To add Collapsible properties in promoted QtDesigner widgets, you can add the following "Dynamic properties" by clicking on the green + in the propreties palette:
0 commit comments