|
graph_analysis
|
factory for EdgeItem-s: clones different types of EdgeItem instances (i.e. graphical edges) More...
#include <EdgeItemTypeManager.hpp>


Public Types | |
| typedef std::map< edge::Type, EdgeItemBase * > | ClassVisualizationMap |
Public Member Functions | |
| void | registerVisualization (const edge::Type &type, EdgeItemBase *graphicsItem) |
| EdgeItemBase * | createItem (GraphWidget *graphWidget, const graph_analysis::Edge::Ptr &edge, QGraphicsItem *parent, const std::string &type=std::string()) |
| clones a new graphical edge of a specified type More... | |
| QStringList | getSupportedTypes () const |
Protected Member Functions | |
| EdgeItemTypeManager () | |
| constructor More... | |
Friends | |
| class | base::Singleton< EdgeItemTypeManager > |
factory for EdgeItem-s: clones different types of EdgeItem instances (i.e. graphical edges)
| typedef std::map<edge::Type, EdgeItemBase*> graph_analysis::gui::EdgeItemTypeManager::ClassVisualizationMap |
|
protected |
constructor
| EdgeItemBase * graph_analysis::gui::EdgeItemTypeManager::createItem | ( | GraphWidget * | graphWidget, |
| const graph_analysis::Edge::Ptr & | edge, | ||
| QGraphicsItem * | parent, | ||
| const std::string & | type = std::string() |
||
| ) |
clones a new graphical edge of a specified type
| graphWidget | the managing graph widget to assume parenthood of the to-be-created item |
| edge | underlying conceptual edge |
| parent | Parent of this item |
| type | optional type parameter |
| QStringList graph_analysis::gui::EdgeItemTypeManager::getSupportedTypes | ( | ) | const |
| void graph_analysis::gui::EdgeItemTypeManager::registerVisualization | ( | const edge::Type & | type, |
| EdgeItemBase * | graphicsItem | ||
| ) |
|
friend |
1.8.13