summaryrefslogtreecommitdiffstats
path: root/desktop-widgets/simplewidgets.h
diff options
context:
space:
mode:
authorGravatar Berthold Stoeger <bstoeger@mail.tuwien.ac.at>2020-10-26 17:05:37 +0100
committerGravatar Dirk Hohndel <dirk@hohndel.org>2020-10-26 20:56:56 -0700
commit49fc05de7ebdc3f402b76072a34e3aa53b3b7d4d (patch)
tree77e514c7099779c2ea63906fbd15132ad4628ea4 /desktop-widgets/simplewidgets.h
parentab94956759a934b7686b4db7874fb6266703726a (diff)
downloadsubsurface-49fc05de7ebdc3f402b76072a34e3aa53b3b7d4d.tar.gz
desktop: move MinMaxAvgWidget to TabDiveStatistics
This is its only user and the widget is scheduled for removal. Let's move it there temporarilly. Signed-off-by: Berthold Stoeger <bstoeger@mail.tuwien.ac.at>
Diffstat (limited to 'desktop-widgets/simplewidgets.h')
-rw-r--r--desktop-widgets/simplewidgets.h23
1 files changed, 0 insertions, 23 deletions
diff --git a/desktop-widgets/simplewidgets.h b/desktop-widgets/simplewidgets.h
index a51571132..409395265 100644
--- a/desktop-widgets/simplewidgets.h
+++ b/desktop-widgets/simplewidgets.h
@@ -24,29 +24,6 @@ struct dive_components;
#include "ui_listfilter.h"
#include "ui_addfilterpreset.h"
-class MinMaxAvgWidget : public QWidget {
- Q_OBJECT
- QLabel *avgIco, *avgValue;
- QLabel *minIco, *minValue;
- QLabel *maxIco, *maxValue;
-public:
- MinMaxAvgWidget(QWidget *parent);
- double minimum() const;
- double maximum() const;
- double average() const;
- void setMinimum(double minimum);
- void setMaximum(double maximum);
- void setAverage(double average);
- void setMinimum(const QString &minimum);
- void setMaximum(const QString &maximum);
- void setAverage(const QString &average);
- void overrideMinToolTipText(const QString &newTip);
- void overrideAvgToolTipText(const QString &newTip);
- void overrideMaxToolTipText(const QString &newTip);
- void setAvgVisibility(bool visible);
- void clear();
-};
-
class RenumberDialog : public QDialog {
Q_OBJECT
public: