/*************************************************************************** * Copyright (c) 2015 Abdullah Tahiri # include #endif #include #include #include #include #include "ui_SketchMirrorDialog.h" #include "SketchMirrorDialog.h" #include using namespace SketcherGui; SketchMirrorDialog::SketchMirrorDialog(void) : QDialog(Gui::getMainWindow()) , RefGeoid(-1) , RefPosid(Sketcher::none) , ui(new Ui_SketchMirrorDialog) { ui->setupUi(this); } SketchMirrorDialog::~SketchMirrorDialog() { } void SketchMirrorDialog::accept() { if (ui->XAxisRadioButton->isChecked()) { RefGeoid=Sketcher::GeoEnum::HAxis; RefPosid=Sketcher::none; } else if (ui->YAxisRadioButton->isChecked()) { RefGeoid=Sketcher::GeoEnum::VAxis; RefPosid=Sketcher::none; } else if (ui->OriginRadioButton->isChecked()) { RefGeoid=Sketcher::GeoEnum::RtPnt; RefPosid=Sketcher::start; } QDialog::accept(); } #include "moc_SketchMirrorDialog.cpp"