52 #ifndef DIALOGNORMAL_H
53 #define DIALOGNORMAL_H
55 #include <qcompilerdetection.h>
56 #include <QMetaObject>
61 #include "../vmisc/def.h"
120 virtual void SaveData() Q_DECL_OVERRIDE;
121 virtual void closeEvent(QCloseEvent *event) Q_DECL_OVERRIDE;
The DialogNormal class dialog for ToolNormal. Help create point and edit option.
int formulaBaseHeight
formulaBaseHeight base height defined by dialogui
void setLineType(const QString &value)
setLineType set type of line
quint32 GetFirstPointId() const
GetFirstPointId return id of first point.
virtual void closeEvent(QCloseEvent *event) Q_DECL_OVERRIDE
closeEvent handle when dialog cloded
void SetFirstPointId(const quint32 &value)
SetFirstPointId set id of first point.
void SetPointName(const QString &value)
SetPointName set name of point.
DialogNormal(const VContainer *data, const quint32 &toolId, QWidget *parent=nullptr)
DialogNormal create dialog.
void FormulaTextChanged()
FormulaTextChanged when formula text changes for validation and calc.
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.
void SetAngle(const qreal &value)
SetAngle set aditional angle of normal.
QString getLineType() const
getLineType return type of line
virtual ~DialogNormal() Q_DECL_OVERRIDE
QString formula
formula formula
QString getLineColor() const
virtual void ShowVisualization() Q_DECL_OVERRIDE
void DeployFormulaTextEdit()
DeployFormulaTextEdit grow or shrink formula input.
qreal angle
angle aditional angle of normal
qreal GetAngle() const
GetAngle return aditional angle of normal.
void setLineWeight(const QString &value)
setLineWeight set weight of the lines
void SetSecondPointId(const quint32 &value)
SetSecondPointId set id of second point.
virtual void SaveData() Q_DECL_OVERRIDE
SaveData Put dialog data in local variables.
virtual void PointNameChanged() Q_DECL_OVERRIDE
Ui::DialogNormal * ui
ui keeps information about user interface
void SetFormula(const QString &value)
SetFormula set string of formula.
QString getLineWeight() const
getLineWeight return weight of the lines
void setLineColor(const QString &value)
QString GetFormula() const
GetFormula return string of formula.
quint32 GetSecondPointId() const
GetSecondPointId return id of second point.
The VContainer class container of all variables.