]> SALOME platform Git repositories - modules/visu.git/commitdiff
Salome HOME
To apply WDestructiveClose widget flag to the nonmodal dialog
authorapo <apo@opencascade.com>
Thu, 9 Feb 2006 13:20:16 +0000 (13:20 +0000)
committerapo <apo@opencascade.com>
Thu, 9 Feb 2006 13:20:16 +0000 (13:20 +0000)
src/VISUGUI/VisuGUI_BuildProgressDlg.cxx

index 7705f32dcb5685727a68606d4095aa19715e9255..99bea913960dc46ce09f9226f1662797037bf1b6 100644 (file)
  * Constructor
  */
 VisuGUI_BuildProgressDlg::VisuGUI_BuildProgressDlg( QWidget* theParent ):
-  QDialog( theParent, "VisuGUI_BuildProgressBar", false ),
+  QDialog( theParent, 
+          "VisuGUI_BuildProgressBar", 
+          false,
+          WStyle_Customize | WStyle_NormalBorder | WStyle_Title | WStyle_SysMenu | WDestructiveClose),
   myIsRaiseColor( false )
 {
   setCaption( tr( "DLG_BUILD_PROGRESS_TITLE" ) );