Code_TYMPAN  4.4.0
Industrial site acoustic simulation
TYPluginDialog.h
Go to the documentation of this file.
1 /*
2  * Copyright (C) <2012> <EDF-R&D> <FRANCE>
3  * This program is free software; you can redistribute it and/or modify
4  * it under the terms of the GNU General Public License as published by
5  * the Free Software Foundation; either version 2 of the License, or
6  * (at your option) any later version.
7  * This program is distributed in the hope that it will be useful,
8  * but WITHOUT ANY WARRANTY; without even the implied warranty of
9  * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.
10  * See the GNU General Public License for more details.
11  * You should have received a copy of the GNU General Public License along
12  * with this program; if not, write to the Free Software Foundation, Inc.,
13  * 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA.
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