#include <graph.hpp>
Inherited by PropositionGraph.
Inheritance diagram for Graph:
Public Member Functions | |
Graph () | |
~Graph () | |
int | lastName () |
int | lastEdge () |
void | checkLastName (QString newname) |
void | checkLastEdge (QString newEdgeName) |
void | setLastName (int newLast) |
void | setLastEdge (int newLastEdge) |
int | status () |
void | setStatus (int newstatus) |
void | checkPos (QPoint pos) |
void | check (Proposition p) |
void | error (QString message) |
void | setChanged (bool change) |
bool | isChanged () |
void | clearAllEdges () |
Public Attributes | |
EdgeList * | edges |
QPoint | lastXY |
Principal * | gui |
Protected Member Functions | |
void | init () |
Protected Attributes | |
int | p_lastName |
int | p_lastEdge |
int | p_status |
bool | changed |
Definition at line 30 of file graph.hpp.
|
Definition at line 23 of file graph.cpp. References init(). Here is the call graph for this function: ![]() |
|
|
|
Definition at line 90 of file graph.cpp. References checkLastName(), and checkPos(). Here is the call graph for this function: ![]() |
|
Check if the "lastEdge" is greater than lastEdge() and do the necessary lastEdge() updates. Definition at line 83 of file graph.cpp. References lastEdge(), setLastEdge(), and x. Here is the call graph for this function: ![]() |
|
Check if the "newname" is greater than lastName() and do the necessary lastName() updates. Definition at line 76 of file graph.cpp. References lastName(), setLastName(), and x. Referenced by check(), and PropositionGraph::newProposition(). Here is the call graph for this function: ![]() |
|
Check if the "pos" position us greater than lastXY() and do the necessary lastXY() updates. Definition at line 69 of file graph.cpp. References gui, lastXY, and Principal::props. Referenced by Dot::callDot(), and check(). |
|
Definition at line 49 of file graph.cpp. References edges. Referenced by Dot::callDot(), and PropositionGraph::load(). |
|
Definition at line 98 of file graph.cpp. Referenced by Mpsi::ioError(), GraphML::ioError(), and Cat::ioError(). |
|
Reimplemented in PropositionGraph. Definition at line 60 of file graph.cpp. References edges, lastXY, and setLastName(). Referenced by Graph(). Here is the call graph for this function: ![]() |
|
Definition at line 75 of file graph.hpp. References changed. |
|
Definition at line 48 of file graph.hpp. References p_lastEdge. Referenced by checkLastEdge(). |
|
Return the greater index number used by an internal node name of the graph. This is used to assure that each new node have a unique name. Definition at line 47 of file graph.hpp. References p_lastName. Referenced by checkLastName(), PropositionGraph::newProposition(), and GraphML::save(). |
|
Definition at line 103 of file graph.cpp. References Principal::changeButton, changed, Principal::changeMessage, Principal::checked, Principal::commitAction, Principal::fileSaveAction, and gui. Referenced by PropositionGraph::deleteProp(), PropositionGraph::edgeUpdate(), PropositionGraph::load(), Proposition::mousePressEvent(), PropositionGraph::newProposition(), PropositionGraph::save(), GraphML::saveProp(), and PropositionGraph::update(). |
|
Definition at line 39 of file graph.cpp. References p_lastEdge. Referenced by checkLastEdge(). |
|
Definition at line 34 of file graph.cpp. References p_lastName. Referenced by checkLastName(), and init(). |
|
Reimplemented in PropositionGraph. Definition at line 44 of file graph.cpp. References p_status. |
|
Definition at line 61 of file graph.hpp. References p_status. Referenced by Proposition::mousePressEvent(), and Edge::mousePressEvent(). |
|
Definition at line 85 of file graph.hpp. Referenced by isChanged(), and setChanged(). |
|
Definition at line 37 of file graph.hpp. Referenced by BuildPropositions::BuildPropositions(), Dot::callDot(), clearAllEdges(), PropositionGraph::connect(), PropositionGraph::deleteEdge(), PropositionGraph::deleteProp(), Dot::exportDot(), init(), and PropositionGraph::load(). |
|
|
Returns the greater "x" and "y" coordinates for a node graphical position. The x and and y coordinates may reffer to different nodes. Definition at line 42 of file graph.hpp. Referenced by checkPos(), and init(). |
|
Definition at line 82 of file graph.hpp. Referenced by lastEdge(), and setLastEdge(). |
|
Definition at line 81 of file graph.hpp. Referenced by lastName(), and setLastName(). |
|
Definition at line 84 of file graph.hpp. Referenced by PropositionGraph::setStatus(), setStatus(), and status(). |