From: vsr Date: Thu, 12 Jul 2007 10:42:09 +0000 (+0000) Subject: *** empty log message *** X-Git-Tag: qt4_porting_delivery_220807~88 X-Git-Url: http://git.salome-platform.org/gitweb/?a=commitdiff_plain;h=7c05c3156902016e18f13250506efd2fce6f4fdc;p=modules%2Fgui.git *** empty log message *** --- diff --git a/src/SVTK/SVTK_MainWindow.cxx b/src/SVTK/SVTK_MainWindow.cxx index 7c09aac5e..d543444ee 100644 --- a/src/SVTK/SVTK_MainWindow.cxx +++ b/src/SVTK/SVTK_MainWindow.cxx @@ -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 ); diff --git a/src/SVTK/SVTK_RenderWindowInteractor.cxx b/src/SVTK/SVTK_RenderWindowInteractor.cxx index a937a7cbd..92a8ec0d5 100644 --- a/src/SVTK/SVTK_RenderWindowInteractor.cxx +++ b/src/SVTK/SVTK_RenderWindowInteractor.cxx @@ -70,6 +70,9 @@ QVTK_RenderWindowInteractor QWidget(theParent), myRenderWindow(vtkRenderWindow::New()) { + setAttribute( Qt::WA_PaintOnScreen ); + //setAttribute( Qt::WA_NoSystemBackground ); + setObjectName(theName); setMouseTracking(true); diff --git a/src/SVTK/SVTK_ViewWindow.cxx b/src/SVTK/SVTK_ViewWindow.cxx index 1d2d78754..36b7408cf 100755 --- a/src/SVTK/SVTK_ViewWindow.cxx +++ b/src/SVTK/SVTK_ViewWindow.cxx @@ -91,7 +91,7 @@ namespace SVTK SVTK_ViewWindow ::SVTK_ViewWindow(SUIT_Desktop* theDesktop): SUIT_ViewWindow(theDesktop), - myMainWindow(NULL), + myMainWindow(0), myView(NULL), myDumpImage(QImage()) {}