#include <proposition.hpp>
Inherits Node.
Inheritance diagram for Proposition:


Public Member Functions | |
| Proposition (QWidget *parent, const char *name=0, WFlags f=0) | |
| ~Proposition () | |
| Edge * | connect (Proposition *destino, float confianca) | 
| void | disconnect (Edge *e) | 
| void | draw (QPainter *painter) | 
| QString | category () | 
| QString | references () | 
| void | setCategory (QString catid) | 
| void | setCategoryId (QString newcatid) | 
| void | setTrust (float newTrust) | 
| void | setReferences (QString newReferences) | 
Public Attributes | |
| Category * | cat | 
| QColor | fillColor | 
| QColor | borderColor | 
| QColor | propFillColor | 
| QColor | textColor | 
| PropositionGraph * | graph | 
Protected Member Functions | |
| void | paintEvent (QPaintEvent *event) | 
| void | changeActive (QColor thisColor) | 
| void | mousePressEvent (QMouseEvent *e) | 
| void | init () | 
Protected Attributes | |
| QString | p_references | 
      
  | 
  ||||||||||||||||
| 
 
 Definition at line 27 of file proposition.cpp. References init(). Here is the call graph for this function: ![]()  | 
  
      
  | 
  
| 
 
 Definition at line 33 of file proposition.cpp.  | 
  
      
  | 
  
| 
 
 Definition at line 40 of file proposition.hpp. References cat, and Category::id(). Referenced by GraphML::saveProp(). Here is the call graph for this function: ![]()  | 
  
      
  | 
  
| 
 
 Definition at line 118 of file proposition.cpp. References fillColor, graph, PropositionGraph::propositionSelected(), and PropositionGraph::setPropositionSelected(). Referenced by mousePressEvent(). Here is the call graph for this function: ![]()  | 
  
      
  | 
  ||||||||||||
| 
 
 Definition at line 89 of file proposition.cpp. References e, graph, Graph::gui, Principal::props, and Edge::setTrust(). Here is the call graph for this function: ![]()  | 
  
      
  | 
  
| 
 
 Definition at line 96 of file proposition.cpp.  | 
  
      
  | 
  
| 
 
 Definition at line 109 of file proposition.cpp. References borderColor, fillColor, Node::publicName(), and textColor. Referenced by paintEvent(). Here is the call graph for this function: ![]()  | 
  
      
  | 
  
| 
 
 Reimplemented from Node. Definition at line 38 of file proposition.cpp. References borderColor, COLOR_PROP_BORDER, COLOR_PROP_DEFAULT, fillColor, propFillColor, Node::setDescription(), Node::setPublicName(), and textColor. Referenced by Proposition(). Here is the call graph for this function: ![]()  | 
  
      
  | 
  
| 
 
 Definition at line 131 of file proposition.cpp. References PropositionGraph::addStack, changeActive(), COLOR_PROP_SELECTED, COLOR_SOURCE, PropositionGraph::connect(), PropositionGraph::deleteProp(), PropositionGraph::delStack, graph, PropositionGraph::newProposition(), PropositionGraph::propositionSelected(), Graph::setChanged(), PropositionGraph::setStatus(), Graph::status(), STATUS_CONN_SOURCE, STATUS_CONN_TARGET, STATUS_NEWPROP, STATUS_NOOP, STATUS_PROP_DELETE, and PropositionGraph::useDot(). Here is the call graph for this function: ![]()  | 
  
      
  | 
  
| 
 
 Definition at line 102 of file proposition.cpp. References draw(). Here is the call graph for this function: ![]()  | 
  
      
  | 
  
| 
 
 Definition at line 41 of file proposition.hpp. References p_references. Referenced by GraphML::saveProp(), and PropositionGraph::setPropositionSelected().  | 
  
      
  | 
  
| 
 
 Definition at line 62 of file proposition.cpp. References borderColor, cat, PropositionGraph::categories, Category::color(), and graph. Referenced by setCategoryId(). Here is the call graph for this function: ![]()  | 
  
      
  | 
  
| 
 
 Definition at line 71 of file proposition.cpp. References PropositionGraph::categories, graph, and setCategory(). Here is the call graph for this function: ![]()  | 
  
      
  | 
  
| 
 
 Definition at line 84 of file proposition.cpp. References p_references.  | 
  
      
  | 
  
| 
 
 Reimplemented from Node. Definition at line 48 of file proposition.cpp. References COLOR_PROP_BORDER, COLOR_TEXT_ALTERNATE, fillColor, Node::p_trust, propFillColor, Node::setChanged(), textColor, and trust2rgb(). Here is the call graph for this function: ![]()  | 
  
      
  | 
  
| 
 
 Definition at line 50 of file proposition.hpp. Referenced by draw(), init(), and setCategory().  | 
  
      
  | 
  
| 
 
 Definition at line 39 of file proposition.hpp. Referenced by category(), setCategory(), and PropositionGraph::setPropositionSelected().  | 
  
      
  | 
  
| 
 
 Definition at line 49 of file proposition.hpp. Referenced by changeActive(), draw(), init(), and setTrust().  | 
  
      
  | 
  
| 
 
 Definition at line 53 of file proposition.hpp. Referenced by changeActive(), connect(), mousePressEvent(), setCategory(), and setCategoryId().  | 
  
      
  | 
  
| 
 
 Definition at line 57 of file proposition.hpp. Referenced by references(), and setReferences().  | 
  
      
  | 
  
| 
 
 Definition at line 51 of file proposition.hpp. Referenced by init(), and setTrust().  | 
  
      
  | 
  
| 
 
 Definition at line 52 of file proposition.hpp. Referenced by draw(), init(), and setTrust().  |