1 // SALOME SALOMEGUI : implementation of desktop and GUI kernel
3 // Copyright (C) 2005 CEA/DEN, EDF R&D
7 // File : LightApp_ModuleDlg.h
8 // Author : Michael ZORIN (mzn)
11 #ifndef LIGHTAPP_MODULEDLG_H
12 #define LIGHTAPP_MODULEDLG_H
23 \class LightApp_ModuleDlg
24 Dialog allows to choose action on module activation when there is no document.
25 It is possible to create new document, to open existing or to cancel module activation
27 class LIGHTAPP_EXPORT LightApp_ModuleDlg : public QDialog
32 LightApp_ModuleDlg ( QWidget* parent, const QString& component, const QPixmap icon = QPixmap() ) ;
33 ~LightApp_ModuleDlg ( ) { };
36 void onButtonClicked();
39 QFrame* myComponentFrame;
40 QLabel* myComponentLab;
41 QLabel* myComponentIcon;
43 QPushButton* myNewBtn;
44 QPushButton* myOpenBtn;
45 QPushButton* myLoadBtn;
46 QPushButton* myCancelBtn;