| 1 | /*************************************************************************** |
| 2 | * Copyright (c) 2017 FreeCAD Developers * |
| 3 | * Author: Bernd Hahnebach <[email protected]> * |
| 4 | * Based on src/Mod/Fem/Gui/DlgSettingsFemCcx.h * |
| 5 | * * |
| 6 | * This file is part of the FreeCAD CAx development system. * |
| 7 | * * |
| 8 | * This library is free software; you can redistribute it and/or * |
| 9 | * modify it under the terms of the GNU Library General Public * |
| 10 | * License as published by the Free Software Foundation; either * |
| 11 | * version 2 of the License, or (at your option) any later version. * |
| 12 | * * |
| 13 | * This library is distributed in the hope that it will be useful, * |
| 14 | * but WITHOUT ANY WARRANTY; without even the implied warranty of * |
| 15 | * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the * |
| 16 | * GNU Library General Public License for more details. * |
| 17 | * * |
| 18 | * You should have received a copy of the GNU Library General Public * |
| 19 | * License along with this library; see the file COPYING.LIB. If not, * |
| 20 | * write to the Free Software Foundation, Inc., 59 Temple Place, * |
| 21 | * Suite 330, Boston, MA 02111-1307, USA * |
| 22 | * * |
| 23 | ***************************************************************************/ |
| 24 | |
| 25 | #ifndef FEMGUI_DLGSETTINGSFEMEXPORTABAQUSIMP_H |
| 26 | #define FEMGUI_DLGSETTINGSFEMEXPORTABAQUSIMP_H |
| 27 | |
| 28 | #include <memory> |
| 29 | |
| 30 | #include <Gui/PropertyPage.h> |
| 31 | |
| 32 | |
| 33 | namespace FemGui |
| 34 | { |
| 35 | |
| 36 | class Ui_DlgSettingsFemExportAbaqus; |
| 37 | class DlgSettingsFemExportAbaqusImp: public Gui::Dialog::PreferencePage |
| 38 | { |
| 39 | Q_OBJECT |
| 40 | |
| 41 | public: |
| 42 | explicit DlgSettingsFemExportAbaqusImp(QWidget* parent = nullptr); |
| 43 | ~DlgSettingsFemExportAbaqusImp() override; |
| 44 | |
| 45 | protected: |
| 46 | void saveSettings() override; |
| 47 | void loadSettings() override; |
| 48 | void changeEvent(QEvent* e) override; |
| 49 | |
| 50 | private: |
| 51 | std::unique_ptr<Ui_DlgSettingsFemExportAbaqus> ui; |
| 52 | }; |
| 53 | |
| 54 | } // namespace FemGui |
| 55 | |
| 56 | #endif // FEMGUI_DLGSETTINGSFEMEXPORTABAQUSIMP_H |