mirror of
https://github.com/subsurface/subsurface.git
synced 2025-02-19 22:16:15 +00:00
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>
This commit is contained in:
parent
ab94956759
commit
49fc05de7e
5 changed files with 128 additions and 124 deletions
|
@ -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:
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue