Code_TYMPAN  4.4.0
Industrial site acoustic simulation
TYPluginDialog.h
Go to the documentation of this file.
1 /*
2  * Copyright (C) <2012-2024> <EDF-DTG> <FRANCE>
3  * This file is part of Code_TYMPAN (R).
4  * Code_TYMPAN (R) is free software: you can redistribute it and/or modify
5  * it under the terms of the GNU General Public License as published by
6  * the Free Software Foundation, either version 3 of the License, or
7  * (at your option) any later version.
8  * Code_TYMPAN (R) is distributed in the hope that it will be useful,
9  * but WITHOUT ANY WARRANTY; without even the implied warranty of
10  * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.
11  * See the GNU General Public License for more details.
12  * You should have received a copy of the GNU General Public License along
13  * with Code_TYMPAN (R). If not, see <https://www.gnu.org/licenses/>.
14  */
15 
27 #ifndef __TY_PLUGIN_DIALOG__
28 #define __TY_PLUGIN_DIALOG__
29 
30 #include <qdialog.h>
31 
32 #include "Tympan/core/idgen.h"
33 #include "TYAppDefines.h"
34 
35 class QTreeWidget;
36 class QPushButton;
37 
42 class TYPluginDialog : public QDialog
43 {
44  Q_OBJECT
45 
46 public:
50  TYPluginDialog(QWidget* parent = 0, const char* name = 0, Qt::WindowFlags f = QFlag(0));
54  virtual ~TYPluginDialog();
55  // Current solver used
57 
58 protected slots:
60  void updateCurrentPlugin();
61 
63  void setEnableButton();
64 
65 protected:
66  // List view
67  QTreeWidget* _pPluginListView;
68 
69  // Le bouton d'application
70  QPushButton* _pOkBtn;
71 };
72 
73 #endif // __TY_PLUGIN_DIALOG__
const char * name
Definition: idgen.h:28
Boite de dialogue pour la selection du plugin de calcul.
TYPluginDialog(QWidget *parent=0, const char *name=0, Qt::WindowFlags f=QFlag(0))
void updateCurrentPlugin()
Mets a jour le SolverInterface courant.
QPushButton * _pOkBtn
void setEnableButton()
Active ou non le bouton _pOkBtn.
QTreeWidget * _pPluginListView
virtual ~TYPluginDialog()
OGenID current_solver