Bug IPAL19361 - Qt4 porting. It is impossible showing ID of elements in 3D Viewer because corresponding string is missing in the pop-up menu

This commit is contained in:
ouv 2008-03-28 11:24:53 +00:00
parent 90400ffdc0
commit c9714052b6
4 changed files with 6 additions and 6 deletions

View File

@ -54,8 +54,8 @@
// VTK Includes // VTK Includes
#include <vtkActorCollection.h> #include <vtkActorCollection.h>
GEOMGUI_Selection::GEOMGUI_Selection( const QString& client, LightApp_SelectionMgr* mgr ) GEOMGUI_Selection::GEOMGUI_Selection()
: LightApp_Selection( client, mgr ) : LightApp_Selection()
{ {
} }

View File

@ -36,7 +36,7 @@ class LightApp_SelectionMgr;
class GEOMGUI_EXPORT GEOMGUI_Selection : public LightApp_Selection class GEOMGUI_EXPORT GEOMGUI_Selection : public LightApp_Selection
{ {
public: public:
GEOMGUI_Selection( const QString&, LightApp_SelectionMgr* ); GEOMGUI_Selection();
virtual ~GEOMGUI_Selection(); virtual ~GEOMGUI_Selection();
virtual QVariant parameter( const int, const QString& ) const; virtual QVariant parameter( const int, const QString& ) const;

View File

@ -1378,9 +1378,9 @@ QString GeometryGUI::engineIOR() const
return ""; 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 ) void GeometryGUI::contextMenuPopup( const QString& client, QMenu* menu, QString& title )

View File

@ -141,7 +141,7 @@ signals :
void SignalDefaultStepValueChanged( double newVal ); void SignalDefaultStepValueChanged( double newVal );
protected: protected:
virtual LightApp_Selection* createSelection( const QString&, LightApp_SelectionMgr* ) const; virtual LightApp_Selection* createSelection() const;
private: private:
GEOMGUI* getLibrary( const QString& libraryName ); GEOMGUI* getLibrary( const QString& libraryName );