|
GraphTool
1.0
Tool for analyzing and graphically visualizing code dependencies for Ericsson.
|
A class representing a single Module in the QT graph model. This reimplements. More...
#include <module_graph_model_item.h>


Public Member Functions | |
| ModuleGraphModelItem (Module *node, std::vector< ModuleGraphModel::EdgeType * > *edges, std::vector< ModuleGraphModel::EdgeType * > *incoming_edges, GraphModelItem *parent=0, ModuleGraphModel::EdgeType *parent_edge=0) | |
| Default constructor. Simply calls constructor of parent. | |
| virtual QVariant | data (int column) const |
| This reimplements the data method to pick out the data relevant only for modules. | |
Public Member Functions inherited from GenericGraphModelItem< Module, ModuleGraphModel::EdgeType > | |
| GenericGraphModelItem (Module *node, std::vector< ModuleGraphModel::EdgeType * > *edges, std::vector< ModuleGraphModel::EdgeType * > *incoming_edges, GraphModelItem *parent=0, ModuleGraphModel::EdgeType *parent_edge=0) | |
| Module * | node () |
| Return the underlying node. | |
|
std::vector < ModuleGraphModel::EdgeType * > * | edges () |
| Return the list of edge datas belonging to this node. | |
|
std::vector < ModuleGraphModel::EdgeType * > * | incoming_edges () |
| Return the list of edge datas belonging to this node. | |
| bool | self_referential () const |
| Whether this is a node that is a child of itself. | |
Public Member Functions inherited from GraphModelItem | |
| GraphModelItem (GraphModelItem *parent=0) | |
| If this is not in a tree, you can leave the parent as 0. | |
| void | appendChild (GraphModelItem *child) |
| Append a child to this node. | |
| GraphModelItem * | child (int row) |
| Returns a specific child (the one identified by row number row) of this node. | |
| GraphModelItem * | parent () |
| Returns the parent of this node. | |
| int | childCount () const |
| Return the number of child columns in this node. | |
| int | columnCount () const |
| Return the number of columns in this node (see the num above. | |
| int | row () const |
| Return the row number this node has. | |
| void | set_xy (int x, int y) |
| Set the x,y coordinate properties for this node. | |
| void | set_circular (bool circular) |
| bool | circular () const |
| void | set_num_of_modules (uint) |
| Set the number of modules for this item. | |
| void | set_degree (uint) |
| Set the degree of this item. | |
| void | set_num_of_files (uint) |
| Set the number of files for this item. | |
| void | set_opacity (int opacity) |
| void | set_color (QColor color) |
| void | set_edge_opacity (int opacity) |
| void | set_edge_color (QColor color) |
| void | set_mem_type (std::string type) |
Additional Inherited Members | |
Public Types inherited from GraphModelItem | |
| enum | column_index { NAME, DEPENDENCIES, DEPENDENTS, MODULES, FILES, DEGREE, CIRCULAR, SELF_REF, XPOS, YPOS, ABSOLUTE, IN_RUN_BLOCK, MEM_TYPE, COLOR, OPACITY, EDGE_COLOR, EDGE_OPACITY, NUM_COLS } |
Protected Attributes inherited from GenericGraphModelItem< Module, ModuleGraphModel::EdgeType > | |
| Module * | node_ |
| Information about underlying graph. | |
| ModuleGraphModel::EdgeType * | parent_edge_ |
| The edge that was used to reach this node in the tree. | |
|
std::vector < ModuleGraphModel::EdgeType * > * | edges_ |
| List of all outgoing edges (non-hierarchical data) | |
|
std::vector < ModuleGraphModel::EdgeType * > * | incoming_edges_ |
| List of all incoming edges (non-hierarchical data) | |
Protected Attributes inherited from GraphModelItem | |
| GraphModelItem * | parent_item_ |
A class representing a single Module in the QT graph model. This reimplements.
1.8.6