From: ouv Date: Wed, 17 Aug 2005 09:58:15 +0000 (+0000) Subject: dumpView() moved to SVTK_RenderWindow X-Git-Tag: BR-D5-38-2003_D2005-12-09~49 X-Git-Url: http://git.salome-platform.org/gitweb/?a=commitdiff_plain;h=439a1c4c09ba2b82366bac64c981ae9816e6354a;p=modules%2Fgui.git dumpView() moved to SVTK_RenderWindow --- diff --git a/src/SVTK/SVTK_View.cxx b/src/SVTK/SVTK_View.cxx index 444ec2db9..40ee78471 100644 --- a/src/SVTK/SVTK_View.cxx +++ b/src/SVTK/SVTK_View.cxx @@ -327,16 +327,6 @@ SVTK_View InsertActor(theActor,true); } -/* -//---------------------------------------------------------------------------- -QImage -SVTK_View -::dumpView() -{ - QPixmap px = QPixmap::grabWindow( myRenderWindow->winId() ); - return px.convertToImage(); -} -*/ //---------------------------------------------------------------------------- void SVTK_View diff --git a/src/SVTK/SVTK_View.h b/src/SVTK/SVTK_View.h index 2536c69d1..5dbb76ef9 100644 --- a/src/SVTK/SVTK_View.h +++ b/src/SVTK/SVTK_View.h @@ -92,9 +92,6 @@ public slots: virtual void activatePanning(); virtual void activateGlobalPanning(); -protected: - //QImage dumpView(); - protected slots: void onKeyPressed(QKeyEvent* event); void onKeyReleased(QKeyEvent* event);