mirror of
https://git.salome-platform.org/gitpub/modules/smesh.git
synced 2025-01-14 21:50:36 +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() );
|
||||
}
|
||||
|
||||
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
|
||||
|
@ -93,7 +93,7 @@ public :
|
||||
virtual bool OnMouseMove( QMouseEvent*, 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)&,
|
||||
SUIT_ViewWindow* = 0 );
|
||||
|
@ -48,9 +48,27 @@
|
||||
//function : SMESHGUI_Selection
|
||||
//purpose :
|
||||
//=======================================================================
|
||||
SMESHGUI_Selection::SMESHGUI_Selection( const QString& client, LightApp_SelectionMgr* mgr )
|
||||
: LightApp_Selection( client, mgr )
|
||||
SMESHGUI_Selection::SMESHGUI_Selection()
|
||||
: 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() )
|
||||
{
|
||||
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
|
||||
//purpose :
|
||||
|
@ -43,9 +43,10 @@ class SMESH_Actor;
|
||||
class SMESHGUI_EXPORT SMESHGUI_Selection : public LightApp_Selection
|
||||
{
|
||||
public:
|
||||
SMESHGUI_Selection( const QString&, LightApp_SelectionMgr* );
|
||||
SMESHGUI_Selection();
|
||||
virtual ~SMESHGUI_Selection();
|
||||
|
||||
virtual void init( const QString&, LightApp_SelectionMgr* );
|
||||
virtual QVariant parameter( const int, const QString& ) const;
|
||||
virtual void processOwner( const LightApp_DataOwner* );
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user