mirror of
https://git.salome-platform.org/gitpub/modules/smesh.git
synced 2025-01-15 12:40:37 +05:00
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:
parent
edbbbf562b
commit
d96b6b8f74
@ -3055,9 +3055,9 @@ QString SMESHGUI::engineIOR() const
|
|||||||
return QString( anIOR.in() );
|
return QString( anIOR.in() );
|
||||||
}
|
}
|
||||||
|
|
||||||
LightApp_Selection* SMESHGUI::createSelection( const QString& client, LightApp_SelectionMgr* mgr ) const
|
LightApp_Selection* SMESHGUI::createSelection() const
|
||||||
{
|
{
|
||||||
return new SMESHGUI_Selection( client, mgr );
|
return new SMESHGUI_Selection();
|
||||||
}
|
}
|
||||||
|
|
||||||
void SMESHGUI::windows( QMap<int, int>& aMap ) const
|
void SMESHGUI::windows( QMap<int, int>& aMap ) const
|
||||||
|
@ -93,7 +93,7 @@ public :
|
|||||||
virtual bool OnMouseMove( QMouseEvent*, SUIT_ViewWindow* );
|
virtual bool OnMouseMove( QMouseEvent*, SUIT_ViewWindow* );
|
||||||
virtual bool OnKeyPress( QKeyEvent*, SUIT_ViewWindow* );
|
virtual bool OnKeyPress( QKeyEvent*, SUIT_ViewWindow* );
|
||||||
|
|
||||||
virtual LightApp_Selection* createSelection( const QString&, LightApp_SelectionMgr* ) const;
|
virtual LightApp_Selection* createSelection() const;
|
||||||
|
|
||||||
virtual void BuildPresentation ( const Handle(SALOME_InteractiveObject)&,
|
virtual void BuildPresentation ( const Handle(SALOME_InteractiveObject)&,
|
||||||
SUIT_ViewWindow* = 0 );
|
SUIT_ViewWindow* = 0 );
|
||||||
|
@ -48,9 +48,27 @@
|
|||||||
//function : SMESHGUI_Selection
|
//function : SMESHGUI_Selection
|
||||||
//purpose :
|
//purpose :
|
||||||
//=======================================================================
|
//=======================================================================
|
||||||
SMESHGUI_Selection::SMESHGUI_Selection( const QString& client, LightApp_SelectionMgr* mgr )
|
SMESHGUI_Selection::SMESHGUI_Selection()
|
||||||
: LightApp_Selection( client, mgr )
|
: LightApp_Selection()
|
||||||
{
|
{
|
||||||
|
}
|
||||||
|
|
||||||
|
//=======================================================================
|
||||||
|
//function : ~SMESHGUI_Selection
|
||||||
|
//purpose :
|
||||||
|
//=======================================================================
|
||||||
|
SMESHGUI_Selection::~SMESHGUI_Selection()
|
||||||
|
{
|
||||||
|
}
|
||||||
|
|
||||||
|
//=======================================================================
|
||||||
|
//function : init
|
||||||
|
//purpose :
|
||||||
|
//=======================================================================
|
||||||
|
void SMESHGUI_Selection::init( const QString& client, LightApp_SelectionMgr* mgr )
|
||||||
|
{
|
||||||
|
LightApp_Selection::init( client, mgr );
|
||||||
|
|
||||||
if( mgr && study() )
|
if( mgr && study() )
|
||||||
{
|
{
|
||||||
SalomeApp_Study* aSStudy = dynamic_cast<SalomeApp_Study*>(study());
|
SalomeApp_Study* aSStudy = dynamic_cast<SalomeApp_Study*>(study());
|
||||||
@ -63,14 +81,6 @@ SMESHGUI_Selection::SMESHGUI_Selection( const QString& client, LightApp_Selectio
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
//=======================================================================
|
|
||||||
//function : ~SMESHGUI_Selection
|
|
||||||
//purpose :
|
|
||||||
//=======================================================================
|
|
||||||
SMESHGUI_Selection::~SMESHGUI_Selection()
|
|
||||||
{
|
|
||||||
}
|
|
||||||
|
|
||||||
//=======================================================================
|
//=======================================================================
|
||||||
//function : processOwner
|
//function : processOwner
|
||||||
//purpose :
|
//purpose :
|
||||||
|
@ -43,9 +43,10 @@ class SMESH_Actor;
|
|||||||
class SMESHGUI_EXPORT SMESHGUI_Selection : public LightApp_Selection
|
class SMESHGUI_EXPORT SMESHGUI_Selection : public LightApp_Selection
|
||||||
{
|
{
|
||||||
public:
|
public:
|
||||||
SMESHGUI_Selection( const QString&, LightApp_SelectionMgr* );
|
SMESHGUI_Selection();
|
||||||
virtual ~SMESHGUI_Selection();
|
virtual ~SMESHGUI_Selection();
|
||||||
|
|
||||||
|
virtual void init( const QString&, LightApp_SelectionMgr* );
|
||||||
virtual QVariant parameter( const int, const QString& ) const;
|
virtual QVariant parameter( const int, const QString& ) const;
|
||||||
virtual void processOwner( const LightApp_DataOwner* );
|
virtual void processOwner( const LightApp_DataOwner* );
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user