mirror of
https://github.com/subsurface/subsurface.git
synced 2024-11-30 22:20:21 +00:00
152016d293
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>
21 lines
367 B
C++
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
|