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
23368: [CEA 1865] Possibility to define faces to mesh as a single one: transpatch...
[modules/smesh.git]
/
src
/
StdMeshersGUI
/
StdMeshersGUI_SubShapeSelectorWdg.h
diff --git
a/src/StdMeshersGUI/StdMeshersGUI_SubShapeSelectorWdg.h
b/src/StdMeshersGUI/StdMeshersGUI_SubShapeSelectorWdg.h
index 1b40658d95d11c4340fefa14924962f7f0bae927..adf62f1d6cdb5fd43c521a1ec05810afeb062c7d 100644
(file)
--- a/
src/StdMeshersGUI/StdMeshersGUI_SubShapeSelectorWdg.h
+++ b/
src/StdMeshersGUI/StdMeshersGUI_SubShapeSelectorWdg.h
@@
-1,4
+1,4
@@
-// Copyright (C) 2007-201
5
CEA/DEN, EDF R&D, OPEN CASCADE
+// Copyright (C) 2007-201
6
CEA/DEN, EDF R&D, OPEN CASCADE
//
// This library is free software; you can redistribute it and/or
// modify it under the terms of the GNU Lesser General Public
//
// This library is free software; you can redistribute it and/or
// modify it under the terms of the GNU Lesser General Public
@@
-50,26
+50,22
@@
class STDMESHERSGUI_EXPORT StdMeshersGUI_SubShapeSelectorWdg : public QWidget
Q_OBJECT
public:
Q_OBJECT
public:
- StdMeshersGUI_SubShapeSelectorWdg( QWidget* parent = 0,
- TopAbs_ShapeEnum aSubShType = TopAbs_EDGE );
+ StdMeshersGUI_SubShapeSelectorWdg( QWidget* parent = 0,
+ TopAbs_ShapeEnum subShType = TopAbs_EDGE,
+ const bool toShowList = true);
~StdMeshersGUI_SubShapeSelectorWdg();
SMESH::long_array_var GetListOfIDs();
bool SetListOfIDs( SMESH::long_array_var );
~StdMeshersGUI_SubShapeSelectorWdg();
SMESH::long_array_var GetListOfIDs();
bool SetListOfIDs( SMESH::long_array_var );
+ const QList<int>& GetSelectedIDs() const { return mySelectedIDs; }
void SetGeomShapeEntry( const QString& theEntry,
const QString& theMainShapeEntry);
void SetGeomShapeEntry( const QString& theEntry,
const QString& theMainShapeEntry);
- //QString GetGeomShapeEntry() { return myEntry; }
-
- // void SetMainShapeEntry( const QString& theEntry );
const char* GetMainShapeEntry();
TopoDS_Shape GetGeomShape() { return myGeomShape; }
TopoDS_Shape GetMainShape() { return myMainShape; }
const char* GetMainShapeEntry();
TopoDS_Shape GetGeomShape() { return myGeomShape; }
TopoDS_Shape GetMainShape() { return myMainShape; }
- // QList<int> GetCorrectedListOfIDs( bool fromSubshapeToMainshape,
- // bool* isOK=0);
-
static GEOM::GEOM_Object_var GetGeomObjectByEntry( const QString& );
static TopoDS_Shape GetTopoDSByEntry( const QString& );
static GEOM::GEOM_Object_var GetGeomObjectByEntry( const QString& );
static TopoDS_Shape GetTopoDSByEntry( const QString& );
@@
-84,9
+80,11
@@
public:
vtkRenderer* GetRenderer() { return myRenderer; }
SMESH_PreviewActorsCollection* GetActorCollection() { return myPreviewActor; }
void ClearSelected();
vtkRenderer* GetRenderer() { return myRenderer; }
SMESH_PreviewActorsCollection* GetActorCollection() { return myPreviewActor; }
void ClearSelected();
+ void ActivateSelection( bool );
signals:
signals:
- void selectionChanged();
+ void selectionChanged(); // in the list
+ void shapeSelected(); // globally
private:
void updateState();
private:
void updateState();
@@
-126,7
+124,6
@@
private:
QString myParamValue;
bool myIsShown;
QString myParamValue;
bool myIsShown;
- bool myIsNotCorrected;
// for manage possible size of myListOfIDs
int myMaxSize;
// for manage possible size of myListOfIDs
int myMaxSize;