X-Git-Url: http://git.salome-platform.org/gitweb/?a=blobdiff_plain;f=src%2FHYDROCurveCreator%2FCurveCreator_Widget.h;h=e3ac5af039514bd3cfe7040676abe86229b6a670;hb=5de801b5e40ccbf7761fd4a0f115e117123fb12e;hp=fcb6cc34cd7bf8cfa6dd13b49ee591a0775bd899;hpb=bc94f7ba1f12d74aee550ceae01684f1438bd8ac;p=modules%2Fhydro.git diff --git a/src/HYDROCurveCreator/CurveCreator_Widget.h b/src/HYDROCurveCreator/CurveCreator_Widget.h index fcb6cc34..e3ac5af0 100644 --- a/src/HYDROCurveCreator/CurveCreator_Widget.h +++ b/src/HYDROCurveCreator/CurveCreator_Widget.h @@ -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;