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_EXTRA_INFO_H
|
|
|
|
#define TAB_DIVE_EXTRA_INFO_H
|
|
|
|
|
|
|
|
#include "TabBase.h"
|
|
|
|
|
|
|
|
namespace Ui {
|
|
|
|
class TabDiveExtraInfo;
|
|
|
|
};
|
|
|
|
|
|
|
|
class ExtraDataModel;
|
|
|
|
|
|
|
|
class TabDiveExtraInfo : public TabBase {
|
|
|
|
Q_OBJECT
|
|
|
|
public:
|
2022-09-09 16:12:31 +00:00
|
|
|
TabDiveExtraInfo(MainTab *parent);
|
2017-04-04 17:21:30 +00:00
|
|
|
~TabDiveExtraInfo();
|
2022-09-04 09:04:01 +00:00
|
|
|
void updateData(const std::vector<dive *> &selection, dive *currentDive, int currentDC) override;
|
2018-09-29 20:13:44 +00:00
|
|
|
void clear() override;
|
2017-04-04 17:21:30 +00:00
|
|
|
private:
|
|
|
|
Ui::TabDiveExtraInfo *ui;
|
|
|
|
ExtraDataModel *extraDataModel;
|
|
|
|
};
|
|
|
|
|
|
|
|
#endif
|