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