Scanframe Modular Application 0.1.0
Loading...
Searching...
No Matches
ServiceAppModule.h
Go to the documentation of this file.
1#pragma once
4
5namespace sf
6{
7
9{
10 Q_OBJECT
11
12 public:
13 explicit ServiceAppModule(const Parameters& params);
14
16
17 void initialize(InitializeStage stage) override;
18
20
21 [[nodiscard]] QString getName() const override;
22
23 [[nodiscard]] QString getDescription() const override;
24
25 [[nodiscard]] QString getLibraryFilename() const override;
26
27 [[nodiscard]] QString getSvgIconResource() const override;
28
29 void storeSettings(bool save);
30
31 QSettings* _settings;
32
34};
35
36}// namespace sf
Base/Interface class for application modules.
Definition AppModuleInterface.h:26
InitializeStage
Definition AppModuleInterface.h:67
Implements a connection between to application exporting and importing generic information.
Definition InformationService.h:12
Dialog containing multiple property pages.
Definition qt/PropertySheetDialog.h:14
Definition ServiceAppModule.h:9
QString getSvgIconResource() const override
Gets svg icon resource name and can be overridden to change the default.
ServiceAppModule(const Parameters &params)
void addPropertyPages(PropertySheetDialog *) override
Adds module property pages to the passed sheet.
QString getLibraryFilename() const override
Gets the library filename.
void initialize(InitializeStage stage) override
Called when al modules are loaded or when a module added.
~ServiceAppModule() override
QString getDescription() const override
Gets the description of this instance.
void storeSettings(bool save)
QString getName() const override
Gets the description of this instance.
InformationService * _informationService
Definition ServiceAppModule.h:33
QSettings * _settings
Definition ServiceAppModule.h:31
Definition Application.h:10
Structure for passing parameters to derived classes loaded and created at run-time.
Definition AppModuleInterface.h:32