2019-03-09 21:32:16 +00:00
|
|
|
// SPDX-License-Identifier: GPL-2.0
|
|
|
|
#ifndef TAB_DIVE_SITE_H
|
|
|
|
#define TAB_DIVE_SITE_H
|
|
|
|
|
|
|
|
#include "TabBase.h"
|
|
|
|
#include "ui_TabDiveSite.h"
|
2019-03-12 16:28:43 +00:00
|
|
|
#include "qt-models/divelocationmodel.h"
|
2019-03-09 21:32:16 +00:00
|
|
|
|
|
|
|
class TabDiveSite : public TabBase {
|
|
|
|
Q_OBJECT
|
|
|
|
public:
|
|
|
|
TabDiveSite(QWidget *parent = 0);
|
|
|
|
void updateData() override;
|
|
|
|
void clear() override;
|
2019-03-13 19:58:25 +00:00
|
|
|
private slots:
|
|
|
|
void add();
|
2019-03-09 21:32:16 +00:00
|
|
|
private:
|
|
|
|
Ui::TabDiveSite ui;
|
2019-03-12 16:28:43 +00:00
|
|
|
DiveSiteSortedModel model;
|
2019-03-09 21:32:16 +00:00
|
|
|
};
|
|
|
|
|
|
|
|
#endif
|