Files
FWS-PacManage/pages/base/page.cpp
T
BlackAngelTV 3e85db87b2 refactor(pages): group the screens by what the user is doing
pages/ was a flat row of eight screens, so a change to one meant scanning
the whole folder to see what else was in it. The screens now sit in
packages/ (browse, cleanup), overview/ (dashboard, history), system/
(logs, settings) and extensions/ (plugins), with the scaffolding they
all build on — the Page base and the shared widgets — in base/.
2026-09-29 21:26:51 +02:00

14 lines
331 B
C++

#include "page.h"
#include <QMainWindow>
Page::Page(AppCore* core, QWidget* parent) : QWidget(parent), m_core(core) {}
QMainWindow* Page::mainWindow() const {
return qobject_cast<QMainWindow*>(window());
}
void Page::start(const AppCore::StartResult& result, const QString& title) {
emit requestStart(result, title);
}