52 #ifndef DIALOGSPLINE_H
53 #define DIALOGSPLINE_H
55 #include <qcompilerdetection.h>
56 #include <QMetaObject>
58 #include <QSharedPointer>
62 #include "../vgeometry/vspline.h"
63 #include "../vmisc/def.h"
98 virtual void ShowDialog(
bool click) Q_DECL_OVERRIDE;
106 virtual void SaveData() Q_DECL_OVERRIDE;
107 virtual void closeEvent(QCloseEvent *event) Q_DECL_OVERRIDE;
The DialogSpline class dialog for ToolSpline. Help create spline and edit option.
virtual void ShowVisualization() Q_DECL_OVERRIDE
void setPenStyle(const QString &value)
int formulaBaseHeightAngle1
formulaBaseHeight base height defined by dialogui
DialogSpline(const VContainer *data, const quint32 &toolId, QWidget *parent=nullptr)
DialogSpline create dialog.
virtual void closeEvent(QCloseEvent *event) Q_DECL_OVERRIDE
closeEvent handle when dialog cloded
virtual ~DialogSpline() Q_DECL_OVERRIDE
void DeployAngle2TextEdit()
const QSharedPointer< VPointF > GetP4() const
qint32 newDuplicate
spl spline
virtual void CheckState() Q_DECL_FINAL
CheckState enable, when all is correct, or disable, when something wrong, button ok.
bool flagAngle1
flagAngle1 true if value of first angle is correct
QString getLineWeight() const
getLineWeight return weight of the lines
VSpline CurrentSpline() const
QString getLineColor() const
virtual void ShowDialog(bool click) Q_DECL_OVERRIDE
void setLineColor(const QString &value)
void SetSpline(const VSpline &spline)
QTimer * timerAngle1
timerAngle1 timer of check first angle formula
VSpline GetSpline() const
void setLineWeight(const QString &value)
setLineWeight set weight of the lines
const QSharedPointer< VPointF > GetP1() const
virtual void ChosenObject(quint32 id, const SceneObject &type) Q_DECL_OVERRIDE
ChoosedObject gets id and type of selected object. Save right data and ignore wrong.
int formulaBaseHeightAngle2
virtual void SaveData() Q_DECL_OVERRIDE
SaveData Put dialog data in local variables.
virtual void PointNameChanged() Q_DECL_OVERRIDE
QString getPenStyle() const
void DeployAngle1TextEdit()
VSpline spl
ui keeps information about user interface
void DeployLength1TextEdit()
int formulaBaseHeightLength1
int formulaBaseHeightLength2
void DeployLength2TextEdit()
The VContainer class container of all variables.
The VPointF class keep data of point.
VSpline class that implements the spline.