Go to the documentation of this file.
16#ifndef KDSME_COMMAND_MODIFYELEMENTCOMMAND_P_H
17#define KDSME_COMMAND_MODIFYELEMENTCOMMAND_P_H
44 int id()
const override
49 Q_INVOKABLE
void moveBy(qreal dx, qreal dy);
50 Q_INVOKABLE
void setGeometry(
const QRectF &geometry);
54 bool mergeWith(
const QUndoCommand *other)
override;
71 QPointer<Element> m_item;
75 QRectF m_newGeometry, m_oldGeometry;
Command(StateModel *model, QUndoCommand *parent=nullptr)
ModifyElementCommand(Element *item, QUndoCommand *parent=nullptr)
@ UserOperation
Subclass takes care of executing this operation.