1 #ifndef GUI_SWU_GRAPH_MODEL_ITEM_H_
2 #define GUI_SWU_GRAPH_MODEL_ITEM_H_
4 #include "graph_model.h"
5 #include "graph_model_item.h"
6 #include "swu_graph_model.h"
20 virtual QVariant
data(
int column)
const;
A class representing a single SWU in the QT graph model.
Definition: swu_graph_model_item.h:14
SWU * node()
Return the underlying node.
Definition: graph_model_item.h:156
Forward declarations for functors.
Definition: defines.h:32
GraphModelItem * parent()
Returns the parent of this node.
Definition: graph_model_item.cc:102
std::vector< SWUGraphModel::EdgeType * > * edges()
Return the list of edge datas belonging to this node.
Definition: graph_model_item.h:161
Definition: graph_model_item.h:22
Definition: graph_model_item.h:138
std::vector< SWUGraphModel::EdgeType * > * incoming_edges()
Return the list of edge datas belonging to this node.
Definition: graph_model_item.h:166
virtual QVariant data(int column) const
This reimplements the data method to pick out the data relevant only for modules. ...
Definition: swu_graph_model_item.cc:15
SWUGraphModelItem(SWU *node, std::vector< SWUGraphModel::EdgeType * > *edges, std::vector< SWUGraphModel::EdgeType * > *incoming_edges, GraphModelItem *parent=0, SWUGraphModel::EdgeType *parent_edge=0)
Default constructor. Simply calls constructor of parent.
Definition: swu_graph_model_item.cc:5