The RotateTextsCommand class Open a dialog for edit the rotation of the current selected texts and texts group in diagram. Just instantiate this undo command and push it in a QUndoStack.
More...
#include <rotatetextscommand.h>
Inherits QUndoCommand.
|
| void | openDialog () |
| |
| void | setupAnimation (QObject *target, const QByteArray &propertyName, const QVariant &start, const QVariant &end) |
| |
The RotateTextsCommand class Open a dialog for edit the rotation of the current selected texts and texts group in diagram. Just instantiate this undo command and push it in a QUndoStack.
◆ RotateTextsCommand()
| RotateTextsCommand::RotateTextsCommand |
( |
Diagram * |
diagram, |
|
|
QUndoCommand * |
parent = nullptr |
|
) |
| |
◆ openDialog()
| void RotateTextsCommand::openDialog |
( |
| ) |
|
|
private |
◆ redo()
| void RotateTextsCommand::redo |
( |
| ) |
|
|
override |
◆ setupAnimation()
| void RotateTextsCommand::setupAnimation |
( |
QObject * |
target, |
|
|
const QByteArray & |
propertyName, |
|
|
const QVariant & |
start, |
|
|
const QVariant & |
end |
|
) |
| |
|
private |
◆ undo()
| void RotateTextsCommand::undo |
( |
| ) |
|
|
override |
◆ m_anim_group
| QParallelAnimationGroup* RotateTextsCommand::m_anim_group = nullptr |
|
private |
◆ m_cond_texts
◆ m_diagram
| QPointer<Diagram> RotateTextsCommand::m_diagram |
|
private |
◆ m_rotation
| qreal RotateTextsCommand::m_rotation =0 |
|
private |
The documentation for this class was generated from the following files: