Salome HOME
Porting to Mandrake 10.1 and new products:
[modules/kernel.git] / src / SALOMEGUI / SALOMEGUI_ActivateComponentDlg.h
1 //  SALOME SALOMEGUI : implementation of desktop and GUI kernel
2 //
3 //  Copyright (C) 2003  CEA/DEN, EDF R&D
4 //
5 //
6 //
7 //  File   : SALOMEGUI_ActivateComponentDlg.h
8 //  Author : Michael ZORIN (mzn)
9 //  Module : SALOME
10
11 #ifndef SALOMEGUI_ActivateComponentDlg_H
12 #define SALOMEGUI_ActivateComponentDlg_H
13
14 #include <qdialog.h> 
15 #include <qpixmap.h>
16
17 class QFrame;
18 class QLabel;
19 class QPushButton;
20
21 class SALOMEGUI_ActivateComponentDlg: public QDialog
22 {
23   Q_OBJECT
24
25 public:
26   SALOMEGUI_ActivateComponentDlg ( QWidget* parent, const QString& component, const QPixmap icon = QPixmap() ) ;
27   ~SALOMEGUI_ActivateComponentDlg ( ) { };
28
29 private slots:
30   void onButtonClicked();
31
32 private:
33     QFrame*      myComponentFrame;
34     QLabel*      myComponentLab;
35     QLabel*      myComponentIcon;
36     QLabel*      myInfoLabel;
37     QPushButton* myNewBtn;
38     QPushButton* myOpenBtn;
39     QPushButton* myLoadBtn;
40     QPushButton* myCancelBtn;
41 };
42
43 #endif
44