-// Copyright (C) 2007-2012 CEA/DEN, EDF R&D, OPEN CASCADE
+// Copyright (C) 2007-2014 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
// License as published by the Free Software Foundation; either
-// version 2.1 of the License.
+// version 2.1 of the License, or (at your option) any later version.
//
// This library is distributed in the hope that it will be useful,
// but WITHOUT ANY WARRANTY; without even the implied warranty of
class QTableWidget;
class QLabel;
class QtxComboBox;
+class QProgressBar;
class SMESHGUI_ComputeDlg;
class SMESHGUI_MeshInfosBox;
class SMESHGUI_PrecomputeDlg;
void onPreviewShape();
void onPublishShape();
void onShowBadMesh();
+ void onGroupOfBadMesh();
void currentCellChanged();
private:
QPushButton* myShowBtn;
QPushButton* myPublishBtn;
QPushButton* myBadMeshBtn;
+ QPushButton* myBadMeshToGroupBtn;
SMESHGUI_MeshInfosBox* myBriefInfo;
SMESHGUI_MeshInfosBox* myFullInfo;
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);
- bool result();
- void cancel();
-
+ bool result();
+ void cancel();
+ SMESH::SMESH_Mesh_var& getMesh() { return myMesh; }
+
protected:
void run();
private:
- SMESH::SMESH_Gen_var myGen;
+ SMESH::SMESH_Gen_var myGen;
SMESH::SMESH_Mesh_var myMesh;
GEOM::GEOM_Object_var myMainShape;
- bool myResult;
+ bool myResult;
};
/*!
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();
private:
SMESHGUI_ComputeDlg_QThread qthread;
- QPushButton *cancelButton;
-
+ QPushButton * cancelButton;
+ QLabel * nbNodesLabel;
+ QLabel * nbElemsLabel;
+ QLabel * freeRAMLabel;
+ QProgressBar* progressBar;
};
#endif // SMESHGUI_COMPUTEDLG_H