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