52 #ifndef DIALOGMOVING_H
53 #define DIALOGMOVING_H
55 #include <qcompilerdetection.h>
57 #include <QMetaObject>
63 #include "../../tools/drawTools/operation/vabstractoperation.h"
64 #include "../vmisc/def.h"
95 virtual void ShowDialog(
bool click) Q_DECL_OVERRIDE;
102 virtual void SelectedObject(
bool selected, quint32
id, quint32 tool) Q_DECL_OVERRIDE;
121 virtual void SaveData() Q_DECL_OVERRIDE;
122 virtual void closeEvent(QCloseEvent *event) Q_DECL_OVERRIDE;
void originChanged(const QString &text)
void SetAngle(const QString &value)
QString getRotation() const
QString angleFormula
angleFlag true if value of angle is correct */
quint32 getOriginPointId() const
virtual void closeEvent(QCloseEvent *event) Q_DECL_OVERRIDE
closeEvent handle when dialog cloded
virtual void SaveData() Q_DECL_OVERRIDE
SaveData Put dialog data in local variables.
QVector< SourceItem > m_objects
rotationTimer timer of check formula of rotation */
void setSuffix(const QString &value)
QString rotationFormula
rotationFlag true if value of length is correct */
virtual void ChosenObject(quint32 id, const SceneObject &type) Q_DECL_OVERRIDE
QString lengthFormula
lengthFlag true if value of length is correct */
virtual void SelectedObject(bool selected, quint32 id, quint32 tool) Q_DECL_OVERRIDE
bool lengthFlag
angleTimer timer of check formula of angle */
void setOriginPointId(const quint32 &value)
void SetLength(const QString &value)
virtual void CheckState() Q_DECL_FINAL
CheckState enable, when all is correct, or disable, when something wrong, button ok.
virtual void ShowDialog(bool click) Q_DECL_OVERRIDE
bool rotationFlag
lengthTimer timer of check formula of length */
QTimer * angleTimer
angle formula of angle */
QString GetLength() const
QTimer * lengthTimer
length formula of length */
QVector< SourceItem > getSourceObjects() const
void setSourceObjects(const QVector< SourceItem > &value)
QString getSuffix() const
void setRotation(const QString &value)
DialogMove(const VContainer *data, quint32 toolId, QWidget *parent=nullptr)
void editRotationFormula()
QTimer * rotationTimer
rotationFormula of rotation */
virtual void ShowVisualization() Q_DECL_OVERRIDE
The VContainer class container of all variables.