SketcherGui: apply clang-format
This commit is contained in:
committed by
abdullahtahiriyo
parent
dc2d861bf0
commit
78ae9c1d7d
@@ -22,43 +22,42 @@
|
||||
|
||||
#include "PreCompiled.h"
|
||||
#ifndef _PreComp_
|
||||
# include <QDialog>
|
||||
#include <QDialog>
|
||||
#endif
|
||||
|
||||
#include <Gui/MainWindow.h>
|
||||
|
||||
#include "ui_SketchMirrorDialog.h"
|
||||
#include "SketchMirrorDialog.h"
|
||||
#include "ui_SketchMirrorDialog.h"
|
||||
|
||||
|
||||
using namespace SketcherGui;
|
||||
|
||||
SketchMirrorDialog::SketchMirrorDialog()
|
||||
: QDialog(Gui::getMainWindow())
|
||||
, RefGeoid(-1)
|
||||
, RefPosid(Sketcher::PointPos::none)
|
||||
, ui(new Ui_SketchMirrorDialog)
|
||||
: QDialog(Gui::getMainWindow())
|
||||
, RefGeoid(-1)
|
||||
, RefPosid(Sketcher::PointPos::none)
|
||||
, ui(new Ui_SketchMirrorDialog)
|
||||
{
|
||||
ui->setupUi(this);
|
||||
}
|
||||
|
||||
SketchMirrorDialog::~SketchMirrorDialog()
|
||||
{
|
||||
}
|
||||
{}
|
||||
|
||||
void SketchMirrorDialog::accept()
|
||||
{
|
||||
if (ui->XAxisRadioButton->isChecked()) {
|
||||
RefGeoid=Sketcher::GeoEnum::HAxis;
|
||||
RefPosid=Sketcher::PointPos::none;
|
||||
RefGeoid = Sketcher::GeoEnum::HAxis;
|
||||
RefPosid = Sketcher::PointPos::none;
|
||||
}
|
||||
else if (ui->YAxisRadioButton->isChecked()) {
|
||||
RefGeoid=Sketcher::GeoEnum::VAxis;
|
||||
RefPosid=Sketcher::PointPos::none;
|
||||
RefGeoid = Sketcher::GeoEnum::VAxis;
|
||||
RefPosid = Sketcher::PointPos::none;
|
||||
}
|
||||
else if (ui->OriginRadioButton->isChecked()) {
|
||||
RefGeoid=Sketcher::GeoEnum::RtPnt;
|
||||
RefPosid=Sketcher::PointPos::start;
|
||||
RefGeoid = Sketcher::GeoEnum::RtPnt;
|
||||
RefPosid = Sketcher::PointPos::start;
|
||||
}
|
||||
|
||||
QDialog::accept();
|
||||
|
||||
Reference in New Issue
Block a user