A QDockWidget which provides the possibility to collapse the dock.
More...
#include <MemoryX/gui-plugins/SceneEditor/gui/CollapsibleDockWidget.h>
A QDockWidget which provides the possibility to collapse the dock.
- See also
- QDockWidget
◆ CollapsibleDockWidget() [1/2]
Creates a new CollapsibleDockWidget.
This calls the constructor of the QDockWidget.
- Parameters
-
| title | The window title of the DockWidget. |
| parent | The parent QWidget. |
| The | flags to create the DockWidget with. |
- See also
- QDockWidget
◆ CollapsibleDockWidget() [2/2]
Creates a new CollapsibleDockWidget.
This calls the constructor of the QDockWidget.
- Parameters
-
| parent | The parent QWidget. |
| The | flags to create the DockWidget with. |
- See also
- QDockWidget
◆ isCollapsed()
Returns is the widget is collapsed.
- Returns
- The current state of the widdget.
◆ setCollapsed
| void setCollapsed |
( |
bool | collapsed | ) |
|
|
slot |
Sets the collapsed state.
The widget will be collapsed if and only if "collapsed" is true.
- Parameters
-
| collapsed | The new state of the widget. |
◆ setCollapsibleWidget()
| void setCollapsibleWidget |
( |
QWidget * | w | ) |
|
Sets a QWidget to show in the DockWidget.
If you use this method the DockWidget is collapsible.
- Parameters
-
◆ toggleCollapsed
Toggles the collapsed state of the widget.
◆ windowTitleChanged()
| void windowTitleChanged |
( |
| ) |
|
A method to inform the widget, that the window title has been changed.
The documentation for this class was generated from the following files: