|
| enum | { Type = static_cast<int>(UserType) + 1
} |
| |
|
|
void | setName (QString const &t_name) |
| |
|
void | setNodeSize (qint32 t_size) |
| |
|
void | setColor (QColor t_color) |
| |
|
void | setNodeType (qint32 t_nodeType) |
| |
|
void | changeNode (QAction *action=nullptr) |
| |
|
void | changeColor () |
| |
|
void | changeName () |
| |
|
void | moveLabel () |
| |
|
void | updateEdge () |
| |
|
|
| Node (Diagram *DiagramWidget) |
| |
|
int | type () const override |
| |
|
QString | getName () const |
| |
|
qint32 | getNodeSize () const |
| |
|
QColor | getColor () const |
| |
|
qint32 | getNodeType () const |
| |
|
bool | hasGraphFocus () const |
| |
|
bool | isOperator () const |
| |
|
void | focusInGraph () |
| |
|
void | unFocusInGraph () |
| |
|
void | setOperator (bool t_op) |
| |
|
void | setGridPos (qreal x, qreal y) |
| |
|
void | setDiagramWidget (DiagramWidget *t_widget) |
| |
|
QRectF | boundingRect () const override |
| |
|
QPainterPath | shape () const override |
| |
|
void | paint (QPainter *painter, const QStyleOptionGraphicsItem *option, QWidget *widget) override |
| |
|
void | paintCross (QPainter *painter) |
| |
|
void | paintDisk (QPainter *painter) |
| |
|
void | paintCircle (QPainter *painter) |
| |
|
void | paintHatch (QPainter *painter) |
| |
|
void | show () |
| |
|
void | hide () |
| |
|
|
static std::pair< QPointF, QPointF > | getEffectiveNodes (Node *first, Node *second) |
| |
|
|
static constexpr qint32 | size = 16 |
| |
|
static constexpr qreal | zValue = -1 |
| |
|
|
QVariant | itemChange (GraphicsItemChange change, const QVariant &value) override |
| |
|
void | mouseMoveEvent (QGraphicsSceneMouseEvent *event) override |
| |
|
void | mousePressEvent (QGraphicsSceneMouseEvent *event) override |
| |
|
void | mouseDoubleClickEvent (QGraphicsSceneMouseEvent *event) override |
| |
|
void | mouseReleaseEvent (QGraphicsSceneMouseEvent *event) override |
| |
|
void | dropEvent (QGraphicsSceneDragDropEvent *event) override |
| |
|
void | update () |
| |
|
|
QPointF | oldPos |
| |
|
Diagram * | graph |
| |
|
DiagramWidget * | widget |
| |
|
QColor | color |
| |
|
qint32 | nodeSize |
| |
|
qint32 | nodeType |
| |
|
qint32 | doubleClicked = 0 |
| |
|
bool | graphFocus |
| |
|
bool | displayNode |
| |
The documentation for this class was generated from the following files:
- /home/uhlrich/Bureau/MARTY/newlife/marty-dev/grafed/grafed-gui/node.h
- /home/uhlrich/Bureau/MARTY/newlife/marty-dev/grafed/grafed-gui/node.cpp