2015-05-29 01:22:02 +01:00
|
|
|
#pragma once
|
|
|
|
|
2022-10-14 18:09:41 +01:00
|
|
|
class BasePage;
|
|
|
|
|
2015-05-29 01:22:02 +01:00
|
|
|
class BasePageContainer
|
|
|
|
{
|
|
|
|
public:
|
2018-07-15 13:51:05 +01:00
|
|
|
virtual ~BasePageContainer(){};
|
|
|
|
virtual bool selectPage(QString pageId) = 0;
|
2023-06-19 22:42:27 +01:00
|
|
|
virtual BasePage* selectedPage() = 0;
|
2022-10-14 18:09:41 +01:00
|
|
|
virtual BasePage* getPage(QString pageId) { return nullptr; };
|
2018-07-15 13:51:05 +01:00
|
|
|
virtual void refreshContainer() = 0;
|
|
|
|
virtual bool requestClose() = 0;
|
2015-05-29 01:22:02 +01:00
|
|
|
};
|