v2.0.0
Loading...
Searching...
No Matches
draggableframelesswidget.h File Reference

Frameless QWidget that can be dragged by clicking anywhere on its body. More...

#include "../../disp_global.h"
#include <QWidget>
Include dependency graph for draggableframelesswidget.h:
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Classes

class  DISPLIB::DraggableFramelessWidget
 Frameless QWidget that can be dragged anywhere on its body. More...

Namespaces

namespace  DISPLIB
 2-D display widgets and visualisation helpers (charts, topography, colour maps).

Detailed Description

Frameless QWidget that can be dragged by clicking anywhere on its body.

SPDX-License-Identifier: BSD-3-Clause Copyright (c) 2018-2026 MNE-CPP Authors

Author
Lorenz Esch loren.nosp@m.z.es.nosp@m.ch@tu.nosp@m.-ilm.nosp@m.enau..nosp@m.de; Juan GPC jgarc.nosp@m.iapr.nosp@m.ieto@.nosp@m.mgh..nosp@m.harva.nosp@m.rd.e.nosp@m.du; Andreas Griesshammer ag@fi.nosp@m.eldl.nosp@m.inein.nosp@m.c.co.nosp@m.m; Gabriel Motta gabri.nosp@m.elbe.nosp@m.nmott.nosp@m.a@gm.nosp@m.ail.c.nosp@m.om; Christoph Dinh chris.nosp@m.toph.nosp@m..dinh.nosp@m.@mne.nosp@m.-cpp..nosp@m.org
Since
0.1.0
Date
July 2018

DraggableFramelessWidget removes the native window frame and implements the mouse-press / mouse-move handlers needed to move the window with the cursor. It is the base class of QuickControlView and any other floating popup that wants to look like an in-app palette rather than a system window.

Definition in file draggableframelesswidget.h.