Widget visualizing and allowing to edit TOPP pipelines. More...
#include <OpenMS/VISUAL/TOPPASWidget.h>
Signals | |
| void | sendStatusMessage (std::string message, OpenMS::UInt time) |
Emits a status message that should be displayed for time ms. If time is 0 the message should be displayed until the next message is emitted. More... | |
| void | sendCursorStatus (double x=0.0, double y=0.0) |
| Emitted when the cursor position changes (for displaying e.g. in status bar) More... | |
| void | aboutToBeDestroyed (int w_id) |
| Message about the destruction of this widget. More... | |
| void | toolDroppedOnWidget (double x=0.0, double y=0.0) |
| Emitted when a drop event occurs. More... | |
| void | pipelineDroppedOnWidget (const String &filename, bool new_window) |
| Emitted when a drop event occurs. More... | |
Public Member Functions | |
| TOPPASWidget (const Param &preferences, QWidget *parent=0, const String &tmp_path="") | |
| Default constructor. More... | |
| virtual | ~TOPPASWidget () |
| Destructor. More... | |
| virtual void | setWindowId (Int id) |
| setter from EnhancedTabBarWidgetInterface More... | |
| virtual Int | getWindowId () |
| getter from EnhancedTabBarWidgetInterface More... | |
| TOPPASScene * | getScene () |
| Returns the scene. More... | |
| void | zoom (bool zoom_in) |
Zooms in or out, depending on zoom_in. More... | |
Public Member Functions inherited from EnhancedTabBarWidgetInterface | |
| virtual | ~EnhancedTabBarWidgetInterface () |
| Destructor. More... | |
Protected Member Functions | |
reimplemented QT events | |
| void | wheelEvent (QWheelEvent *event) |
| void | keyPressEvent (QKeyEvent *e) |
| void | keyReleaseEvent (QKeyEvent *e) |
| void | leaveEvent (QEvent *e) |
| void | enterEvent (QEvent *e) |
| void | dragEnterEvent (QDragEnterEvent *event) |
| void | dragMoveEvent (QDragMoveEvent *event) |
| void | dropEvent (QDropEvent *event) |
| void | resizeEvent (QResizeEvent *event) |
| void | closeEvent (QCloseEvent *e) |
Protected Attributes | |
| TOPPASScene * | scene_ |
| The scene visualized by this widget. More... | |
| Int | window_id_ |
| Widget id used as identifier. More... | |
Widget visualizing and allowing to edit TOPP pipelines.
This class is a subclass of QGraphicsView and visualizes a TOPPASScene. Several TOPPASWidgets can be opened in TOPPAS at the same time, managed by a QWorkspace.
| TOPPASWidget | ( | const Param & | preferences, |
| QWidget * | parent = 0, |
||
| const String & | tmp_path = "" |
||
| ) |
Default constructor.
|
virtual |
Destructor.
|
signal |
Message about the destruction of this widget.
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |
| TOPPASScene* getScene | ( | ) |
Returns the scene.
Referenced by TOPPASBase::abortPipeline(), TOPPASBase::addTOPPASFile(), TOPPASBase::descriptionUpdated_(), TOPPASBase::exportAsImage(), TOPPASBase::focusByTab(), TOPPASBase::insertNewVertex_(), TOPPASBase::keyPressEvent(), TOPPASBase::loadPipelineResourceFile(), TOPPASBase::refreshPipelineParameters(), TOPPASBase::runPipeline(), TOPPASBase::savePipeline(), TOPPASBase::savePipelineAs(), TOPPASBase::savePipelineResourceFile(), TOPPASBase::showAsWindow_(), and TOPPASBase::updateMenu().
|
virtual |
getter from EnhancedTabBarWidgetInterface
Implements EnhancedTabBarWidgetInterface.
Referenced by TOPPASBase::showAsWindow_(), and TOPPASBase::window_().
|
protected |
|
protected |
|
protected |
|
signal |
Emitted when a drop event occurs.
|
protected |
Emitted when the cursor position changes (for displaying e.g. in status bar)
|
signal |
Emits a status message that should be displayed for time ms. If time is 0 the message should be displayed until the next message is emitted.
|
virtual |
setter from EnhancedTabBarWidgetInterface
Implements EnhancedTabBarWidgetInterface.
Referenced by TOPPASBase::showAsWindow_().
Emitted when a drop event occurs.
|
protected |
| void zoom | ( | bool | zoom_in | ) |
Zooms in or out, depending on zoom_in.
|
protected |
The scene visualized by this widget.
|
protected |
Widget id used as identifier.
| OpenMS / TOPP release 1.11.1 | Documentation generated on Thu Nov 14 2013 11:19:36 using doxygen 1.8.5 |