summaryrefslogtreecommitdiffstats
path: root/desktop-widgets/tab-widgets/TabDiveComputer.h
blob: f5f6900c3e744ae45084c7ee317144e6ad7f81f9 (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"

class DiveComputerSortedModel;

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;
	DiveComputerSortedModel *sortedModel;
};

#endif