1 // Copyright (C) 2014-20xx CEA/DEN, EDF R&D
3 #ifndef ModuleBase_Dialog_H
4 #define ModuleBase_Dialog_H
6 #include "ModuleBase.h"
7 #include <ModelAPI_Feature.h>
13 class ModuleBase_IWorkshop;
14 class ModuleBase_ModelWidget;
18 * A dialog box which is used for modal dialog box feature interface
20 class ModuleBase_Dialog : public QDialog
24 ModuleBase_Dialog(ModuleBase_IWorkshop* theParent, const QString& theId,
25 const std::string& theDescription);
28 virtual void showEvent(QShowEvent* theEvent);
32 void initializeWidget(ModuleBase_ModelWidget* theWidget);
35 std::string myDescription;
36 ModuleBase_IWorkshop* myWorkshop;
38 QList<ModuleBase_ModelWidget*> myWidgets;