Add initial preferences page for Start

This commit is contained in:
Furgo
2025-02-28 19:10:46 +01:00
parent 58dc95a2f2
commit 3942ec7794
5 changed files with 293 additions and 0 deletions

View File

@@ -33,6 +33,8 @@
#include <Gui/Language/Translator.h>
#include <Gui/Command.h>
#include <Gui/MainWindow.h>
#include <Gui/WidgetFactory.h>
#include "DlgStartPreferencesImp.h"
#include <gsl/pointers>
@@ -124,5 +126,9 @@ PyMOD_INIT_FUNC(StartGui)
loadStartResource();
Base::Console().Log("done\n");
// register preferences pages
new Gui::PrefPageProducer<StartGui::DlgStartPreferencesImp>(
QT_TRANSLATE_NOOP("QObject", "Start"));
PyMOD_Return(mod);
}