#include <OpenMS/VISUAL/EnhancedWorkspace.h>
|
void | dropReceived (const QMimeData *data, QWidget *source, int id) |
| Signal that is emitted, when a drag-and-drop action ends on this widget. More...
|
|
◆ EnhancedWorkspace()
◆ ~EnhancedWorkspace()
◆ addSubWindow()
QMdiSubWindow* addSubWindow |
( |
QWidget * |
widget | ) |
|
Adds a subwindow to the QMdiArea Qt will add a System menu (which shows when you right-click on the subwindows' local top bar). This menu will contain a shortcut for Ctrl-W, which makes our custom Ctrl-W in TOPPView's menu ambiguous. Upon pressing it, you will get a `QAction::event: Ambiguous shortcut overload: Ctrl+W` on the console and no triggered signal. To prevent this we simply set the SystemMenu to null (no menu will show when you right-click). If you do not want that, call Qt's overload of addSubWindow
Referenced by TOPPASBase::showAsWindow_(), and TOPPViewBase::showPlotWidgetInWindow().
◆ dragEnterEvent()
void dragEnterEvent |
( |
QDragEnterEvent * |
event | ) |
|
|
overrideprotected |
◆ dragMoveEvent()
void dragMoveEvent |
( |
QDragMoveEvent * |
event | ) |
|
|
overrideprotected |
◆ dropEvent()
void dropEvent |
( |
QDropEvent * |
event | ) |
|
|
overrideprotected |
◆ dropReceived
void dropReceived |
( |
const QMimeData * |
data, |
|
|
QWidget * |
source, |
|
|
int |
id |
|
) |
| |
|
signal |
◆ getWidget()
◆ tileHorizontal()
arrange all windows horizontally
◆ tileVertical()
arrange all windows vertically