itom
Loading...
Searching...
No Matches
CollapsibleGroupBoxPrivate Class Reference

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)
 

Member Data Documentation

◆ ForcingVisibility

bool CollapsibleGroupBoxPrivate::ForcingVisibility

We change the visibility of the children 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.

◆ IsStateCreated

bool CollapsibleGroupBoxPrivate::IsStateCreated

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


The documentation for this class was generated from the following file: