58 #include "../../visualization/visualization.h"
59 #include "../../visualization/line/vistoolpointfromarcandtangent.h"
60 #include "../vmisc/vabstractapplication.h"
62 #include "ui_dialogpointfromarcandtangent.h"
71 setWindowFlags(windowFlags() & ~Qt::WindowContextHelpButtonHint);
72 setWindowIcon(QIcon(
":/toolicon/32x32/point_from_arc_and_tangent.png"));
74 ui->lineEditNamePoint->setClearButtonEnabled(
true);
139 return getCurrentCrossPoint<CrossCirclesPoint>(
ui->comboBoxResult);
145 const qint32 index =
ui->comboBoxResult->findData(
static_cast<int>(p));
148 ui->comboBoxResult->setCurrentIndex(index);
171 if (
SetObject(
id,
ui->comboBoxTangentPoint, tr(
"Select an arc")))
201 AddVisualization<VisToolPointFromArcAndTangent>();
virtual void ChosenObject(quint32 id, const SceneObject &type) Q_DECL_OVERRIDE
~DialogPointFromArcAndTangent()
virtual void ShowVisualization() Q_DECL_OVERRIDE
void setCirclesCrossPoint(const CrossCirclesPoint &p)
CrossCirclesPoint GetCrossCirclesPoint() const
DialogPointFromArcAndTangent(const VContainer *data, const quint32 &toolId, QWidget *parent=nullptr)
virtual void SaveData() Q_DECL_OVERRIDE
SaveData Put dialog data in local variables.
void SetPointName(const QString &value)
Ui::DialogPointFromArcAndTangent * ui
void SetTangentPointId(const quint32 &value)
void SetArcId(const quint32 &value)
quint32 GetTangentPointId() const
The VContainer class container of all variables.
virtual void VisualMode(const quint32 &pointId)
void setObject1Id(const quint32 &value)