rocs/VisualEditor
AddConnectionHandAction.cpp
Go to the documentation of this file.
50 AddConnectionHandAction::AddConnectionHandAction(GraphScene *scene, PointerTypePtr pointerType, QObject *parent)
83 _from->data()->setProperty("ClickPosition", QVariant::fromValue<QPointF>(_from->mapFromScene(pos)));
108 DataStructurePtr activeDataStructure = DocumentManager::self().activeDocument()->activeDataStructure();
QGraphicsItem * itemAt(const QPointF &position) const
the base class for custom actions. This class provides the basic functionality for all custom actions...
Definition: AbstractAction.h:36
~AddConnectionHandAction()
Definition: AddConnectionHandAction.cpp:65
qreal x() const
qreal y() const
Definition: GraphScene.h:38
void setLine(const QLineF &line)
QPointF mapFromScene(const QPointF &point) const
bool executeMove(QPointF pos)
Definition: AddConnectionHandAction.cpp:90
bool executePress(QPointF pos)
Definition: AddConnectionHandAction.cpp:69
void addItem(QGraphicsItem *item)
AddConnectionHandAction(GraphScene *scene, QObject *parent=0)
Default constructor Creates add-edge action that adds data elements of default.
Definition: AddConnectionHandAction.cpp:35
bool executeRelease(QPointF pos)
Definition: AddConnectionHandAction.cpp:106
This file is part of the KDE documentation.
Documentation copyright © 1996-2020 The KDE developers.
Generated on Mon Jun 22 2020 13:16:27 by doxygen 1.8.7 written by Dimitri van Heesch, © 1997-2006
Documentation copyright © 1996-2020 The KDE developers.
Generated on Mon Jun 22 2020 13:16:27 by doxygen 1.8.7 written by Dimitri van Heesch, © 1997-2006
KDE's Doxygen guidelines are available online.