diff options
author | Stanislaw Halik <sthalik@misaki.pl> | 2013-09-14 17:33:12 +0200 |
---|---|---|
committer | Stanislaw Halik <sthalik@misaki.pl> | 2013-09-14 17:33:12 +0200 |
commit | 475df2d12176e906d99822f4517fbb85579f8683 (patch) | |
tree | 2aaba8d642554e42ebee65e452f735e103f3d4b3 /qfunctionconfigurator | |
parent | 14f9db1312149fcf391c95e9c6cadbc6bdaaf7cc (diff) |
QFC: cleanup logic and unused stuff
Diffstat (limited to 'qfunctionconfigurator')
-rw-r--r-- | qfunctionconfigurator/qfunctionconfigurator.cpp | 1 | ||||
-rw-r--r-- | qfunctionconfigurator/qfunctionconfigurator.h | 9 |
2 files changed, 0 insertions, 10 deletions
diff --git a/qfunctionconfigurator/qfunctionconfigurator.cpp b/qfunctionconfigurator/qfunctionconfigurator.cpp index 79c5f949..97d89cbb 100644 --- a/qfunctionconfigurator/qfunctionconfigurator.cpp +++ b/qfunctionconfigurator/qfunctionconfigurator.cpp @@ -402,7 +402,6 @@ void QFunctionConfigurator::mousePressEvent(QMouseEvent *e) if (!bTouchingPoint) { if (withinRect(e->pos(), range)) { _config->addPoint(normalizePoint(e->pos())); - movingPoint = -1; emit CurveChanged( true ); } } diff --git a/qfunctionconfigurator/qfunctionconfigurator.h b/qfunctionconfigurator/qfunctionconfigurator.h index fc2a1957..7260de1f 100644 --- a/qfunctionconfigurator/qfunctionconfigurator.h +++ b/qfunctionconfigurator/qfunctionconfigurator.h @@ -143,11 +143,6 @@ public slots: void setOutputEGU(QString); void setCaption(QString); - void resetCurve() { - qDebug() << "QFunctionConfigurator::resetCurve = " << strSettingsFile; - loadSettings( strSettingsFile ); - } - protected slots: void paintEvent(QPaintEvent *e); void mousePressEvent(QMouseEvent *e); @@ -193,10 +188,6 @@ private: bool _draw_function; // Flag to determine if the function should be (re-)drawn on the QPixmap QPixmap _function; // Image of the function (static unless edited by the user) - // - // Properties of the CurveConfigurator Widget - // - QString _title; // Title do display in Widget and to load Settings FunctionConfig* _config; }; |