subsurface/desktop-widgets/tab-widgets/TabBase.h
Dirk Hohndel 7d18a525f1 desktop: allow update of tab widget colors at run time
Adding a new virtual function to all of these classes may seem like overkill,
but of course the idea is that likely we'd allow similar changes to all of
them.

Signed-off-by: Dirk Hohndel <dirk@hohndel.org>
2020-11-03 23:08:39 -08:00

19 lines
288 B
C++

// SPDX-License-Identifier: GPL-2.0
#ifndef TAB_BASE_H
#define TAB_BASE_H
#include <QWidget>
struct dive;
class TabBase : public QWidget {
Q_OBJECT
public:
TabBase(QWidget *parent = 0);
virtual void updateData() = 0;
virtual void clear() = 0;
virtual void updateUi();
};
#endif