Salome HOME
Merge from OCC_development_generic_2006
[modules/superv.git] / src / SUPERVGUI / SUPERVGUI_Information.h
1 //  SUPERV SUPERVGUI : GUI for Supervisor component
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   : SUPERVGUI_Information.h
25 //  Author : Francis KLOSS
26 //  Module : SUPERV
27
28 #ifndef SUPERVGUI_Information_H
29 #define SUPERVGUI_Information_H
30
31 #include "SUPERVGUI_Def.h"
32
33 class SUPERVGUI_Information: public QDialog {
34   Q_OBJECT
35
36   public:
37     SUPERVGUI_Information(SUPERV_CNode node, bool isReadOnly);
38     virtual ~SUPERVGUI_Information();
39
40     //bool run(SUPERV_CNode node, bool isReadOnly);
41
42   private slots:
43     void okButton();
44     void koButton();
45
46   private:
47     QString date(SUPERV_Date d);
48
49     QLineEdit*      nameV;
50     QLineEdit*      authV;
51     QLineEdit*      contV;
52     QLabel*         contL;
53
54     QLineEdit*      compnameV;
55     QLabel*         compnameL;
56
57     QLineEdit*      intnameV;
58     QLabel*         intnameL;
59
60     QMultiLineEdit* commV;
61     QLabel*         cdatV;
62     QLabel*         udatV;
63     SUPERV_CNode    myNode;
64 };
65
66 #endif