#include <ImFusion/GUI/ExpandableWidget.h>
This class is a container widget that can expand and collapse another widget.
More...
This class is a container widget that can expand and collapse another widget.
The ExpandableWidget consists of a title widget and a body widget below
|
|
virtual QWidget * | header ()=0 |
| | Returns the header of the widget, which will remain visible when collapsed.
|
| |
|
virtual QWidget * | body ()=0 |
| | Returns the body of the widget, which will be collapsed.
|
| |
|
void | setCollapsible (bool collapsible) |
| | Sets if widget is collapsible.
|
| |
|
bool | isCollapsible () |
| | Returns if widget is collapsible.
|
| |
|
bool | isExpanded () const |
| |
|
void | expand () |
| | Expands the body.
|
| |
|
void | collapse () |
| | Collapses the body.
|
| |
|
void | setExpanded (bool expanded) |
| | Expands or collapses the body (default: expanded)
|
| |
|
|
Signal< bool > | expansionChanged |
| |
|
|
bool | m_expanded = true |
| |
|
bool | m_collapsible = true |
| |
The documentation for this class was generated from the following file:
- ImFusion/GUI/ExpandableWidget.h