/*************************************************************************** * Copyright (c) 2015 Abdullah Tahiri # include #endif #include #include #include #include #include "ui_SketchMirrorDialog.h" #include "SketchMirrorDialog.h" 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=-1; RefPosid=Sketcher::none; } else if (ui->YAxisRadioButton->isChecked()) { RefGeoid=-2; RefPosid=Sketcher::none; } else if (ui->OriginRadioButton->isChecked()) { RefGeoid=-1; RefPosid=Sketcher::start; } QDialog::accept(); } #include "moc_SketchMirrorDialog.cpp"