2017-04-27 18:26:05 +00:00
|
|
|
// SPDX-License-Identifier: GPL-2.0
|
2017-04-04 17:21:30 +00:00
|
|
|
#ifndef TAB_DIVE_STATISTICS_H
|
|
|
|
#define TAB_DIVE_STATISTICS_H
|
|
|
|
|
|
|
|
#include "TabBase.h"
|
2019-10-06 19:31:39 +00:00
|
|
|
#include "core/subsurface-qt/DiveListNotifier.h"
|
2017-04-04 17:21:30 +00:00
|
|
|
|
|
|
|
namespace Ui {
|
|
|
|
class TabDiveStatistics;
|
|
|
|
};
|
|
|
|
|
|
|
|
class TabDiveStatistics : public TabBase {
|
|
|
|
Q_OBJECT
|
|
|
|
public:
|
2017-04-04 18:01:47 +00:00
|
|
|
TabDiveStatistics(QWidget *parent = 0);
|
2017-04-04 17:21:30 +00:00
|
|
|
~TabDiveStatistics();
|
2018-09-29 20:13:44 +00:00
|
|
|
void updateData() override;
|
|
|
|
void clear() override;
|
2017-04-04 17:21:30 +00:00
|
|
|
|
2019-10-06 19:31:39 +00:00
|
|
|
private slots:
|
|
|
|
void divesChanged(const QVector<dive *> &dives, DiveField field);
|
|
|
|
|
2017-04-04 17:21:30 +00:00
|
|
|
private:
|
|
|
|
Ui::TabDiveStatistics *ui;
|
|
|
|
};
|
|
|
|
|
|
|
|
#endif
|