Workspace 6.21.5
Signals | Public Member Functions | Protected Member Functions | List of all members
FloatingDockWidget Class Reference

Container widget for storing the contents of a QDockWidget. While a QDockWidget can itself float by itself, it does not behave in a same way as most windows do with the main limitation that a floating QDockWidget can't be easily maximised. FloatingDockWidget is used as a work-around for this limitation but taking possession of a QDockWidget's contents and is displayed as a standalone floating widget.

#include <Workspace/Widgets/DockWidget/floatingdockwidget.h>

Inherits QWidget.

Signals

void aboutToBeClosed ()
 
void dockRequested ()
 

Public Member Functions

 FloatingDockWidget (QWidget *parent=nullptr)
 
 ~FloatingDockWidget () override
 

Protected Member Functions

void closeEvent (QCloseEvent *event) override
 
void keyPressEvent (QKeyEvent *event) override
 

Constructor & Destructor Documentation

◆ FloatingDockWidget()

FloatingDockWidget ( QWidget *  parent = nullptr)

◆ ~FloatingDockWidget()

~FloatingDockWidget ( )
override

Member Function Documentation

◆ aboutToBeClosed

void aboutToBeClosed ( )
signal

◆ closeEvent()

void closeEvent ( QCloseEvent *  event)
overrideprotected

◆ dockRequested

void dockRequested ( )
signal

◆ keyPressEvent()

void keyPressEvent ( QKeyEvent *  event)
overrideprotected