Salome HOME
115b822f3b796a76198e2d05b48068e079f382fe
[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 using namespace std;
29 #ifndef SUPERVGUI_Information_H
30 #define SUPERVGUI_Information_H
31
32 #include "SUPERVGUI_Def.h"
33
34 class SUPERVGUI_Information: public QDialog {
35   Q_OBJECT
36
37   public:
38     SUPERVGUI_Information(SUPERV_CNode node, bool isReadOnly);
39     virtual ~SUPERVGUI_Information();
40
41     //bool run(SUPERV_CNode node, bool isReadOnly);
42
43   private slots:
44     void okButton();
45     void koButton();
46
47   private:
48     QString date(SUPERV_Date d);
49
50     QLineEdit*      nameV;
51     QLineEdit*      authV;
52     QLineEdit*      contV;
53     QLabel*         contL;
54
55     QLineEdit*      compnameV;
56     QLabel*         compnameL;
57
58     QLineEdit*      intnameV;
59     QLabel*         intnameL;
60
61     QMultiLineEdit* commV;
62     QLabel*         cdatV;
63     QLabel*         udatV;
64     SUPERV_CNode    myNode;
65 };
66
67 #endif