#include <GraphScene.h>
Public Slots | |
QGraphicsItem * | createNode (Node *n) |
QGraphicsItem * | createEdge (Edge *e) |
void | connectGraphSignals (Graph *g) |
void | createItems () |
Signals | |
void | forceUpdate () |
Public Member Functions | |
GraphScene (QObject *parent) | |
void | setAction (QAction *action) |
void | updateGraph (Graph *g) |
void | updateDocument () |
void | setActiveGraph (Graph *g) |
void | setActiveGraphDocument (GraphDocument *gd) |
void | clearGraph () |
void | setHideEdges (bool h) |
bool | hideEdges () |
QAction * | action () |
void | updateAfter (QGraphicsItem *item) |
bool | fade () const |
void | fade (bool b) |
void | hideGraph (Graph *g, bool visibility) |
Protected Member Functions | |
void | mouseMoveEvent (QGraphicsSceneMouseEvent *mouseEvent) |
void | mousePressEvent (QGraphicsSceneMouseEvent *mouseEvent) |
void | mouseReleaseEvent (QGraphicsSceneMouseEvent *mouseEvent) |
void | mouseDoubleClickEvent (QGraphicsSceneMouseEvent *mouseEvent) |
void | wheelEvent (QGraphicsSceneWheelEvent *wheelEvent) |
void | keyPressEvent (QKeyEvent *keyEvent) |
Definition at line 39 of file GraphScene.h.
GraphScene::GraphScene | ( | QObject * | parent | ) |
Definition at line 41 of file GraphScene.cpp.
QAction * GraphScene::action | ( | ) |
Definition at line 76 of file GraphScene.cpp.
void GraphScene::clearGraph | ( | ) |
void GraphScene::connectGraphSignals | ( | Graph * | g | ) | [slot] |
Definition at line 148 of file GraphScene.cpp.
QGraphicsItem * GraphScene::createEdge | ( | Edge * | e | ) | [slot] |
Definition at line 162 of file GraphScene.cpp.
void GraphScene::createItems | ( | ) | [slot] |
Definition at line 128 of file GraphScene.cpp.
QGraphicsItem * GraphScene::createNode | ( | Node * | n | ) | [slot] |
Definition at line 154 of file GraphScene.cpp.
void GraphScene::fade | ( | bool | b | ) | [inline] |
Definition at line 59 of file GraphScene.h.
bool GraphScene::fade | ( | ) | const [inline] |
Definition at line 55 of file GraphScene.h.
void GraphScene::forceUpdate | ( | ) | [signal] |
bool GraphScene::hideEdges | ( | ) |
Definition at line 51 of file GraphScene.cpp.
void GraphScene::hideGraph | ( | Graph * | g, | |
bool | visibility | |||
) |
Definition at line 87 of file GraphScene.cpp.
void GraphScene::keyPressEvent | ( | QKeyEvent * | keyEvent | ) | [protected] |
Definition at line 266 of file GraphScene.cpp.
void GraphScene::mouseDoubleClickEvent | ( | QGraphicsSceneMouseEvent * | mouseEvent | ) | [protected] |
Definition at line 172 of file GraphScene.cpp.
void GraphScene::mouseMoveEvent | ( | QGraphicsSceneMouseEvent * | mouseEvent | ) | [protected] |
Definition at line 207 of file GraphScene.cpp.
void GraphScene::mousePressEvent | ( | QGraphicsSceneMouseEvent * | mouseEvent | ) | [protected] |
Definition at line 212 of file GraphScene.cpp.
void GraphScene::mouseReleaseEvent | ( | QGraphicsSceneMouseEvent * | mouseEvent | ) | [protected] |
Definition at line 257 of file GraphScene.cpp.
void GraphScene::setAction | ( | QAction * | action | ) |
Definition at line 97 of file GraphScene.cpp.
void GraphScene::setActiveGraph | ( | Graph * | g | ) |
Definition at line 68 of file GraphScene.cpp.
void GraphScene::setActiveGraphDocument | ( | GraphDocument * | gd | ) |
Definition at line 102 of file GraphScene.cpp.
void GraphScene::setHideEdges | ( | bool | h | ) |
Definition at line 56 of file GraphScene.cpp.
void GraphScene::updateAfter | ( | QGraphicsItem * | item | ) |
Definition at line 81 of file GraphScene.cpp.
void GraphScene::updateDocument | ( | ) |
Definition at line 290 of file GraphScene.cpp.
void GraphScene::updateGraph | ( | Graph * | g | ) |
Definition at line 271 of file GraphScene.cpp.
void GraphScene::wheelEvent | ( | QGraphicsSceneWheelEvent * | wheelEvent | ) | [protected] |
Definition at line 177 of file GraphScene.cpp.