subsurface/desktop-widgets/tab-widgets/TabBase.h
Berthold Stoeger 152016d293 cleanup: break out the dive-notes tab
There was always this weird asymmetry that the "maintab" widget
is one of the tabs itself, whereas the additional tabs were
treated as extra-widgets. Turn the first tab into explicit
source files to make the distinction between container and
content clear.

Signed-off-by: Berthold Stoeger <bstoeger@mail.tuwien.ac.at>
2022-03-12 18:33:32 +01:00

21 lines
367 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(QString titleColor);
virtual void enterEditMode();
virtual void exitEditMode();
};
#endif