52 #ifndef DIALOGTRIANGLE_H
53 #define DIALOGTRIANGLE_H
55 #include <qcompilerdetection.h>
56 #include <QMetaObject>
61 #include "../vmisc/def.h"
100 virtual void SaveData() Q_DECL_OVERRIDE;
The DialogTriangle class dialog for ToolTriangle. Help create point and edit option.
virtual void PointNameChanged() Q_DECL_OVERRIDE
quint32 GetSecondPointId() const
GetSecondPointId return id of second point.
quint32 GetFirstPointId() const
GetFirstPointId return id of first point.
DialogTriangle(const VContainer *data, const quint32 &toolId, QWidget *parent=nullptr)
DialogTriangle create dialog.
Ui::DialogTriangle * ui
ui keeps information about user interface
virtual void ShowVisualization() Q_DECL_OVERRIDE
quint32 GetAxisP2Id() const
GetAxisP2Id return id second point of axis.
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.
virtual ~DialogTriangle() Q_DECL_OVERRIDE
virtual void SaveData() Q_DECL_OVERRIDE
SaveData Put dialog data in local variables.
void SetAxisP2Id(const quint32 &value)
SetAxisP2Id set id second point of axis.
void SetFirstPointId(const quint32 &value)
SetFirstPointId set id of first point.
quint32 GetAxisP1Id() const
GetAxisP1Id return id first point of axis.
void SetSecondPointId(const quint32 &value)
SetSecondPointId set id of second point.
void SetPointName(const QString &value)
SetPointName set name of point.
void SetAxisP1Id(const quint32 &value)
SetAxisP1Id set id first point of axis.
The VContainer class container of all variables.