OpenMS  2.8.0
Signals | Public Member Functions | List of all members
EnhancedWorkspace Class Reference

#include <OpenMS/VISUAL/EnhancedWorkspace.h>

Inheritance diagram for EnhancedWorkspace:
Collaboration diagram for EnhancedWorkspace:


void dropReceived (const QMimeData *data, QWidget *source, int id)
 Signal that is emitted, when a drag-and-drop action ends on this widget. More...

Public Member Functions

 EnhancedWorkspace (QWidget *parent)
 Constructor. More...
 ~EnhancedWorkspace () override
 Destructor. More...
void tileHorizontal ()
 arrange all windows horizontally More...
void tileVertical ()
 arrange all windows vertically More...
EnhancedTabBarWidgetInterfacegetWidget (int id) const

Protected Member Functions

Reimplemented Qt events
void dragEnterEvent (QDragEnterEvent *event) override
void dragMoveEvent (QDragMoveEvent *event) override
void dropEvent (QDropEvent *event) override

Constructor & Destructor Documentation

◆ EnhancedWorkspace()

EnhancedWorkspace ( QWidget parent)


◆ ~EnhancedWorkspace()

~EnhancedWorkspace ( )


Member Function Documentation

◆ dragEnterEvent()

void dragEnterEvent ( QDragEnterEvent *  event)

◆ dragMoveEvent()

void dragMoveEvent ( QDragMoveEvent *  event)

◆ dropEvent()

void dropEvent ( QDropEvent *  event)

◆ dropReceived

void dropReceived ( const QMimeData *  data,
QWidget source,
int  id 

Signal that is emitted, when a drag-and-drop action ends on this widget.

Referenced by TOPPViewBase::TOPPViewBase().

◆ getWidget()

EnhancedTabBarWidgetInterface* getWidget ( int  id) const

get the subwindow with the given id (for all subwindows which inherit from EnhancedTabBarWidgetInterface) Returns nullptr if window is not present

Referenced by TOPPViewBase::addData(), TOPPViewBase::closeByTab(), TOPPViewBase::showWindow(), and TOPPASBase::window_().

◆ tileHorizontal()

void tileHorizontal ( )

arrange all windows horizontally

◆ tileVertical()

void tileVertical ( )

arrange all windows vertically