#include <propositiongraph.hpp>
Inherits Graph.
Inheritance diagram for PropositionGraph:
Public Member Functions | |
PropositionGraph () | |
~PropositionGraph () | |
QString | newProposition () |
void | newProposition (QString pname) |
void | newProposition (Proposition *father) |
Edge * | connect (QString source, QString target) |
Edge * | connect (Proposition *source, Proposition *target) |
Edge * | connect (QString source, QString target, QString trust) |
void | load () |
void | save (QString dir) |
void | update () |
void | edgeUpdate () |
void | loadCats () |
void | useDot () |
void | init () |
void | initComboCat () |
Proposition * | propositionSelected () |
Edge * | edgeSelected () |
short int | info () |
void | setPropositionSelected (Proposition *sel) |
void | setEdgeSelected (Edge *sel) |
void | setInfo (short int inf) |
void | setStatus (int newstatus) |
void | deleteEdge (Edge *delEdge) |
void | deleteProp (Proposition *delProp) |
Public Attributes | |
CategoryList * | categories |
QPtrStack< Proposition > | addStack |
QPtrStack< Proposition > | delStack |
Protected Attributes | |
Proposition * | p_selected |
Edge * | e_selected |
short int | p_info |
|
Definition at line 34 of file propositiongraph.cpp. References init(). Here is the call graph for this function: ![]() |
|
Definition at line 40 of file propositiongraph.cpp. |
|
Definition at line 144 of file propositiongraph.cpp. References connect(), e, and Edge::setTrust(). Here is the call graph for this function: ![]() |
|
Definition at line 139 of file propositiongraph.cpp. References connect(). Here is the call graph for this function: ![]() |
|
Definition at line 125 of file propositiongraph.cpp. References e, Graph::edges, Graph::gui, Principal::props, and s. Referenced by Dot::callDot(), connect(), Mpsi::endElement(), Proposition::mousePressEvent(), and newProposition(). |
|
Definition at line 45 of file propositiongraph.cpp. References Graph::edges, Graph::gui, Principal::keywordsEdit, Edge::source(), Edge::target(), and useDot(). Referenced by Edge::mousePressEvent(). Here is the call graph for this function: ![]() |
|
Definition at line 68 of file propositiongraph.cpp. References Graph::edges, Graph::gui, Node::incoming, Node::outgoing, propositionSelected(), Graph::setChanged(), and setPropositionSelected(). Referenced by Proposition::mousePressEvent(). Here is the call graph for this function: ![]() |
|
Definition at line 56 of file propositiongraph.hpp. References e_selected. Referenced by Edge::changeActive(), and edgeUpdate(). |
|
Definition at line 275 of file propositiongraph.cpp. References edgeSelected(), Principal::edgeTrust, Graph::gui, Graph::setChanged(), trustItem2float(), and useDot(). Referenced by Principal::changeButton_clicked(). Here is the call graph for this function: ![]() |
|
Definition at line 57 of file propositiongraph.hpp. References p_info. Referenced by Principal::changeButton_clicked(). |
|
Reimplemented from Graph. Definition at line 95 of file propositiongraph.cpp. References categories. Referenced by PropositionGraph(). |
|
Definition at line 178 of file propositiongraph.cpp. References categories, Principal::categorycombo, and Graph::gui. Referenced by load(). |
|
Load graph data from files. Definition at line 151 of file propositiongraph.cpp. References Graph::clearAllEdges(), Graph::edges, initComboCat(), loadCats(), Graph::setChanged(), setPropositionSelected(), and useDot(). Referenced by Principal::CVS_activated(), Principal::init(), and Principal::sOpen(). Here is the call graph for this function: ![]() |
|
Definition at line 255 of file propositiongraph.cpp. Referenced by load(). |
|
Definition at line 116 of file propositiongraph.cpp. References connect(), newProposition(), Graph::setChanged(), and useDot(). Here is the call graph for this function: ![]() |
|
Definition at line 107 of file propositiongraph.cpp. References Graph::checkLastName(), Graph::gui, and Principal::props. Here is the call graph for this function: ![]() |
|
Creates a new proposition with a unique name and defaults values. Definition at line 100 of file propositiongraph.cpp. References Graph::lastName(). Referenced by Proposition::mousePressEvent(), newProposition(), and GraphML::startElement(). Here is the call graph for this function: ![]() |
|
Definition at line 55 of file propositiongraph.hpp. References p_selected. Referenced by Proposition::changeActive(), deleteProp(), Proposition::mousePressEvent(), and update(). |
|
Save graph data to file. Definition at line 191 of file propositiongraph.cpp. References GraphML::save(), and Graph::setChanged(). Referenced by Principal::fileSaveAction_activated(). Here is the call graph for this function: ![]() |
|
Definition at line 219 of file propositiongraph.cpp. References e_selected, Principal::edgeSource, Principal::edgeTarget, Principal::edgeTrust, float2TrustItem(), Graph::gui, and Principal::infoStack. Referenced by Edge::changeActive(). Here is the call graph for this function: ![]() |
|
Definition at line 228 of file propositiongraph.cpp. References p_info. Referenced by Principal::edgeInfoChanged(), and Principal::infoChanged(). |
|
Definition at line 207 of file propositiongraph.cpp. References Proposition::cat, Principal::categorycombo, Principal::changeButton, Node::description, Principal::DescriptionEdit, float2TrustItem(), Graph::gui, Principal::infoStack, Principal::nameEdit, p_selected, Category::posId(), Node::publicName, Proposition::references(), Principal::referencesEdit, Node::trust, and Principal::trustCombo. Referenced by Proposition::changeActive(), deleteProp(), and load(). Here is the call graph for this function: ![]() |
|
Reimplemented from Graph. Definition at line 233 of file propositiongraph.cpp. References Graph::gui, Graph::p_status, Principal::setStatusText(), STATUS_CONN_SOURCE, STATUS_CONN_TARGET, STATUS_EDGE_DELETE, STATUS_NEWPROP, and STATUS_NOOP. Referenced by Principal::addConexao_activated(), Principal::delConexao_activated(), Principal::delProposition_activated(), Principal::editConexao_activated(), Proposition::mousePressEvent(), and Principal::newProposition_activated(). |
|
Definition at line 266 of file propositiongraph.cpp. References Principal::categorycombo, Principal::DescriptionEdit, Graph::gui, Principal::nameEdit, propositionSelected(), Principal::referencesEdit, and Graph::setChanged(). Referenced by Principal::changeButton_clicked(). Here is the call graph for this function: ![]() |
|
Definition at line 198 of file propositiongraph.cpp. References Dot::callDot(), Graph::gui, and Principal::props. Referenced by deleteEdge(), edgeUpdate(), load(), Proposition::mousePressEvent(), and newProposition(). Here is the call graph for this function: ![]() |
|
Definition at line 66 of file propositiongraph.hpp. Referenced by Principal::fileSaveAction_activated(), and Proposition::mousePressEvent(). |
|
Definition at line 65 of file propositiongraph.hpp. Referenced by Cat::endElement(), init(), initComboCat(), GraphML::loadCat(), Proposition::setCategory(), and Proposition::setCategoryId(). |
|
Definition at line 67 of file propositiongraph.hpp. Referenced by Principal::fileSaveAction_activated(), and Proposition::mousePressEvent(). |
|
Definition at line 71 of file propositiongraph.hpp. Referenced by edgeSelected(), and setEdgeSelected(). |
|
Definition at line 72 of file propositiongraph.hpp. |
|
Definition at line 70 of file propositiongraph.hpp. Referenced by propositionSelected(), and setPropositionSelected(). |