diff options
-rw-r--r-- | qfunctionconfigurator/functionconfig.h | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/qfunctionconfigurator/functionconfig.h b/qfunctionconfigurator/functionconfig.h index 0e87c4c8..0f60c979 100644 --- a/qfunctionconfigurator/functionconfig.h +++ b/qfunctionconfigurator/functionconfig.h @@ -47,6 +47,12 @@ public: // Functions to manipulate the Function
//
void removePoint(int i);
+ void removeAllPoints() {
+ QMutexLocker foo(_mutex);
+ _points.clear();
+ reload();
+ }
+
void addPoint(QPointF pt);
void movePoint(int idx, QPointF pt);
QList<QPointF> getPoints();
|