![]() |
tuchulcha
0.10.1
Graphical Workflow Configuration Editor
|
Widget to display data flow diagram. More...
#include <FlowWidget.h>

Public Slots | |
| void | modify (bool val=true) |
| set modified flag More... | |
| void | saveFlowChart () const |
| Save flowchart diagram to graphics file. | |
| void | updateFileName (const QString &fileName) |
| update title and main window file information More... | |
| void | zoomFit () |
| fit in view | |
| void | zoomFit (Qt::WindowStates oldState, Qt::WindowStates newState) |
| fit in view after widget resize | |
| void | zoomIn () |
| zoom in | |
| void | zoomOut () |
| zoom out | |
Signals | |
| void | modelChanged (GraphModel *model) |
| Inform about changed model. More... | |
| void | nodeTypeSelected (QString type) const |
| Send type of currently selected node. More... | |
| void | statusMessage (QString msg) const |
| Send status message. More... | |
Public Member Functions | |
| FlowWidget (GraphModel *model, QWidget *parent=0) | |
| Default constructor. More... | |
| GraphModel * | model () |
| Get used model. | |
| const GraphModel * | model () const |
| const version | |
Protected Member Functions | |
| virtual void | closeEvent (QCloseEvent *closeEvent) |
| check modification status and ask to save before closing | |
| virtual void | wheelEvent (QWheelEvent *event) |
| zooms in and out on mousewheel event | |
Protected Attributes | |
| NodeHandler * | _nodehandler |
| graphics scene to display | |
| QGraphicsView * | _viewer |
| viewer | |
Contains a graphics scene and viewer with flowchart content.
Definition at line 36 of file FlowWidget.h.
| FlowWidget::FlowWidget | ( | GraphModel * | model, |
| QWidget * | parent = 0 |
||
| ) |
| model | model to be used within this flow widget |
| parent | pointer to parent widget |
Definition at line 35 of file FlowWidget.cpp.
References _nodehandler, _viewer, model(), modify(), nodeTypeSelected(), statusMessage(), updateFileName(), and zoomFit().
|
signal |
| model | new model |
|
slot |
| [in] | val | new value |
Definition at line 94 of file FlowWidget.cpp.
|
signal |
| type | type |
|
signal |
| msg | message |
|
slot |
| fileName | new filename |
Definition at line 60 of file FlowWidget.cpp.