|
| | TransformCommand (const QRectF &undoSelectionRect, const QPointF &undoTranslation, const qreal undoRotationAngle, const qreal undoScaleX, const qreal undoScaleY, const QPointF &undoTransformAnchor, const bool roundPixels, const QString &description, Editor *editor, QUndoCommand *parent=nullptr) |
| |
| void | undo () override |
| |
| void | redo () override |
| |
Public Member Functions inherited from UndoRedoCommand |
| | UndoRedoCommand (Editor *editor, QUndoCommand *parent=nullptr) |
| |
Public Member Functions inherited from QUndoCommand |
|
| QUndoCommand (QUndoCommand *parent) |
| |
|
| QUndoCommand (const QString &text, QUndoCommand *parent) |
| |
|
virtual void | undo () |
| |
|
virtual void | redo () |
| |
|
QString | text () const const |
| |
|
QString | actionText () const const |
| |
|
void | setText (const QString &text) |
| |
|
bool | isObsolete () const const |
| |
|
void | setObsolete (bool obsolete) |
| |
|
virtual int | id () const const |
| |
|
virtual bool | mergeWith (const QUndoCommand *command) |
| |
|
int | childCount () const const |
| |
|
const QUndoCommand * | child (int index) const const |
| |
|
| void | apply (const QRectF &selectionRect, const QPointF &translation, const qreal rotationAngle, const qreal scaleX, const qreal scaleY, const QPointF &selectionAnchor, const bool roundPixels) |
| |
Definition at line 95 of file undoredocommand.h.
◆ TransformCommand()
| TransformCommand::TransformCommand |
( |
const QRectF & |
undoSelectionRect, |
|
|
const QPointF & |
undoTranslation, |
|
|
const qreal |
undoRotationAngle, |
|
|
const qreal |
undoScaleX, |
|
|
const qreal |
undoScaleY, |
|
|
const QPointF & |
undoTransformAnchor, |
|
|
const bool |
roundPixels, |
|
|
const QString & |
description, |
|
|
Editor * |
editor, |
|
|
QUndoCommand * |
parent = nullptr |
|
) |
| |
◆ apply()
| void TransformCommand::apply |
( |
const QRectF & |
selectionRect, |
|
|
const QPointF & |
translation, |
|
|
const qreal |
rotationAngle, |
|
|
const qreal |
scaleX, |
|
|
const qreal |
scaleY, |
|
|
const QPointF & |
selectionAnchor, |
|
|
const bool |
roundPixels |
|
) |
| |
|
private |
◆ redo()
| void TransformCommand::redo |
( |
| ) |
|
|
overridevirtual |
◆ undo()
| void TransformCommand::undo |
( |
| ) |
|
|
overridevirtual |
◆ redoAnchor
| QPointF TransformCommand::redoAnchor |
|
private |
◆ redoRotationAngle
| qreal TransformCommand::redoRotationAngle |
|
private |
◆ redoScaleX
| qreal TransformCommand::redoScaleX |
|
private |
◆ redoScaleY
| qreal TransformCommand::redoScaleY |
|
private |
◆ redoSelectionRect
| QRectF TransformCommand::redoSelectionRect |
|
private |
◆ redoTranslation
| QPointF TransformCommand::redoTranslation |
|
private |
◆ roundPixels
| bool TransformCommand::roundPixels |
|
private |
◆ undoAnchor
| QPointF TransformCommand::undoAnchor |
|
private |
◆ undoRotationAngle
| qreal TransformCommand::undoRotationAngle |
|
private |
◆ undoScaleX
| qreal TransformCommand::undoScaleX |
|
private |
◆ undoScaleY
| qreal TransformCommand::undoScaleY |
|
private |
◆ undoSelectionRect
| QRectF TransformCommand::undoSelectionRect |
|
private |
◆ undoTranslation
| QPointF TransformCommand::undoTranslation |
|
private |
The documentation for this class was generated from the following files: