18#ifndef ROTATESELECTIONCOMMAND_H
19#define ROTATESELECTIONCOMMAND_H
21#include <QUndoCommand>
Definition conductortextitem.h:30
The Diagram class This class represents an electric diagram. It manages its various child elements,...
Definition diagram.h:56
The QPropertyUndoCommand class This undo command manage QProperty of a QObject. This undo command can...
Definition qpropertyundocommand.h:34
The RotateSelectionCommand class Rotate the selected items in the given diagram.
Definition rotateselectioncommand.h:34
void undo() override
RotateSelectionCommand::undo.
Definition rotateselectioncommand.cpp:86
void redo() override
RotateSelectionCommand::redo.
Definition rotateselectioncommand.cpp:102
QHash< ConductorTextItem *, bool > m_rotate_by_user
Definition rotateselectioncommand.h:46
QList< QPropertyUndoCommand * > m_undo
Definition rotateselectioncommand.h:47
bool isValid()
RotateSelectionCommand::isValid.
Definition rotateselectioncommand.cpp:118
QList< QPointer< ConductorTextItem > > m_cond_text
Definition rotateselectioncommand.h:45
Diagram * m_diagram
Definition rotateselectioncommand.h:43