subsurface/desktop-widgets/tab-widgets/TabBase.h

23 lines
416 B
C
Raw Normal View History

// SPDX-License-Identifier: GPL-2.0
#ifndef TAB_BASE_H
#define TAB_BASE_H
#include <QWidget>
struct dive;
class MainTab;
class TabBase : public QWidget {
Q_OBJECT
public:
TabBase(MainTab *parent);
virtual void updateData(const std::vector<dive *> &selection, dive *currentDive, int currentDC) = 0;
virtual void clear() = 0;
virtual void updateUi(QString titleColor);
protected:
MainTab &parent;
};
#endif