Salome HOME
Corrected for 0020310.
[modules/smesh.git] / src / SMESHGUI / SMESHGUI_ComputeDlg.h
index d88731203630a5c9274192fc5fab7b21a7b4ec78..85102f3b155c89ccf0cfbc758b63e654e60c3ea2 100644 (file)
@@ -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<int> theVec,
+  void                           showEvaluateResult(const SMESH::long_array& theRes,
                                                    const bool,
                                                    const bool,
                                                    SMESH::compute_error_array_var&,
@@ -105,7 +104,6 @@ private:
 
 private:
   QPointer<SMESHGUI_ComputeDlg>  myCompDlg;
-  //QPointer<SMESHGUI_EvaluateDlg> myEvalDlg;
 
 protected:
   SMESH::SMESH_Mesh_var            myMesh;
@@ -193,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<int> 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
  */
@@ -297,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