GraphViz interactive scene. More...
#include </local/robotpkg/var/tmp/robotpkg/graphics/qt-qgv/work/qgv-1.3.5/QGVCore/QGVScene.h>


Signals | |
| void | nodeContextMenu (QGVNode *node) |
| void | nodeDoubleClick (QGVNode *node) |
| void | nodeChanged (QGVNode *node) |
| void | nodeMouseRelease (QGVNode *node) |
| void | edgeContextMenu (QGVEdge *edge) |
| void | edgeDoubleClick (QGVEdge *edge) |
| void | subGraphContextMenu (QGVSubGraph *graph) |
| void | subGraphDoubleClick (QGVSubGraph *graph) |
| void | graphContextMenuEvent () |
Public Member Functions | |
| QGVScene (const QString &name, QObject *parent=0) | |
| ~QGVScene () | |
| void | setGraphAttribute (const QString &name, const QString &value) |
| void | setNodeAttribute (const QString &name, const QString &value) |
| void | setEdgeAttribute (const QString &name, const QString &value) |
| QGVNode * | addNode (const QString &label) |
| QGVEdge * | addEdge (QGVNode *source, QGVNode *target, const QString &label=QString()) |
| QGVSubGraph * | addSubGraph (const QString &name, bool cluster=true) |
| void | setRootNode (QGVNode *node) |
| void | setNodePositionAttribute () |
| void | loadLayout (const QString &text) |
| void | applyLayout (const QString &algorithm="dot") |
| void | render (const QString &algorithm) |
| void | render (const QString algorithm, const QString file) |
| void | freeLayout () |
| void | clear () |
| bool | writeGraph (const QString filename) |
Protected Member Functions | |
| virtual void | contextMenuEvent (QGraphicsSceneContextMenuEvent *contextMenuEvent) |
| virtual void | mouseDoubleClickEvent (QGraphicsSceneMouseEvent *mouseEvent) |
| virtual void | mouseReleaseEvent (QGraphicsSceneMouseEvent *mouseEvent) |
| virtual void | drawBackground (QPainter *painter, const QRectF &rect) |
Friends | |
| class | QGVNode |
| class | QGVEdge |
| class | QGVSubGraph |
GraphViz interactive scene.
|
explicit |
| QGVScene::~QGVScene | ( | ) |
| QGVEdge * QGVScene::addEdge | ( | QGVNode * | source, |
| QGVNode * | target, | ||
| const QString & | label = QString() |
||
| ) |
| QGVNode * QGVScene::addNode | ( | const QString & | label | ) |
| QGVSubGraph * QGVScene::addSubGraph | ( | const QString & | name, |
| bool | cluster = true |
||
| ) |
| void QGVScene::applyLayout | ( | const QString & | algorithm = "dot" | ) |
| void QGVScene::clear | ( | ) |
|
protectedvirtual |
|
protectedvirtual |
|
signal |
|
signal |
| void QGVScene::freeLayout | ( | ) |
|
signal |
| void QGVScene::loadLayout | ( | const QString & | text | ) |
|
protectedvirtual |
|
protectedvirtual |
|
signal |
|
signal |
|
signal |
|
signal |
| void QGVScene::render | ( | const QString & | algorithm | ) |
| void QGVScene::render | ( | const QString | algorithm, |
| const QString | file | ||
| ) |
| void QGVScene::setEdgeAttribute | ( | const QString & | name, |
| const QString & | value | ||
| ) |
| void QGVScene::setGraphAttribute | ( | const QString & | name, |
| const QString & | value | ||
| ) |
| void QGVScene::setNodeAttribute | ( | const QString & | name, |
| const QString & | value | ||
| ) |
| void QGVScene::setNodePositionAttribute | ( | ) |
| void QGVScene::setRootNode | ( | QGVNode * | node | ) |
|
signal |
|
signal |
| bool QGVScene::writeGraph | ( | const QString | filename | ) |
|
friend |
|
friend |
|
friend |