diff --git a/src/Mod/PartDesign/Gui/FeaturePickDialog.h b/src/Mod/PartDesign/Gui/FeaturePickDialog.h deleted file mode 100644 index b8f4097ba..000000000 --- a/src/Mod/PartDesign/Gui/FeaturePickDialog.h +++ /dev/null @@ -1,76 +0,0 @@ -/****************************************************************************** - * Copyright (c)2012 Jan Rheinlaender * - * * - * This file is part of the FreeCAD CAx development system. * - * * - * This library is free software; you can redistribute it and/or * - * modify it under the terms of the GNU Library General Public * - * License as published by the Free Software Foundation; either * - * version 2 of the License, or (at your option) any later version. * - * * - * This library is distributed in the hope that it will be useful, * - * but WITHOUT ANY WARRANTY; without even the implied warranty of * - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the * - * GNU Library General Public License for more details. * - * * - * You should have received a copy of the GNU Library General Public * - * License along with this library; see the file COPYING.LIB. If not, * - * write to the Free Software Foundation, Inc., 59 Temple Place, * - * Suite 330, Boston, MA 02111-1307, USA * - * * - ******************************************************************************/ - -#ifndef PARTDESIGNGUI_FeaturePickDialog_H -#define PARTDESIGNGUI_FeaturePickDialog_H - -#include -#include -#include - -namespace PartDesignGui { - -class Ui_FeaturePickDialog; -class FeaturePickDialog : public QDialog -{ - Q_OBJECT - -public: - enum featureStatus { - validFeature = 0, - invalidShape, - noWire, - isUsed, - otherBody, - basePlane, - afterTip - }; - - FeaturePickDialog(std::vector &objects, const std::vector &status); - ~FeaturePickDialog(); - - std::vector getFeatures(); - bool getReverse(); - - void accept(); - -protected Q_SLOTS: - void onCheckReverse(bool); - void onCheckOtherFeature(bool); - void onCheckOtherBody(bool); - void onUpdate(bool); - - -private: - Ui_FeaturePickDialog* ui; - - std::vector features; - std::vector statuses; - - void updateList(); - - const QString getFeatureStatusString(const featureStatus st); -}; - -} - -#endif // PARTDESIGNGUI_FeaturePickDialog_H diff --git a/src/Mod/PartDesign/Gui/FeaturePickDialog.ui b/src/Mod/PartDesign/Gui/FeaturePickDialog.ui deleted file mode 100644 index 47728c76b..000000000 --- a/src/Mod/PartDesign/Gui/FeaturePickDialog.ui +++ /dev/null @@ -1,116 +0,0 @@ - - - PartDesignGui::FeaturePickDialog - - - - 0 - 0 - 318 - 398 - - - - Choose feature - - - - - - - - - Reverse direction - - - - - - - Qt::Horizontal - - - - - - - Allow feature from other Body - - - - - - - Allow sketch used by other feature - - - - - - - Make independent copy (recommended) - - - - - - - Make dependent copy - - - - - - - Create cross-reference - - - - - - - Qt::Horizontal - - - QDialogButtonBox::Cancel|QDialogButtonBox::Ok - - - - - - - - - buttonBox - accepted() - PartDesignGui::FeaturePickDialog - accept() - - - 248 - 254 - - - 157 - 274 - - - - - buttonBox - rejected() - PartDesignGui::FeaturePickDialog - reject() - - - 316 - 260 - - - 286 - 274 - - - - -