1 /* This file is part of Step. 2 Copyright (C) 2007 Vladimir Kuznetsov <ks.vladimir@gmail.com> 3 Copyright (C) 2014 Inge Wallin <inge@lysator.liu.se> 4 5 Step is free software; you can redistribute it and/or modify 6 it under the terms of the GNU General Public License as published by 7 the Free Software Foundation; either version 2 of the License, or 8 (at your option) any later version. 9 10 Step is distributed in the hope that it will be useful, 11 but WITHOUT ANY WARRANTY; without even the implied warranty of 12 MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the 13 GNU General Public License for more details. 14 15 You should have received a copy of the GNU General Public License 16 along with Step; if not, write to the Free Software 17 Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA 18 */ 19 #ifndef STEP_GASCREATIONDIALOG_H 20 #define STEP_GASCREATIONDIALOG_H 21 22 #include <QDialog> 23 //#include "gasgraphics.h" 24 25 26 namespace StepCore { 27 class Gas; 28 } 29 namespace Ui { 30 class WidgetCreateGasParticles; 31 } 32 class GasMenuHandler; 33 34 35 class GasCreationDialog: public QDialog 36 { 37 Q_OBJECT 38 39 public: 40 GasCreationDialog(GasMenuHandler* handler, StepCore::Gas *gas, 41 QWidget *parent=0); 42 43 Ui::WidgetCreateGasParticles *ui(); 44 45 protected: 46 Ui::WidgetCreateGasParticles *_ui; 47 48 StepCore::Gas *_gas; 49 GasMenuHandler *_handler; 50 }; 51 52 #endif 53