Salome HOME
Initialisation de la base KERNEL avec la version operationnelle de KERNEL_SRC issue...
[modules/kernel.git] / src / SALOMEGUI / SALOMEGUI_OpenWith.h
1 //  File      : SALOMEGUI_OpenWith.cxx
2 //  Created   : Wed Oct 24 12:19:34 2001
3 //  Author    : Nicolas REJNERI
4 //  Project   : SALOME
5 //  Module    : SALOMEGUI
6 //  Copyright : Open CASCADE
7 //  $Header$
8
9
10 #ifndef SALOMEGUI_OPENWITH_H
11 #define SALOMEGUI_OPENWITH_H
12
13 #include <qdialog.h>
14
15 class QListBox;
16 class QCheckBox;
17 class QPushButton;
18
19 class SALOMEGUI_OpenWith : public QDialog
20
21   Q_OBJECT
22
23 public:
24   SALOMEGUI_OpenWith(QWidget* parent = 0, const char* name = 0);
25   ~SALOMEGUI_OpenWith();
26
27   void      addComponent(const QString& aComp);
28   QString   getComponent();
29   bool      getAlwaysFlag();
30   
31 protected slots:
32   void      onSelectionChanged();
33
34 protected:
35   void      updateButtonState();
36
37 protected:
38   QListBox*    ListComponent;
39   QCheckBox*   AllwaysCheckBox; 
40   QPushButton* buttonHelp;
41   QPushButton* buttonCancel;
42   QPushButton* buttonOk;
43 };
44
45 #endif // SALOMEGUI_OPENWITH_H