#include <vtoolmove.h>
Public Types | |
enum | { Type = UserType + static_cast<int>(Tool::Move) } |
Public Member Functions | |
virtual | ~VToolMove () Q_DECL_EQ_DEFAULT |
virtual void | setDialog () Q_DECL_OVERRIDE |
setDialog set dialog when user want change tool option. More... | |
virtual int | type () const Q_DECL_OVERRIDE |
VFormula | GetFormulaAngle () const |
void | SetFormulaAngle (const VFormula &value) |
VFormula | GetFormulaLength () const |
void | SetFormulaLength (const VFormula &value) |
VFormula | getFormulaRotation () const |
void | setFormulaRotation (const VFormula &value) |
QString | getOriginPointName () const |
quint32 | getOriginPointId () const |
void | setOriginPointId (const quint32 &value) |
virtual void | ShowVisualization (bool show) Q_DECL_OVERRIDE |
Public Member Functions inherited from VAbstractOperation | |
virtual | ~VAbstractOperation () Q_DECL_EQ_DEFAULT |
virtual QString | getTagName () const Q_DECL_OVERRIDE |
QString | Suffix () const |
void | setSuffix (const QString &suffix) |
virtual void | GroupVisibility (quint32 object, bool visible) Q_DECL_OVERRIDE |
virtual void | paint (QPainter *painter, const QStyleOptionGraphicsItem *option, QWidget *widget) Q_DECL_OVERRIDE |
virtual bool | isPointNameVisible (quint32 id) const Q_DECL_OVERRIDE |
virtual void | setPointNameVisiblity (quint32 id, bool visible) Q_DECL_OVERRIDE |
virtual void | setPointNamePosition (quint32 id, const QPointF &pos) Q_DECL_OVERRIDE |
Public Member Functions inherited from VDrawTool | |
VDrawTool (VAbstractPattern *doc, VContainer *data, quint32 id, QObject *parent=nullptr) | |
VDrawTool constructor. More... | |
virtual | ~VDrawTool () Q_DECL_EQ_DEFAULT |
QString | getLineType () const |
virtual void | setLineType (const QString &value) |
QString | getLineWeight () const |
virtual void | setLineWeight (const QString &value) |
Public Member Functions inherited from VInteractiveTool | |
VInteractiveTool (VAbstractPattern *doc, VContainer *data, quint32 id, QObject *parent=nullptr) | |
virtual | ~VInteractiveTool () Q_DECL_EQ_DEFAULT |
void | DialogLinkDestroy () |
Public Member Functions inherited from VAbstractTool | |
VAbstractTool (VAbstractPattern *doc, VContainer *data, quint32 id, QObject *parent=nullptr) | |
VAbstractTool container. More... | |
virtual | ~VAbstractTool () Q_DECL_OVERRIDE |
quint32 | getId () const |
getId return object id. More... | |
const VContainer * | getData () const |
getData return pointer to data container. More... | |
QMap< QString, quint32 > | PointsList () const |
Public Member Functions inherited from VDataTool | |
VDataTool (VContainer *data, QObject *parent=nullptr) | |
VDataTool constructor. More... | |
virtual | ~VDataTool () Q_DECL_EQ_DEFAULT |
VContainer | getData () const |
getData return data container. More... | |
void | setData (const VContainer *value) |
setData set data container. More... | |
virtual quint32 | referens () const |
referens return count of referens. More... | |
virtual void | incrementReferens () |
incrementReferens increment referens. More... | |
virtual void | decrementReferens () |
decrementReferens decrement referens. More... | |
Static Public Member Functions | |
static VToolMove * | Create (QSharedPointer< DialogTool > dialog, VMainGraphicsScene *scene, VAbstractPattern *doc, VContainer *data) |
static VToolMove * | Create (quint32 _id, QString &formulaAngle, QString &formulaLength, QString &formulaRotation, quint32 &rotationOriginId, const QString &suffix, const QVector< SourceItem > &source, const QVector< DestinationItem > &destination, VMainGraphicsScene *scene, VAbstractPattern *doc, VContainer *data, const Document &parse, const Source &typeCreation) |
Static Public Member Functions inherited from VAbstractOperation | |
static void | ExtractData (const QDomElement &domElement, QVector< SourceItem > &source, QVector< DestinationItem > &destination) |
Static Public Member Functions inherited from VAbstractTool | |
static qreal | CheckFormula (const quint32 &toolId, QString &formula, VContainer *data) |
CheckFormula check formula. More... | |
static const QStringList | Colors () |
static QMap< QString, QString > | ColorsList () |
static QMap< QString, QString > | supportColorsList () |
static QMap< QString, QString > | backgroundColorsList () |
static QPixmap | createColorIcon (const int w, const int h, const QString &color) |
static const QStringList | fills () |
static void | AddRecord (const quint32 id, const Tool &toolType, VAbstractPattern *doc) |
AddRecord add record about tool in history. More... | |
static void | AddNodes (VAbstractPattern *doc, QDomElement &domElement, const VPiecePath &path) |
static void | AddNodes (VAbstractPattern *doc, QDomElement &domElement, const VPiece &piece) |
template<typename T > | |
static quint32 | CreateNode (VContainer *data, quint32 id) |
CreateNode create new node for detail. More... | |
Static Public Attributes | |
static const QString | ToolType = QStringLiteral("moving") |
Static Public Attributes inherited from VAbstractOperation | |
static const QString | TagItem = QStringLiteral("item") |
static const QString | TagSource = QStringLiteral("source") |
static const QString | TagDestination = QStringLiteral("destination") |
Static Public Attributes inherited from VAbstractTool | |
static bool | m_suppressContextMenu = false |
static const QString | AttrInUse = QStringLiteral("inUse") |
Protected Slots | |
virtual void | showContextMenu (QGraphicsSceneContextMenuEvent *event, quint32 id=NULL_ID) Q_DECL_OVERRIDE |
Protected Slots inherited from VDrawTool | |
virtual void | showContextMenu (QGraphicsSceneContextMenuEvent *event, quint32 id=NULL_ID)=0 |
Protected Member Functions | |
virtual void | SetVisualization () Q_DECL_OVERRIDE |
virtual void | SaveDialog (QDomElement &domElement) Q_DECL_OVERRIDE |
SaveDialog save options into file after change in dialog. More... | |
virtual void | ReadToolAttributes (const QDomElement &domElement) Q_DECL_OVERRIDE |
virtual void | SaveOptions (QDomElement &tag, QSharedPointer< VGObject > &obj) Q_DECL_OVERRIDE |
virtual QString | makeToolTip () const Q_DECL_OVERRIDE |
Protected Member Functions inherited from VAbstractOperation | |
VAbstractOperation (VAbstractPattern *doc, VContainer *data, quint32 id, const QString &suffix, const QVector< SourceItem > &source, const QVector< DestinationItem > &destination, QGraphicsItem *parent=nullptr) | |
virtual void | AddToFile () Q_DECL_OVERRIDE |
AddToFile add tag with Information about tool into file. More... | |
void | updatePointNamePosition (quint32 id, const QPointF &pos) |
void | SaveSourceDestination (QDomElement &tag) |
template<typename T > | |
void | ShowToolVisualization (bool show) |
void | InitCurve (quint32 id, VContainer *data, GOType curveType, SceneObject sceneType) |
void | InitOperatedObjects () |
QString | complexPointToolTip (quint32 itemId) const |
QString | complexCurveToolTip (quint32 itemId) const |
Protected Member Functions inherited from VDrawTool | |
void | AddToCalculation (const QDomElement &domElement) |
typeLine line weight. More... | |
void | addDependence (QList< quint32 > &list, quint32 objectId) const |
virtual void | SaveDialogChange () Q_DECL_FINAL |
void | SaveOption (QSharedPointer< VGObject > &obj) |
bool | CorrectDisable (bool disable, const QString &draftBlockName) const |
void | ReadAttributes () |
virtual void | updatePointNameVisibility (quint32 id, bool visible) |
template<typename Dialog > | |
void | ContextMenu (QGraphicsSceneContextMenuEvent *event, quint32 itemId=NULL_ID, const RemoveOption &showRemove=RemoveOption::Enable, const Referens &ref=Referens::Follow) |
ContextMenu show context menu for tool. More... | |
template<typename Item > | |
void | ShowItem (Item *item, quint32 id, bool enable) |
ShowItem highlight tool. More... | |
template<typename T > | |
QString | ObjectName (quint32 id) const |
ObjectName get object (point, curve, arc) name. More... | |
Protected Member Functions inherited from VAbstractTool | |
virtual void | RefreshDataInFile () |
RefreshDataInFile refresh attributes in file. If attributes don't exist create them. More... | |
virtual void | RemoveReferens () |
RemoveReferens decrement value of reference. More... | |
virtual void | deleteTool (bool ask=true) |
deleteTool full delete object form scene and file. More... | |
template<typename T > | |
void | AddVisualization () |
virtual void | ToolCreation (const Source &typeCreation) |
Private Member Functions | |
VToolMove (VAbstractPattern *doc, VContainer *data, quint32 id, const QString &formulaAngle, const QString &formulaLength, const QString &formulaRotation, const quint32 &originPointId, const QString &suffix, const QVector< SourceItem > &source, const QVector< DestinationItem > &destination, const Source &typeCreation, QGraphicsItem *parent=nullptr) | |
Static Private Member Functions | |
static DestinationItem | createPoint (quint32 idTool, quint32 idItem, qreal angle, qreal length, qreal rotation, const QPointF &rotationOrigin, const QString &suffix, VContainer *data) |
template<class Item > | |
static DestinationItem | createItem (quint32 idTool, quint32 idItem, qreal angle, qreal length, qreal rotation, const QPointF &rotationOrigin, const QString &suffix, VContainer *data) |
template<class Item > | |
static DestinationItem | createArc (quint32 idTool, quint32 idItem, qreal angle, qreal length, qreal rotation, const QPointF &rotationOrigin, const QString &suffix, VContainer *data) |
template<class Item > | |
static DestinationItem | createCurve (quint32 idTool, quint32 idItem, qreal angle, qreal length, qreal rotation, const QPointF &rotationOrigin, const QString &suffix, VContainer *data) |
template<class Item > | |
static DestinationItem | createCurveWithSegments (quint32 idTool, quint32 idItem, qreal angle, qreal length, qreal rotation, const QPointF &rotationOrigin, const QString &suffix, VContainer *data) |
static void | updatePoint (quint32 idTool, quint32 idItem, qreal angle, qreal length, qreal rotation, const QPointF &rotationOrigin, const QString &suffix, VContainer *data, const DestinationItem &item) |
template<class Item > | |
static void | updateItem (quint32 idTool, quint32 idItem, qreal angle, qreal length, qreal rotation, const QPointF &rotationOrigin, const QString &suffix, VContainer *data, quint32 id) |
template<class Item > | |
static void | updateArc (quint32 idTool, quint32 idItem, qreal angle, qreal length, qreal rotation, const QPointF &rotationOrigin, const QString &suffix, VContainer *data, quint32 id) |
template<class Item > | |
static void | updateCurve (quint32 idTool, quint32 idItem, qreal angle, qreal length, qreal rotation, const QPointF &rotationOrigin, const QString &suffix, VContainer *data, quint32 id) |
template<class Item > | |
static void | updateCurveWithSegments (quint32 idTool, quint32 idItem, qreal angle, qreal length, qreal rotation, const QPointF &rotationOrigin, const QString &suffix, VContainer *data, quint32 id) |
Private Attributes | |
QString | formulaAngle |
QString | formulaLength |
QString | formulaRotation |
quint32 | m_originPointId |
Additional Inherited Members | |
Public Slots inherited from VAbstractOperation | |
virtual void | FullUpdateFromFile () Q_DECL_OVERRIDE |
virtual void | AllowHover (bool enabled) Q_DECL_OVERRIDE |
virtual void | AllowSelecting (bool enabled) Q_DECL_OVERRIDE |
virtual void | EnableToolMove (bool move) Q_DECL_OVERRIDE |
void | AllowPointHover (bool enabled) |
void | AllowPointSelecting (bool enabled) |
void | AllowPointLabelHover (bool enabled) |
void | AllowPointLabelSelecting (bool enabled) |
void | AllowSplineHover (bool enabled) |
void | AllowSplineSelecting (bool enabled) |
void | AllowSplinePathHover (bool enabled) |
void | AllowSplinePathSelecting (bool enabled) |
void | AllowArcHover (bool enabled) |
void | AllowArcSelecting (bool enabled) |
void | AllowElArcHover (bool enabled) |
void | AllowElArcSelecting (bool enabled) |
virtual void | ToolSelectionType (const SelectionType &type) Q_DECL_OVERRIDE |
virtual void | Disable (bool disable, const QString &draftBlockName) Q_DECL_OVERRIDE |
void | ObjectSelected (bool selected, quint32 objId) |
void | deletePoint () |
void | pointNamePositionChanged (const QPointF &pos, quint32 labelId) |
virtual void | updatePointNameVisibility (quint32 id, bool visible) Q_DECL_OVERRIDE |
Public Slots inherited from VDrawTool | |
virtual void | ShowTool (quint32 id, bool enable) |
ShowTool highlight tool. More... | |
virtual void | activeBlockChanged (const QString &newName) |
activeBlockChanged disable or enable context menu after change active draft block. More... | |
void | blockNameChanged (const QString &oldName, const QString &newName) |
blockNameChanged save new name active draft block. More... | |
virtual void | EnableToolMove (bool move) |
virtual void | Disable (bool disable, const QString &draftBlockName)=0 |
virtual void | piecesMode (bool mode) |
Public Slots inherited from VInteractiveTool | |
void | FullUpdateFromGuiOk (int result) |
FullUpdateFromGuiOk refresh tool data after change in options. More... | |
void | FullUpdateFromGuiApply () |
FullUpdateFromGuiApply refresh tool data after change in options but do not delete dialog. More... | |
Public Slots inherited from VAbstractTool | |
virtual void | FullUpdateFromFile ()=0 |
FullUpdateFromFile update tool data form file. More... | |
virtual void | AllowHover (bool enabled)=0 |
virtual void | AllowSelecting (bool enabled)=0 |
virtual void | ToolSelectionType (const SelectionType &type) |
Signals inherited from VDrawTool | |
void | ChangedToolSelection (bool selected, quint32 object, quint32 tool) |
Signals inherited from VAbstractTool | |
void | toolHasChanges () |
toolHasChanges emit if tool create change that need save. More... | |
void | chosenTool (quint32 id, SceneObject type) |
chosenTool emit if object was clicked. More... | |
void | LiteUpdateTree (const Document &parse) |
FullUpdateTree emit if need reparse pattern file. More... | |
void | ToolTip (const QString &toolTip) |
Protected Types inherited from VDrawTool | |
enum class | RemoveOption : bool { Disable = false , Enable = true } |
enum class | Referens : bool { Follow = true , Ignore = false } |
Static Protected Member Functions inherited from VAbstractOperation | |
template<typename T > | |
static void | initOperationToolConnections (VMainGraphicsScene *scene, T *tool) |
Static Protected Member Functions inherited from VDrawTool | |
template<typename T > | |
static void | InitDrawToolConnections (VMainGraphicsScene *scene, T *tool) |
Static Protected Member Functions inherited from VAbstractTool | |
static int | ConfirmDeletion () |
static QDomElement | AddSANode (VAbstractPattern *doc, const QString &tagName, const VPieceNode &node) |
static void | AddNode (VAbstractPattern *doc, QDomElement &domElement, const VPieceNode &node) |
static QVector< VPieceNode > | PrepareNodes (const VPiecePath &path, VMainGraphicsScene *scene, VAbstractPattern *doc, VContainer *data) |
static quint32 | PrepareNode (const VPieceNode &node, VMainGraphicsScene *scene, VAbstractPattern *doc, VContainer *data) |
Protected Attributes inherited from VAbstractOperation | |
QString | suffix |
QVector< SourceItem > | source |
QVector< DestinationItem > | destination |
QMap< quint32, VAbstractSimple * > | operatedObjects |
Protected Attributes inherited from VDrawTool | |
QString | activeBlockName |
QString | m_lineType |
activeBlockName name of tool's pattern peace. More... | |
QString | m_lineWeight |
typeLine line type. More... | |
Protected Attributes inherited from VInteractiveTool | |
QSharedPointer< DialogTool > | m_dialog |
m_dialog tool's dialog options. More... | |
Protected Attributes inherited from VAbstractTool | |
VAbstractPattern * | doc |
doc dom document container More... | |
const quint32 | m_id |
id object id. More... | |
QPointer< Visualization > | vis |
SelectionType | selectionType |
Protected Attributes inherited from VDataTool | |
VContainer | data |
data container with data More... | |
quint32 | _referens |
_referens keep count tools what use this tool. If value more than 1 you can't delete tool. More... | |
Definition at line 71 of file vtoolmove.h.
anonymous enum |
Enumerator | |
---|---|
Type |
Definition at line 89 of file vtoolmove.h.
|
virtual |
|
private |
Definition at line 148 of file vtoolmove.cpp.
References VAbstractOperation::InitOperatedObjects(), and VAbstractTool::ToolCreation().
Referenced by Create().
|
static |
Definition at line 178 of file vtoolmove.cpp.
References VDataTool::data, VAbstractTool::doc, FromGui, FullParse, VInteractiveTool::m_dialog, SCASSERT, VAbstractOperation::source, and VAbstractOperation::suffix.
Referenced by VPattern::ParseToolMove().
|
static |
Definition at line 203 of file vtoolmove.cpp.
References VAbstractTool::AddRecord(), VAbstractPattern::AddTool(), AllCurves, Arc, VAbstractTool::CheckFormula(), createPoint(), CubicBezier, CubicBezierPath, Curve, VDataTool::data, VAbstractOperation::destination, VAbstractTool::doc, EllipticalArc, anonymous_namespace{vtoolmove.cpp}::findRotationOrigin(), formulaAngle, formulaLength, formulaRotation, FromGui, FullParse, VContainer::GeometricObject(), VContainer::GetGObject(), VContainer::getNextId(), SourceItem::id, VAbstractPattern::IncrementReferens(), VAbstractOperation::initOperationToolConnections(), Move, NULL_ID, Path, Point, qApp, VAbstractOperation::source, Spline, SplinePath, VAbstractOperation::suffix, Unknown, updatePoint(), VAbstractPattern::UpdateToolData(), VToolMove(), VPointF::x(), and VPointF::y().
|
staticprivate |
Definition at line 630 of file vtoolmove.cpp.
References VContainer::AddArc(), VDataTool::data, VContainer::GeometricObject(), DestinationItem::id, Item, and VAbstractOperation::suffix.
|
staticprivate |
Definition at line 642 of file vtoolmove.cpp.
References VContainer::AddSpline(), VDataTool::data, VContainer::GeometricObject(), DestinationItem::id, Item, and VAbstractOperation::suffix.
|
staticprivate |
Definition at line 653 of file vtoolmove.cpp.
References VContainer::AddCurveWithSegments(), VDataTool::data, VContainer::GeometricObject(), DestinationItem::id, Item, and VAbstractOperation::suffix.
|
staticprivate |
Definition at line 614 of file vtoolmove.cpp.
References VContainer::AddGObject(), VDataTool::data, VContainer::GeometricObject(), DestinationItem::id, Item, DestinationItem::mx, DestinationItem::my, and VAbstractOperation::suffix.
|
staticprivate |
Definition at line 596 of file vtoolmove.cpp.
References VContainer::AddGObject(), VDataTool::data, VContainer::GeometricObject(), DestinationItem::id, DestinationItem::mx, DestinationItem::my, DestinationItem::showPointName, and VAbstractOperation::suffix.
Referenced by Create().
VFormula VToolMove::GetFormulaAngle | ( | ) | const |
Definition at line 398 of file vtoolmove.cpp.
References degreeSymbol, VFormula::Eval(), formulaAngle, VAbstractTool::getData(), VAbstractTool::m_id, VFormula::setCheckZero(), VFormula::setPostfix(), and VFormula::setToolId().
Referenced by makeToolTip(), VToolOptionsPropertyBrowser::showOptionsToolMove(), and VToolOptionsPropertyBrowser::updateOptionsToolMove().
VFormula VToolMove::GetFormulaLength | ( | ) | const |
Definition at line 421 of file vtoolmove.cpp.
References VFormula::Eval(), formulaLength, VAbstractTool::getData(), VAbstractTool::m_id, qApp, VFormula::setCheckZero(), VFormula::setPostfix(), VFormula::setToolId(), and UnitsToStr().
Referenced by makeToolTip(), VToolOptionsPropertyBrowser::showOptionsToolMove(), and VToolOptionsPropertyBrowser::updateOptionsToolMove().
VFormula VToolMove::getFormulaRotation | ( | ) | const |
Definition at line 444 of file vtoolmove.cpp.
References degreeSymbol, VFormula::Eval(), formulaRotation, VAbstractTool::getData(), VAbstractTool::m_id, VFormula::setCheckZero(), VFormula::setPostfix(), and VFormula::setToolId().
Referenced by makeToolTip(), VToolOptionsPropertyBrowser::showOptionsToolMove(), and VToolOptionsPropertyBrowser::updateOptionsToolMove().
quint32 VToolMove::getOriginPointId | ( | ) | const |
Definition at line 480 of file vtoolmove.cpp.
References m_originPointId.
QString VToolMove::getOriginPointName | ( | ) | const |
Definition at line 467 of file vtoolmove.cpp.
References VDataTool::data, VContainer::GetGObject(), and m_originPointId.
Referenced by makeToolTip(), VToolOptionsPropertyBrowser::showOptionsToolMove(), and VToolOptionsPropertyBrowser::updateOptionsToolMove().
|
protectedvirtual |
Reimplemented from VDrawTool.
Definition at line 562 of file vtoolmove.cpp.
References GetFormulaAngle(), GetFormulaLength(), getFormulaRotation(), getOriginPointName(), qApp, and UnitsToStr().
|
protectedvirtual |
Reimplemented from VAbstractOperation.
Definition at line 536 of file vtoolmove.cpp.
References AttrAngle, AttrCenter, AttrLength, AttrRotationAngle, AttrSuffix, VAbstractTool::doc, formulaAngle, formulaLength, formulaRotation, VDomDocument::GetParametrString(), VDomDocument::GetParametrUInt(), m_originPointId, NULL_ID_STR, VAbstractOperation::ReadToolAttributes(), and VAbstractOperation::suffix.
|
protectedvirtual |
SaveDialog save options into file after change in dialog.
Implements VDrawTool.
Definition at line 518 of file vtoolmove.cpp.
References AttrAngle, AttrCenter, AttrLength, AttrRotationAngle, AttrSuffix, VAbstractTool::doc, VInteractiveTool::m_dialog, VAbstractOperation::SaveSourceDestination(), SCASSERT, VDomDocument::SetAttribute(), and VAbstractOperation::source.
|
protectedvirtual |
Reimplemented from VAbstractOperation.
Definition at line 549 of file vtoolmove.cpp.
References AttrAngle, AttrCenter, AttrLength, AttrRotationAngle, AttrSuffix, AttrType, VAbstractTool::doc, formulaAngle, formulaLength, formulaRotation, m_originPointId, VAbstractOperation::SaveOptions(), VDomDocument::SetAttribute(), VAbstractOperation::suffix, and ToolType.
|
virtual |
setDialog set dialog when user want change tool option.
Reimplemented from VInteractiveTool.
Definition at line 164 of file vtoolmove.cpp.
References formulaAngle, formulaLength, formulaRotation, VInteractiveTool::m_dialog, m_originPointId, SCASSERT, VAbstractOperation::source, and VAbstractOperation::suffix.
void VToolMove::SetFormulaAngle | ( | const VFormula & | value | ) |
Definition at line 409 of file vtoolmove.cpp.
References VFormula::error(), formulaAngle, FromUser, VContainer::GetFakeGObject(), VFormula::GetFormula(), VAbstractTool::m_id, and VDrawTool::SaveOption().
Referenced by VToolOptionsPropertyBrowser::changeDataToolMove().
void VToolMove::SetFormulaLength | ( | const VFormula & | value | ) |
Definition at line 432 of file vtoolmove.cpp.
References VFormula::error(), formulaLength, FromUser, VContainer::GetFakeGObject(), VFormula::GetFormula(), VAbstractTool::m_id, and VDrawTool::SaveOption().
Referenced by VToolOptionsPropertyBrowser::changeDataToolMove().
void VToolMove::setFormulaRotation | ( | const VFormula & | value | ) |
Definition at line 455 of file vtoolmove.cpp.
References VFormula::error(), formulaRotation, FromUser, VContainer::GetFakeGObject(), VFormula::GetFormula(), VAbstractTool::m_id, and VDrawTool::SaveOption().
Referenced by VToolOptionsPropertyBrowser::changeDataToolMove().
void VToolMove::setOriginPointId | ( | const quint32 & | value | ) |
Definition at line 486 of file vtoolmove.cpp.
References VDataTool::data, VContainer::GetFakeGObject(), VAbstractTool::m_id, m_originPointId, and VDrawTool::SaveOption().
Referenced by VToolOptionsPropertyBrowser::changeDataToolMove().
|
protectedvirtual |
Implements VAbstractTool.
Definition at line 501 of file vtoolmove.cpp.
References formulaAngle, formulaLength, formulaRotation, m_originPointId, qApp, VisToolMove::RefreshGeometry(), SCASSERT, VisToolMove::SetAngle(), VisToolMove::SetLength(), VisOperation::setObjects(), VisToolMove::setOriginPointId(), VisToolMove::setRotation(), VAbstractOperation::source, sourceToObjects(), and VAbstractTool::vis.
|
protectedvirtualslot |
Definition at line 582 of file vtoolmove.cpp.
|
virtual |
Implements VAbstractTool.
Definition at line 495 of file vtoolmove.cpp.
Referenced by VToolOptionsPropertyBrowser::showOptionsToolMove().
|
inlinevirtual |
Definition at line 88 of file vtoolmove.h.
References Type.
|
staticprivate |
Definition at line 689 of file vtoolmove.cpp.
References VContainer::AddArc(), VDataTool::data, VContainer::GeometricObject(), Item, and VAbstractOperation::suffix.
|
staticprivate |
Definition at line 698 of file vtoolmove.cpp.
References VContainer::AddSpline(), VDataTool::data, VContainer::GeometricObject(), Item, and VAbstractOperation::suffix.
|
staticprivate |
Definition at line 707 of file vtoolmove.cpp.
References VContainer::AddCurveWithSegments(), VDataTool::data, VContainer::GeometricObject(), Item, and VAbstractOperation::suffix.
|
staticprivate |
Definition at line 678 of file vtoolmove.cpp.
References VDataTool::data, VContainer::GeometricObject(), Item, VAbstractOperation::suffix, and VContainer::UpdateGObject().
|
staticprivate |
Definition at line 664 of file vtoolmove.cpp.
References VDataTool::data, VContainer::GeometricObject(), DestinationItem::id, DestinationItem::mx, DestinationItem::my, DestinationItem::showPointName, VAbstractOperation::suffix, and VContainer::UpdateGObject().
Referenced by Create().
|
private |
Definition at line 118 of file vtoolmove.h.
Referenced by Create(), GetFormulaAngle(), ReadToolAttributes(), SaveOptions(), setDialog(), SetFormulaAngle(), and SetVisualization().
|
private |
Definition at line 119 of file vtoolmove.h.
Referenced by Create(), GetFormulaLength(), ReadToolAttributes(), SaveOptions(), setDialog(), SetFormulaLength(), and SetVisualization().
|
private |
Definition at line 120 of file vtoolmove.h.
Referenced by Create(), getFormulaRotation(), ReadToolAttributes(), SaveOptions(), setDialog(), setFormulaRotation(), and SetVisualization().
|
private |
Definition at line 121 of file vtoolmove.h.
Referenced by getOriginPointId(), getOriginPointName(), ReadToolAttributes(), SaveOptions(), setDialog(), setOriginPointId(), and SetVisualization().
|
static |
Definition at line 86 of file vtoolmove.h.
Referenced by VPattern::ParseOperationElement(), and SaveOptions().