]> SALOME platform Git repositories - modules/shaper.git/blobdiff - src/ModuleBase/ModuleBase_Dialog.cpp
Salome HOME
Exclude "What is this" system button from dialog boxes.
[modules/shaper.git] / src / ModuleBase / ModuleBase_Dialog.cpp
index 046c8abb55ee9674f57b598bf407df3f54f28037..f0e2bcab0c91659a7e6391045433b69789829245 100644 (file)
 
 ModuleBase_Dialog::ModuleBase_Dialog(ModuleBase_IWorkshop* theParent, const QString& theId,
                                      const std::string& theDescription) :
-                                     QDialog(theParent->desktop()),
-                                     myId(theId),
-                                     myDescription(theDescription),
-                                     myWorkshop(theParent),
-                                     myActiveWidget(0)
+  QDialog(theParent->desktop(),
+    Qt::Dialog | Qt::CustomizeWindowHint | Qt::WindowTitleHint | Qt::WindowCloseButtonHint),
+  myId(theId),
+  myDescription(theDescription),
+  myWorkshop(theParent),
+  myActiveWidget(0)
 {
   ModuleBase_WidgetFactory aFactory(myDescription, myWorkshop);
   QString aTitle = ModuleBase_Tools::translate("ModuleBase_Dialog",