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
0022107: EDF 2502 SMESH: Publish the result of show bad mesh in a group
[modules/smesh.git]
/
src
/
SMESHGUI
/
SMESHGUI_ComputeDlg.h
diff --git
a/src/SMESHGUI/SMESHGUI_ComputeDlg.h
b/src/SMESHGUI/SMESHGUI_ComputeDlg.h
index 49aa2477c77ba31127699f7d1c66e54abd1565cd..81a09f85760563b424a8353e8bb0f5aeffd1894a 100644
(file)
--- a/
src/SMESHGUI/SMESHGUI_ComputeDlg.h
+++ b/
src/SMESHGUI/SMESHGUI_ComputeDlg.h
@@
-1,4
+1,4
@@
-// Copyright (C) 2007-201
2
CEA/DEN, EDF R&D, OPEN CASCADE
+// Copyright (C) 2007-201
3
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
@@
-99,6
+99,7
@@
protected slots:
void onPreviewShape();
void onPublishShape();
void onShowBadMesh();
void onPreviewShape();
void onPublishShape();
void onShowBadMesh();
+ void onGroupOfBadMesh();
void currentCellChanged();
private:
void currentCellChanged();
private:
@@
-226,6
+227,7
@@
protected:
QPushButton* myShowBtn;
QPushButton* myPublishBtn;
QPushButton* myBadMeshBtn;
QPushButton* myShowBtn;
QPushButton* myPublishBtn;
QPushButton* myBadMeshBtn;
+ QPushButton* myBadMeshToGroupBtn;
SMESHGUI_MeshInfosBox* myBriefInfo;
SMESHGUI_MeshInfosBox* myFullInfo;
SMESHGUI_MeshInfosBox* myBriefInfo;
SMESHGUI_MeshInfosBox* myFullInfo;
@@
-271,20
+273,21
@@
class SMESHGUI_EXPORT SMESHGUI_ComputeDlg_QThread : public QThread
Q_OBJECT
public:
Q_OBJECT
public:
- SMESHGUI_ComputeDlg_QThread(SMESH::SMESH_Gen_var gen,
+ SMESHGUI_ComputeDlg_QThread(SMESH::SMESH_Gen_var
gen,
SMESH::SMESH_Mesh_var mesh,
GEOM::GEOM_Object_var mainShape);
SMESH::SMESH_Mesh_var mesh,
GEOM::GEOM_Object_var mainShape);
- bool result();
- void cancel();
-
+ bool result();
+ void cancel();
+ SMESH::SMESH_Mesh_var& getMesh() { return myMesh; }
+
protected:
void run();
private:
protected:
void run();
private:
- SMESH::SMESH_Gen_var myGen;
+ SMESH::SMESH_Gen_var
myGen;
SMESH::SMESH_Mesh_var myMesh;
GEOM::GEOM_Object_var myMainShape;
SMESH::SMESH_Mesh_var myMesh;
GEOM::GEOM_Object_var myMainShape;
- bool myResult;
+ bool
myResult;
};
/*!
};
/*!
@@
-296,8
+299,8
@@
class SMESHGUI_EXPORT SMESHGUI_ComputeDlg_QThreadQDialog : public QDialog
Q_OBJECT
public:
Q_OBJECT
public:
- SMESHGUI_ComputeDlg_QThreadQDialog(QWidget *parent,
- SMESH::SMESH_Gen_var gen,
+ SMESHGUI_ComputeDlg_QThreadQDialog(QWidget *
parent,
+ SMESH::SMESH_Gen_var
gen,
SMESH::SMESH_Mesh_var mesh,
GEOM::GEOM_Object_var mainShape);
bool result();
SMESH::SMESH_Mesh_var mesh,
GEOM::GEOM_Object_var mainShape);
bool result();
@@
-311,8
+314,9
@@
private slots:
private:
SMESHGUI_ComputeDlg_QThread qthread;
private:
SMESHGUI_ComputeDlg_QThread qthread;
- QPushButton *cancelButton;
-
+ QPushButton * cancelButton;
+ QLabel * nbNodesLabel;
+ QLabel * nbElemsLabel;
};
#endif // SMESHGUI_COMPUTEDLG_H
};
#endif // SMESHGUI_COMPUTEDLG_H