itom 2.2.0
|
Public Member Functions | |
CollapsibleGroupBoxPrivate (CollapsibleGroupBox &object) | |
void | init () |
void | setChildVisibility (QWidget *childWidget) |
Public Attributes | |
QSize | OldSize |
Size of the widget for collapsing. | |
int | MaxHeight |
Maximum allowed height. | |
int | CollapsedHeight |
bool | ForcingVisibility |
bool | IsStateCreated |
Protected Attributes | |
CollapsibleGroupBox *const | q_ptr |
Private Member Functions | |
Q_DECLARE_PUBLIC (CollapsibleGroupBox) |
We change the visibility of the chidren in setChildrenVisibility and we track when the visibility is changed to force it back to possibly force the child to be hidden. To prevent infinite loop we need to know who is changing children's visibility.
Sometimes the creation of the widget is not done inside setVisible, as we need to do special processing the first time the groupBox is setVisible, we track its created state with the variable