52 #ifndef MOVEABSTRACTLABEL_H
53 #define MOVEABSTRACTLABEL_H
55 #include <qcompilerdetection.h>
56 #include <QMetaObject>
61 #include "../vundocommand.h"
69 QUndoCommand *parent =
nullptr);
73 virtual void undo() Q_DECL_OVERRIDE;
74 virtual
void redo() Q_DECL_OVERRIDE;
83 virtual
void Do(const QPointF &pos)=0;
virtual void redo() Q_DECL_OVERRIDE
QPointF GetNewPos() const
virtual ~MoveAbstractLabel()=default
MoveAbstractLabel(VAbstractPattern *doc, quint32 pointId, const QPointF &pos, QUndoCommand *parent=nullptr)
virtual void Do(const QPointF &pos)=0
virtual void undo() Q_DECL_OVERRIDE
quint32 GetPointId() const