Inviwo
0.9.10.1
Inviwo documentation
|
Custom title bar widget for QDockWidget derived from QWidget. More...
#include <inviwodockwidgettitlebar.h>
Signals | |
void | stickyFlagChanged (bool sticky) |
Protected Slots | |
virtual void | showEvent (QShowEvent *event) override |
Protected Member Functions | |
virtual bool | eventFilter (QObject *obj, QEvent *event) override |
Properties | |
double | iconSize |
Custom title bar widget for QDockWidget derived from QWidget.
The title bar widget contains a label showing the window title of the parent QDockWidget and buttons for the sticky mode, dock/undock, and close. The sticky mode determines whether the floating dock widget can be docked to prevent involuntary docking when moving the dock widget. Docking via the dock button or double clicking the title bar is still possible.
Note: adding a custom title bar to a QDockWidget removes the window decoration!