52 #ifndef DIALOGROTATION_H
53 #define DIALOGROTATION_H
55 #include <qcompilerdetection.h>
57 #include <QMetaObject>
63 #include "../vmisc/def.h"
64 #include "../../tools/drawTools/operation/vabstractoperation.h"
92 virtual void ShowDialog(
bool click) Q_DECL_OVERRIDE;
96 virtual void SelectedObject(
bool selected, quint32
id, quint32 tool) Q_DECL_OVERRIDE;
108 virtual void SaveData() Q_DECL_OVERRIDE;
109 virtual void closeEvent(QCloseEvent *event) Q_DECL_OVERRIDE;
virtual void CheckState() Q_DECL_FINAL
CheckState enable, when all is correct, or disable, when something wrong, button ok.
void SetAngle(const QString &value)
virtual void ShowVisualization() Q_DECL_OVERRIDE
virtual ~DialogRotation()
virtual void ChosenObject(quint32 id, const SceneObject &type) Q_DECL_OVERRIDE
virtual void closeEvent(QCloseEvent *event) Q_DECL_OVERRIDE
closeEvent handle when dialog cloded
void setOriginPointId(const quint32 &value)
DialogRotation(const VContainer *data, const quint32 &toolId, QWidget *parent=nullptr)
QVector< SourceItem > getSourceObjects() const
virtual void ShowDialog(bool click) Q_DECL_OVERRIDE
QVector< SourceItem > m_objects
angle formula of angle
virtual void SelectedObject(bool selected, quint32 id, quint32 tool) Q_DECL_OVERRIDE
void setSuffix(const QString &value)
virtual void SaveData() Q_DECL_OVERRIDE
SaveData Put dialog data in local variables.
QString getSuffix() const
QString angleFormula
angleTimer timer of check formula of angle */
quint32 getOriginPointId() const
void setSourceObjects(const QVector< SourceItem > &value)
QTimer * angleTimer
angleFlag true if value of angle is correct */
The VContainer class container of all variables.