|
QElectroTech
0.8-dev
|
Go to the documentation of this file.
18 #ifndef ROTATETEXTSCOMMAND_H
19 #define ROTATETEXTSCOMMAND_H
21 #include <QUndoCommand>
26 class QParallelAnimationGroup;
43 void setupAnimation(QObject *target,
const QByteArray &propertyName,
const QVariant& start,
const QVariant& end);
52 #endif // ROTATETEXTSCOMMAND_H
void undo() override
Definition: rotatetextscommand.cpp:82
void redo() override
Definition: rotatetextscommand.cpp:94
void openDialog()
Definition: rotatetextscommand.cpp:106
void setupAnimation(QObject *target, const QByteArray &propertyName, const QVariant &start, const QVariant &end)
Definition: rotatetextscommand.cpp:137
QPointer< Diagram > m_diagram
Definition: rotatetextscommand.h:46
double orientation() const
Definition: qtextorientationspinboxwidget.cpp:53
static QTextOrientationSpinBoxWidget * createTextOrientationSpinBoxWidget()
QETApp::createTextOrientationSpinBoxWidget Instantiates a QTextOrientationSpinBoxWidget and configure...
Definition: qetapp.cpp:1272
QDoubleSpinBox * spinBox() const
Definition: qtextorientationspinboxwidget.cpp:46
Definition: diagramcontent.h:46
QHash< ConductorTextItem *, bool > m_cond_texts
Definition: rotatetextscommand.h:47
The Diagram class This class represents an electric diagram. It manages its various child elements,...
Definition: diagram.h:56
QList< ElementTextItemGroup * > selectedTextsGroup() const
DiagramContent::selectedTextsGroup.
Definition: diagramcontent.cpp:150
Definition: qtextorientationspinboxwidget.h:27
RotateTextsCommand(Diagram *diagram, QUndoCommand *parent=nullptr)
RotateTextsCommand::RotateTextsCommand.
Definition: rotatetextscommand.cpp:33
qreal m_rotation
Definition: rotatetextscommand.h:48
Definition: diagramtextitem.h:34
The ElementTextItemGroup class This class represent a group of element text Texts in the group can be...
Definition: elementtextitemgroup.h:36
QList< DiagramTextItem * > selectedTexts() const
DiagramContent::selectedTexts.
Definition: diagramcontent.cpp:130
QParallelAnimationGroup * m_anim_group
Definition: rotatetextscommand.h:49
@ Type
Definition: conductortextitem.h:42
Definition: conductortextitem.h:30
The RotateTextsCommand class Open a dialog for edit the rotation of the current selected texts and te...
Definition: rotatetextscommand.h:34
virtual bool wasRotateByUser() const
ConductorTextItem::wasRotateByUser.
Definition: conductortextitem.cpp:92
QIcon tr
Definition: qeticons.cpp:206
QIcon Cancel
Definition: qeticons.cpp:34