]> SALOME platform Git repositories - modules/gui.git/commitdiff
Salome HOME
*** empty log message ***
authorvsr <vsr@opencascade.com>
Thu, 12 Jul 2007 10:42:09 +0000 (10:42 +0000)
committervsr <vsr@opencascade.com>
Thu, 12 Jul 2007 10:42:09 +0000 (10:42 +0000)
src/SVTK/SVTK_MainWindow.cxx
src/SVTK/SVTK_RenderWindowInteractor.cxx
src/SVTK/SVTK_ViewWindow.cxx

index 7c09aac5ee4ce1df479eb02ac4f543378db8472f..d543444ee45ce49a72f180218df9f6cce4592803 100644 (file)
@@ -61,10 +61,11 @@ SVTK_MainWindow
                  const char* theName,
                  SUIT_ResourceMgr* theResourceMgr,
                  SUIT_ViewWindow* theViewWindow) :
-  QMainWindow(theParent,0),
+  QMainWindow(theParent),
   myViewWindow(theViewWindow)
 {
   setObjectName(theName);
+  setWindowFlags( windowFlags() & ~Qt::Window );
 
   myToolBar = new QtxToolBar( true, tr("LBL_TOOLBAR_LABEL"), this );
 
index a937a7cbd43fed9a68436775c2752b84b5e5b0e1..92a8ec0d5f8dc66aad5f36dc0288b909e3f1dbf9 100644 (file)
@@ -70,6 +70,9 @@ QVTK_RenderWindowInteractor
   QWidget(theParent),
   myRenderWindow(vtkRenderWindow::New())
 {
+  setAttribute( Qt::WA_PaintOnScreen );
+  //setAttribute( Qt::WA_NoSystemBackground );
+
   setObjectName(theName);
 
   setMouseTracking(true);
index 1d2d78754611191ff1df4c655e98740a88ed78d0..36b7408cfbf37a424650414a4d8a411935031f2d 100755 (executable)
@@ -91,7 +91,7 @@ namespace SVTK
 SVTK_ViewWindow
 ::SVTK_ViewWindow(SUIT_Desktop* theDesktop):
   SUIT_ViewWindow(theDesktop),
-  myMainWindow(NULL),
+  myMainWindow(0),
   myView(NULL),
   myDumpImage(QImage())
 {}