File indexing completed on 2024-04-28 07:39:35
0001 /*. 0002 SPDX-FileCopyrightText: 2007 Vladimir Kuznetsov <ks.vladimir@gmail.com> 0003 SPDX-FileCopyrightText: 2014 Inge Wallin <inge@lysator.liu.se> 0004 0005 SPDX-License-Identifier: GPL-2.0-or-later 0006 */ 0007 0008 #ifndef STEP_GASCREATIONDIALOG_H 0009 #define STEP_GASCREATIONDIALOG_H 0010 0011 #include <QDialog> 0012 //#include "gasgraphics.h" 0013 0014 0015 namespace StepCore { 0016 class Gas; 0017 } 0018 namespace Ui { 0019 class WidgetCreateGasParticles; 0020 } 0021 class GasMenuHandler; 0022 0023 0024 class GasCreationDialog: public QDialog 0025 { 0026 Q_OBJECT 0027 0028 public: 0029 GasCreationDialog(GasMenuHandler* handler, StepCore::Gas *gas, 0030 QWidget *parent=nullptr); 0031 0032 Ui::WidgetCreateGasParticles *ui(); 0033 0034 protected: 0035 Ui::WidgetCreateGasParticles *_ui; 0036 0037 StepCore::Gas *_gas; 0038 GasMenuHandler *_handler; 0039 }; 0040 0041 #endif