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