#include <GraphVisualEditor.h>
Public Slots | |
void | setActiveGraph (Graph *g) |
void | setActiveGraphDocument (GraphDocument *graphDocument) |
QList< NodeItem * > | selectedNodes () const |
void | displaySadnessSlot () |
Public Member Functions | |
GraphVisualEditor (MainWindow *parent=0) | |
GraphScene * | scene () const |
QGraphicsView * | view () const |
MainWindow * | mainWindow () |
void | releaseGraphDocument () |
Definition at line 39 of file GraphVisualEditor.h.
GraphVisualEditor::GraphVisualEditor | ( | MainWindow * | parent = 0 |
) |
Default Constructor
parent | the owner of this widget. |
Definition at line 41 of file GraphVisualEditor.cpp.
void GraphVisualEditor::displaySadnessSlot | ( | ) | [slot] |
Definition at line 112 of file GraphVisualEditor.cpp.
MainWindow* GraphVisualEditor::mainWindow | ( | ) |
void GraphVisualEditor::releaseGraphDocument | ( | ) |
as the name says, it removes the current GraphDocument from the screen and releases it from the evil hands of GraphEditWidget.
Definition at line 86 of file GraphVisualEditor.cpp.
GraphScene * GraphVisualEditor::scene | ( | ) | const |
Definition at line 107 of file GraphVisualEditor.cpp.
QList< NodeItem * > GraphVisualEditor::selectedNodes | ( | ) | const [slot] |
Definition at line 123 of file GraphVisualEditor.cpp.
void GraphVisualEditor::setActiveGraph | ( | Graph * | g | ) | [slot] |
set the current selected Graph.
graph | the new active graph. |
Definition at line 100 of file GraphVisualEditor.cpp.
void GraphVisualEditor::setActiveGraphDocument | ( | GraphDocument * | graphDocument | ) | [slot] |
Definition at line 72 of file GraphVisualEditor.cpp.
QGraphicsView * GraphVisualEditor::view | ( | ) | const |
Definition at line 67 of file GraphVisualEditor.cpp.