Salome HOME
Save for a list of the local selected points.
[modules/hydro.git] / src / HYDROCurveCreator / CurveCreator_Widget.h
index fcb6cc34cd7bf8cfa6dd13b49ee591a0775bd899..e3ac5af039514bd3cfe7040676abe86229b6a670 100644 (file)
@@ -54,7 +54,8 @@ class CURVECREATOR_EXPORT CurveCreator_Widget : public QWidget
 public:
   explicit CurveCreator_Widget( QWidget* parent,
                                 CurveCreator_ICurve *theCurve,
-                                Qt::WindowFlags fl=0 );
+                                Qt::WindowFlags fl=0,
+                                int theLocalPointRowLimit = 20);
 
   // OCC viewer manipulation
   void setOCCViewer( OCCViewer_Viewer* theViewer );
@@ -164,10 +165,10 @@ private:
 
   void setDragStarted( const bool theState, const QPoint& thePoint = QPoint() );
 
-  void getSelectedPonts( CurveCreator_ICurve::SectionToPointList& thePoints );
+  void getSelectedPoints( CurveCreator_ICurve::SectionToPointList& thePoints );
   bool isIntersectVertexToPoint( const TopoDS_Vertex& theVertex,
                                const CurveCreator_ICurve::SectionToPoint& theSToPoint );
-  void setSelectedPonts( const CurveCreator_ICurve::SectionToPointList& =
+  void setSelectedPoints( const CurveCreator_ICurve::SectionToPointList& =
                                CurveCreator_ICurve::SectionToPointList() );
 
   void startCurveModification( CurveCreator_ICurve::SectionToPointList& thePoints,
@@ -190,8 +191,10 @@ private:
   CurveCreator_ICurve*        myCurve;
   CurveCreator_TreeView*      mySectionView;
   CurveCreator_TableView*     myLocalPointView;
+  CurveCreator_ICurve::SectionToPointList myLocalPoints;
   CurveCreator_NewSectionDlg* myNewSectionEditor;
   OCCViewer_Viewer*           myOCCViewer;
+  int                         myLocalPointRowLimit;
   int                         mySection;
   int                         myPointNum;
   bool                        myDragStarted;