Salome HOME
PR: Merge V1_2c etape 1
[modules/kernel.git] / src / SALOMEGUI / SALOMEGUI_ViewChoiceDlg.h
1 //  SALOME SALOMEGUI : implementation of desktop and GUI kernel
2 //
3 //  Copyright (C) 2003  OPEN CASCADE, EADS/CCR, LIP6, CEA/DEN,
4 //  CEDRAT, EDF R&D, LEG, PRINCIPIA R&D, BUREAU VERITAS 
5 // 
6 //  This library is free software; you can redistribute it and/or 
7 //  modify it under the terms of the GNU Lesser General Public 
8 //  License as published by the Free Software Foundation; either 
9 //  version 2.1 of the License. 
10 // 
11 //  This library is distributed in the hope that it will be useful, 
12 //  but WITHOUT ANY WARRANTY; without even the implied warranty of 
13 //  MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the GNU 
14 //  Lesser General Public License for more details. 
15 // 
16 //  You should have received a copy of the GNU Lesser General Public 
17 //  License along with this library; if not, write to the Free Software 
18 //  Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA  02111-1307 USA 
19 // 
20 //  See http://www.opencascade.org/SALOME/ or email : webmaster.salome@opencascade.org 
21 //
22 //
23 //
24 //  File   : SALOMEGUI_ViewChoiceDlg.h
25 //  Author : Nicolas REJNERI
26 //  Module : SALOME
27 //  $Header$
28
29 #ifndef SALOMEGUI_VIEWCHOICEDLG_H
30 #define SALOMEGUI_VIEWCHOICEDLG_H
31
32 #include <qvariant.h>
33 #include <qdialog.h>
34 #include <qvaluelist.h>
35 class QVBoxLayout; 
36 class QHBoxLayout; 
37 class QGridLayout; 
38 class QComboBox;
39 class QGroupBox;
40 class QLabel;
41 class QPushButton;
42
43 class SALOMEGUI_ViewChoiceDlg : public QDialog
44
45     Q_OBJECT
46
47 public:
48     SALOMEGUI_ViewChoiceDlg( QWidget* parent = 0, const char* name = 0, bool modal = FALSE, WFlags fl = 0 );
49     ~SALOMEGUI_ViewChoiceDlg();
50
51     int getSelectedViewer();
52
53     QGroupBox* GroupBox1;
54     QLabel* TextLabel1;
55     QComboBox* ComboBox1;
56     QPushButton* buttonOk;
57     QPushButton* buttonCancel;
58     QValueList<int> myViewers;
59 };
60
61 #endif // SALOMEGUI_VIEWCHOICEDLG_H