X-Git-Url: http://git.salome-platform.org/gitweb/?a=blobdiff_plain;f=src%2FSMESHGUI%2FSMESHGUI_ComputeDlg.h;h=85102f3b155c89ccf0cfbc758b63e654e60c3ea2;hb=35c05cab652a5167972b9588db81fc4a2a9361b5;hp=c07e8674668ddc4dbfd5f9143283f7338a8cce31;hpb=bb0c89d5a835e16cb265fd475e49cfb40c3a885f;p=modules%2Fsmesh.git diff --git a/src/SMESHGUI/SMESHGUI_ComputeDlg.h b/src/SMESHGUI/SMESHGUI_ComputeDlg.h index c07e86746..85102f3b1 100644 --- a/src/SMESHGUI/SMESHGUI_ComputeDlg.h +++ b/src/SMESHGUI/SMESHGUI_ComputeDlg.h @@ -50,8 +50,8 @@ class QTableWidget; class QLabel; class QtxComboBox; class SMESHGUI_ComputeDlg; +class SMESHGUI_MeshInfosBox; class SMESHGUI_PrecomputeDlg; -//class SMESHGUI_EvaluateDlg; class SMESHGUI_MeshEditPreview; class SMESH::compute_error_array; @@ -83,10 +83,9 @@ protected: SMESH::compute_error_array_var&, const bool, const QString& ); - //SMESHGUI_EvaluateDlg* evaluateDlg() const; SMESHGUI_ComputeDlg* evaluateDlg() const; void evaluateMesh(); - void showEvaluateResult(std::vector theVec, + void showEvaluateResult(const SMESH::long_array& theRes, const bool, const bool, SMESH::compute_error_array_var&, @@ -105,7 +104,6 @@ private: private: QPointer myCompDlg; - //QPointer myEvalDlg; protected: SMESH::SMESH_Mesh_var myMesh; @@ -147,6 +145,12 @@ public: virtual LightApp_Dialog* dlg() const; + /** + * \brief returns map of assigned algorithms modes + */ + static void getAssignedAlgos(_PTR(SObject) theMesh, + QMap& theModeMap); + protected: virtual void startOperation(); virtual void stopOperation(); @@ -187,55 +191,6 @@ protected: protected slots: }; -/*! - * \brief Box showing mesh info - */ - -class SMESHGUI_EXPORT SMESHGUI_MeshInfosBox : public QGroupBox -{ - Q_OBJECT - -public: - SMESHGUI_MeshInfosBox( const bool, QWidget* ); - - void SetInfoByMesh( SMESH::SMESH_Mesh_var ); - - void SetInfoByEval( std::vector theVec ); - -private: - bool myFull; - QLabel* myNbNode; - QLabel* myNbEdge; - QLabel* myNbLinEdge; - QLabel* myNbQuadEdge; - QLabel* myNbTrai; - QLabel* myNbLinTrai; - QLabel* myNbQuadTrai; - QLabel* myNbQuad; - QLabel* myNbLinQuad; - QLabel* myNbQuadQuad; - QLabel* myNbFace; - QLabel* myNbLinFace; - QLabel* myNbQuadFace; - QLabel* myNbPolyg; - QLabel* myNbHexa; - QLabel* myNbLinHexa; - QLabel* myNbQuadHexa; - QLabel* myNbTetra; - QLabel* myNbLinTetra; - QLabel* myNbQuadTetra; - QLabel* myNbPyra; - QLabel* myNbLinPyra; - QLabel* myNbQuadPyra; - QLabel* myNbPrism; - QLabel* myNbLinPrism; - QLabel* myNbQuadPrism; - QLabel* myNbVolum; - QLabel* myNbLinVolum; - QLabel* myNbQuadVolum; - QLabel* myNbPolyh; -}; - /*! * \brief Dialog to compute a mesh and show computation errors */ @@ -291,37 +246,4 @@ private: QtxComboBox* myPreviewMode; }; - -/*! - * \brief Dialog to evaluate a mesh and show result - */ -/* -class SMESHGUI_EXPORT SMESHGUI_EvaluateDlg : public SMESHGUI_Dialog -{ - Q_OBJECT - -public: - SMESHGUI_EvaluateDlg( QWidget* ); - virtual ~SMESHGUI_EvaluateDlg(); - -protected: - QFrame* createMainFrame( QWidget* ); - - QLabel* myMeshName; - QGroupBox* myMemoryLackGroup; - QGroupBox* myCompErrorGroup; - QGroupBox* myHypErrorGroup; - QLabel* myHypErrorLabel; - QTableWidget* myTable; - QPushButton* myShowBtn; - QPushButton* myPublishBtn; - QPushButton* myBadMeshBtn; - - SMESHGUI_MeshInfosBox* myBriefInfo; - SMESHGUI_MeshInfosBox* myFullInfo; - - friend class SMESHGUI_BaseComputeOp; -}; -*/ - #endif // SMESHGUI_COMPUTEDLG_H