Inviwo
0.9.10.1
Inviwo documentation
|
dock widget with a custom title bar and sticky status. Docking while dragging the widget is prevented if the sticky flag is false. In case the window title of the dock widget contains the string "[*]", this string will be replaced with either "*" or nothing based on the isWindowModified() state of the widget. More...
#include <inviwodockwidget.h>
Signals | |
void | stickyFlagChanged (bool sticky) |
Public Member Functions | |
InviwoDockWidget (QString title, QWidget *parent) | |
InviwoDockWidget (QString title, QWidget *parent, QString objname) | |
virtual void | showEvent (QShowEvent *showEvent) override |
virtual void | keyPressEvent (QKeyEvent *keyEvent) override |
void | setSticky (bool sticky) |
bool | isSticky () const |
void | setContents (QWidget *widget) |
void | setContents (QLayout *layout) |
virtual void | saveState () |
virtual void | loadState () |
Protected Member Functions | |
virtual void | closeEvent (QCloseEvent *event) override |
dock widget with a custom title bar and sticky status. Docking while dragging the widget is prevented if the sticky flag is false. In case the window title of the dock widget contains the string "[*]", this string will be replaced with either "*" or nothing based on the isWindowModified() state of the widget.
|
virtual |
Load state related to the dock widget, called in the constructor. If you overload this function you must also call it in your constructor. Uses the objectName as settings group
Reimplemented in inviwo::PythonEditorWidget, and inviwo::PropertyEditorWidgetQt.
|
virtual |
Save state related to the dock widget, called in the close event. Uses the objectName as settings group
Reimplemented in inviwo::PropertyEditorWidgetQt.