Salome HOME
projects
/
modules
/
smesh.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Using files from package LightApp instead of files from package SalomeApp
[modules/smesh.git]
/
src
/
SMESHGUI
/
SMESHGUI_Selection.h
diff --git
a/src/SMESHGUI/SMESHGUI_Selection.h
b/src/SMESHGUI/SMESHGUI_Selection.h
index 20e13f9bb9390adc49c218f07bce877a1637971b..5f2e05fb6000dca218bb480bf0105acc353135ff 100644
(file)
--- a/
src/SMESHGUI/SMESHGUI_Selection.h
+++ b/
src/SMESHGUI/SMESHGUI_Selection.h
@@
-29,25
+29,23
@@
#ifndef SMESHGUI_SELECTION_HeaderFile
#define SMESHGUI_SELECTION_HeaderFile
#ifndef SMESHGUI_SELECTION_HeaderFile
#define SMESHGUI_SELECTION_HeaderFile
-#include <QtxPopupMgr.h>
-
+#include "LightApp_Selection.h"
#include "SALOMEDSClient_definitions.hxx"
#include "SALOMEDSClient_definitions.hxx"
-#include "SUIT_DataOwner.h"
-class
Salome
App_SelectionMgr;
+class
Light
App_SelectionMgr;
class SALOMEDSClient_Study;
class SALOMEDSClient_Study;
-class
Salome
App_DataOwner;
+class
Light
App_DataOwner;
class SMESH_Actor;
class SMESH_Actor;
-class SMESHGUI_Selection : public
QtxPopupMgr::
Selection
+class SMESHGUI_Selection : public
LightApp_
Selection
{
public:
{
public:
- SMESHGUI_Selection(
const QString&, SalomeApp_SelectionMgr*
);
+ SMESHGUI_Selection();
virtual ~SMESHGUI_Selection();
virtual ~SMESHGUI_Selection();
+ virtual void init( const QString&, LightApp_SelectionMgr* );
virtual QtxValue param( const int , const QString& paramName ) const;
virtual QtxValue param( const int , const QString& paramName ) const;
-
- virtual int count() const;
+ virtual void processOwner( const LightApp_DataOwner* );
// got from object, not from actor
virtual int numberOfNodes( int ind ) const;
// got from object, not from actor
virtual int numberOfNodes( int ind ) const;
@@
-65,13
+63,12
@@
public:
SMESH_Actor* getActor( int ind ) const;
SMESH_Actor* getActor( int ind ) const;
- static int type(
SalomeApp_DataOwner* owner, _PTR(Study) study
);
+ static int type(
const QString&, _PTR(Study)
);
static QString typeName( const int type);
private:
static QString typeName( const int type);
private:
- QString myPopupClient;
- QStringList myTypes;
- SUIT_DataOwnerPtrList myDataOwners;
+ QStringList myTypes;
+ QPtrList<SMESH_Actor> myActors;
};
#endif
};
#endif