DraggableFramelessWidget
Namespace: DISPLIB · Library: Display Library
#include <disp/draggableframelesswidget.h>
class DISPLIB::DraggableFramelessWidget
Frameless QWidget that can be dragged anywhere on its body.
Base class of QuickControlView and any other floating popup that wants to look like an in-app palette rather than a system window.
Inheritance
Public Methods
DraggableFramelessWidget(parent, flags, bRoundEdges, bDraggable, bFrameless)
Constructs a DraggableFramelessWidget which is a child of parent.
Parameters:
-
parent : *QWidget ** The parent of the widget.
-
flags : Qt::WindowFlags The window flags.
-
bRoundEdges : bool Flag specifying whether to round the edges.
-
bDraggable : bool Flag specifying whether this widget is draggable.
-
bFrameless : bool Flag specifying whether this widget is frameless.
~DraggableFramelessWidget()
Destructs a DraggableFramelessWidget.
setDraggable(bFlag)
Set the draggable flag of this widget.
Parameters:
- bFlag : bool the flag to set.
Authors of this file
- Lorenz Esch <lorenz.esch@tu-ilmenau.de>
- Juan GPC <jgarciaprieto@mgh.harvard.edu>
- Andreas Griesshammer <ag@fieldlineinc.com>
- Gabriel Motta <gabrielbenmotta@gmail.com>
- Christoph Dinh <christoph.dinh@mne-cpp.org>