Scanframe Modular Application 0.1.0
Loading...
Searching...
No Matches
TextEditorAppModule.h
Go to the documentation of this file.
1#pragma once
2
3#include <QMap>
7
8namespace sf
9{
10
11class [[maybe_unused]] TextEditorAppModule :public AppModuleInterface
12{
13 public:
14
15 explicit TextEditorAppModule(const Parameters& params);
16
17 void initialize(InitializeStage stage) override;
18
20
21 MultiDocInterface* createWidget(QWidget* parent) const override;
22
23 [[nodiscard]] QString getName() const override;
24
25 [[nodiscard]] QString getDescription() const override;
26
27 [[nodiscard]] QString getLibraryFilename() const override;
28
29 [[nodiscard]] QString getSvgIconResource() const override;
30};
31
32
33}
Base/Interface class for application modules.
Definition AppModuleInterface.h:26
InitializeStage
Definition AppModuleInterface.h:67
Interface for MDI document widgets handling files.
Definition MultiDocInterface.h:41
Dialog containing multiple property pages.
Definition qt/PropertySheetDialog.h:14
Definition TextEditorAppModule.h:12
QString getSvgIconResource() const override
Gets svg icon resource name and can be overridden to change the default.
MultiDocInterface * createWidget(QWidget *parent) const override
Creates child of the passed parent (i.e. QMdiArea).
QString getDescription() const override
Gets the description of this instance.
TextEditorAppModule(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.
QString getName() const override
Gets the description of this instance.
Definition Application.h:10
Structure for passing parameters to derived classes loaded and created at run-time.
Definition AppModuleInterface.h:32