Basic, unfinished & broken impl

Signed-off-by: TheKodeToad <TheKodeToad@proton.me>
This commit is contained in:
TheKodeToad
2023-06-19 22:42:27 +01:00
parent fd9a8d1551
commit 6ccc7e77f9
18 changed files with 287 additions and 217 deletions

View File

@ -137,6 +137,11 @@ BasePage* PageContainer::getPage(QString pageId)
return m_model->findPageEntryById(pageId);
}
BasePage* PageContainer::selectedPage()
{
return m_currentPage;
}
const QList<BasePage*> PageContainer::getPages() const
{
return m_model->pages();

View File

@ -78,7 +78,8 @@ public:
return false;
}
virtual bool selectPage(QString pageId) override;
bool selectPage(QString pageId) override;
BasePage* selectedPage() override;
BasePage* getPage(QString pageId) override;
const QList<BasePage*> getPages() const;