Salome HOME
Initialisation de la base KERNEL avec la version operationnelle de KERNEL_SRC issue...
[modules/kernel.git] / src / SALOMEGUI / SALOMEGUI_StudyPropertiesDlg.h
1 //  File      : SALOMEGUI_StudyPropertiesDlg.h
2 //  Created   : Tue Oct 22 12:28:23 2002
3 //  Descr     : Dialog box for editing of study properties
4
5 //  Author    : Sergey ANIKIN
6 //  Project   : SALOME Pro
7 //  Module    : SALOMEGUI
8 //  Copyright : Open CASCADE
9 //  $Header$
10
11 #ifndef SALOMEGUI_STUDY_PROPERTIES_DLG_H
12 #define SALOMEGUI_STUDY_PROPERTIES_DLG_H
13
14 #include <qdialog.h>
15
16 #include <SALOMEconfig.h>
17 #include CORBA_SERVER_HEADER(SALOMEDS)
18
19 class QAD_ListView;
20 class QAD_ListViewItem;
21 class QPushButton;
22
23 class SALOMEGUI_StudyPropertiesDlg : public QDialog
24
25   Q_OBJECT
26
27 public:
28
29   enum {
30     prpAuthorId,
31     prpModeId,
32     prpDateId,
33     prpSavedId,
34     prpLockedId,
35     prpModificationsId,
36     prpLastId
37   };
38
39   SALOMEGUI_StudyPropertiesDlg( QWidget* parent = 0 );
40   ~SALOMEGUI_StudyPropertiesDlg();
41
42   bool isChanged() { return myChanged; } 
43
44 public slots:
45   void onOK();
46
47 private:
48   void initData(); 
49   bool acceptData(); 
50   bool propChanged(); 
51   
52 private:
53   QAD_ListView*       myPropList;
54   QPushButton*        myOKBtn;
55   QPushButton*        myCancelBtn;
56   bool                myChanged;  
57
58   SALOMEDS::Study_var myStudyDoc;
59 };
60  
61 #endif // SALOMEGUI_STUDY_PROPERTIES_DLG_H