aboutsummaryrefslogtreecommitdiffstats
path: root/desktop-widgets/tab-widgets/TabDiveComputer.h
blob: bdbb9097cd33868f52ef9b0a15df38de8b78efcd (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
// SPDX-License-Identifier: GPL-2.0
#ifndef TAB_DIVE_COMPUTER_H
#define TAB_DIVE_COMPUTER_H

#include "TabBase.h"
#include "ui_TabDiveComputer.h"
#include "qt-models/divecomputermodel.h"

class TabDiveComputer : public TabBase {
	Q_OBJECT
public:
	TabDiveComputer(QWidget *parent = 0);
	void updateData() override;
	void clear() override;
public slots:
	void tableClicked(const QModelIndex &index);
private:
	Ui::TabDiveComputer ui;
	DiveComputerModel model;
	DiveComputerSortedModel sortedModel;
};

#endif