From: ouv Date: Fri, 28 Mar 2008 11:24:53 +0000 (+0000) Subject: Bug IPAL19361 - Qt4 porting. It is impossible showing ID of elements in 3D Viewer... X-Git-Tag: V5_0_0a1 X-Git-Url: http://git.salome-platform.org/gitweb/?a=commitdiff_plain;h=refs%2Ftags%2FV5_0_0a2;hp=90400ffdc0300c3a01d549b048b1331a79bebc9a;p=modules%2Fgeom.git Bug IPAL19361 - Qt4 porting. It is impossible showing ID of elements in 3D Viewer because corresponding string is missing in the pop-up menu --- diff --git a/src/GEOMGUI/GEOMGUI_Selection.cxx b/src/GEOMGUI/GEOMGUI_Selection.cxx index 268ef0124..af266c298 100644 --- a/src/GEOMGUI/GEOMGUI_Selection.cxx +++ b/src/GEOMGUI/GEOMGUI_Selection.cxx @@ -54,8 +54,8 @@ // VTK Includes #include -GEOMGUI_Selection::GEOMGUI_Selection( const QString& client, LightApp_SelectionMgr* mgr ) -: LightApp_Selection( client, mgr ) +GEOMGUI_Selection::GEOMGUI_Selection() +: LightApp_Selection() { } diff --git a/src/GEOMGUI/GEOMGUI_Selection.h b/src/GEOMGUI/GEOMGUI_Selection.h index 7ab55713d..5d470195c 100644 --- a/src/GEOMGUI/GEOMGUI_Selection.h +++ b/src/GEOMGUI/GEOMGUI_Selection.h @@ -36,7 +36,7 @@ class LightApp_SelectionMgr; class GEOMGUI_EXPORT GEOMGUI_Selection : public LightApp_Selection { public: - GEOMGUI_Selection( const QString&, LightApp_SelectionMgr* ); + GEOMGUI_Selection(); virtual ~GEOMGUI_Selection(); virtual QVariant parameter( const int, const QString& ) const; diff --git a/src/GEOMGUI/GeometryGUI.cxx b/src/GEOMGUI/GeometryGUI.cxx index 2058d7a2e..257eb0e36 100644 --- a/src/GEOMGUI/GeometryGUI.cxx +++ b/src/GEOMGUI/GeometryGUI.cxx @@ -1378,9 +1378,9 @@ QString GeometryGUI::engineIOR() const return ""; } -LightApp_Selection* GeometryGUI::createSelection( const QString& client, LightApp_SelectionMgr* mgr ) const +LightApp_Selection* GeometryGUI::createSelection() const { - return new GEOMGUI_Selection( client, mgr ); + return new GEOMGUI_Selection(); } void GeometryGUI::contextMenuPopup( const QString& client, QMenu* menu, QString& title ) diff --git a/src/GEOMGUI/GeometryGUI.h b/src/GEOMGUI/GeometryGUI.h index 54884333c..7477ac600 100644 --- a/src/GEOMGUI/GeometryGUI.h +++ b/src/GEOMGUI/GeometryGUI.h @@ -141,7 +141,7 @@ signals : void SignalDefaultStepValueChanged( double newVal ); protected: - virtual LightApp_Selection* createSelection( const QString&, LightApp_SelectionMgr* ) const; + virtual LightApp_Selection* createSelection() const; private: GEOMGUI* getLibrary( const QString& libraryName );