1 #ifndef SIMPT_EDITOR_EDITABLE_NODE_ITEM_H_INCLUDED
2 #define SIMPT_EDITOR_EDITABLE_NODE_ITEM_H_INCLUDED
25 #include <QGraphicsEllipseItem>
26 #include <QGraphicsScene>
60 virtual bool IsAtBoundary()
const;
75 virtual void Highlight(
bool highlighted);
82 virtual void SetHighlightColor(
const QColor& color = DEFAULT_HIGHLIGHT_COLOR);
90 void SetToolTip(std::list<SimPT_Sim::Cell*> cells, std::list<SimPT_Sim::Wall*> walls);
125 virtual QVariant itemChange(GraphicsItemChange change,
const QVariant &value);
130 virtual void paint(QPainter* painter,
const QStyleOptionGraphicsItem* option,
QWidget* widget = 0);
135 QColor m_highlight_color;
140 static const QColor DEFAULT_HIGHLIGHT_COLOR;
145 #endif // end_of_include_guard
Interface for an editable graphical representation.
Namespace for SimPT tissue editor package.
see the online Qt documentation
Namespace for the core simulator.
Editable graphical representation for Node.
Interface for EditableItem.
see the online Qt documentation