diff options
author | Stanislaw Halik <sthalik@misaki.pl> | 2013-05-09 11:08:15 +0200 |
---|---|---|
committer | Stanislaw Halik <sthalik@misaki.pl> | 2013-05-09 11:08:15 +0200 |
commit | 402bfc09031fafb55c59e64b6d6fe7f4ce76107f (patch) | |
tree | b2cfaff37524436a9ad0d80fdbd89cc20e233704 /qfunctionconfigurator/qfunctionconfigurator.cpp | |
parent | 992ae20289a0f114d0e4fe3b3ca740bda31d9772 (diff) |
Remove reset button from curve dialog
Diffstat (limited to 'qfunctionconfigurator/qfunctionconfigurator.cpp')
-rw-r--r-- | qfunctionconfigurator/qfunctionconfigurator.cpp | 13 |
1 files changed, 0 insertions, 13 deletions
diff --git a/qfunctionconfigurator/qfunctionconfigurator.cpp b/qfunctionconfigurator/qfunctionconfigurator.cpp index e3eb962b..7c59d98e 100644 --- a/qfunctionconfigurator/qfunctionconfigurator.cpp +++ b/qfunctionconfigurator/qfunctionconfigurator.cpp @@ -57,11 +57,6 @@ #include <math.h> -QFunctionConfigurator::~QFunctionConfigurator() -{ - delete btnReset; -} - static const int pointSize = 5; QFunctionConfigurator::QFunctionConfigurator(QWidget *parent) @@ -87,12 +82,6 @@ QFunctionConfigurator::QFunctionConfigurator(QWidget *parent) movingPoint = -1; // Index of that same point // - // Add a Reset-button - // - btnReset = new QPushButton(QString("Reset"), this); - connect(btnReset, SIGNAL(clicked()), this, SLOT(resetCurve())); - - // // Variables for FunctionConfig // _config = 0; @@ -314,8 +303,6 @@ int i; drawBackground(e->rect()); // Draw the static parts on a Pixmap p.drawPixmap(0, 0, _background); // Paint the background _draw_background = false; - - btnReset->move(e->rect().left(), e->rect().bottom() - btnReset->height() - 2); } if (_draw_function) { |