+ SMESH::SelectionProxy myProxy;
+ QTreeWidget* myTree;
+ QList<InfoComputor*> myComputors;
+ QList<SMESH::SelectionProxy> myGroups;
+ QList<SMESH::SelectionProxy> mySubMeshes;
+};
+
+class SMESHGUI_EXPORT SMESHGUI_CtrlInfo : public SMESHGUI_Info
+{
+ Q_OBJECT;
+
+public:
+ SMESHGUI_CtrlInfo( QWidget* = 0 );
+ ~SMESHGUI_CtrlInfo();
+
+ void showInfo( const SMESH::SelectionProxy& );
+ void saveInfo( QTextStream& );
+
+private:
+ enum ObjectType { Mesh, SubMesh, Group };
+ QwtPlot* createPlot( QWidget* );
+ void clearInternal();
+#ifndef DISABLE_PLOT2DVIEWER
+ Plot2d_Histogram* getHistogram( SMESH::NumericalFunctor_ptr );
+#endif
+ void computeNb( int, int, int );
+
+private slots:
+ void computeAspectRatio();
+ void computeAspectRatio3D();
+ void computeFreeNodesInfo();
+ void computeNodesNbConnInfo();
+ void computeDoubleNodesInfo();
+ void computeDoubleEdgesInfo();
+ void computeDoubleFacesInfo();
+ void computeOverConstrainedFacesInfo();
+ void computeDoubleVolumesInfo();
+ void computeOverConstrainedVolumesInfo();
+ void setTolerance( double );
+
+private:
+ typedef SALOME::GenericObj_wrap< SMESH::Predicate > TPredicate;
+ typedef SALOME::GenericObj_wrap< SMESH::NumericalFunctor > TNumFunctor;
+ SMESH::SelectionProxy myProxy;
+ ObjectType myObjectType;
+ SMESHGUI_SpinBox* myToleranceWidget;
+ QList<QLabel*> myWidgets;
+ QwtPlot* myPlot;
+ QwtPlot* myPlot3D;
+ QList<QAbstractButton*> myButtons;
+ QList<TPredicate> myPredicates;
+ TNumFunctor myAspectRatio, myAspectRatio3D, myNodeConnFunctor;