Scanframe Modular Application 0.1.0
Loading...
Searching...
No Matches
LayoutEditorPropertyPage.h
Go to the documentation of this file.
1#pragma once
4
5namespace sf
6{
7
8namespace Ui
9{
10class LayoutEditorPropertyPage;
11}
12
14{
15 Q_OBJECT
16
17 public:
18 explicit LayoutEditorPropertyPage(LayoutEditorAppModule& ucm, QWidget* parent);
19
21
22 [[nodiscard]] QString getPageName() const override;
23
24 [[nodiscard]] QString getPageDescription() const override;
25
26 [[nodiscard]] QIcon getPageIcon() const override;
27
28 void updatePage() override;
29
30 void applyPage() override;
31
32 [[nodiscard]] bool isPageModified() const override;
33
34 void afterPageApply(bool was_modified) override;
35
36 void stateSaveRestore(QSettings& settings, bool save) override;
37
38 private:
39 Ui::LayoutEditorPropertyPage* ui;
40
42};
43
44}// namespace sf
Definition LayoutEditorAppModule.h:11
Definition LayoutEditorPropertyPage.h:14
void stateSaveRestore(QSettings &settings, bool save) override
Called by sheet to save the state of the page. A call to QSettings::beginGroup() is not needed since ...
LayoutEditorPropertyPage(LayoutEditorAppModule &ucm, QWidget *parent)
void applyPage() override
Applies the changes made in this page.
void afterPageApply(bool was_modified) override
Called when all pages are applied. Method can be overridden by a derived class to update control widg...
bool isPageModified() const override
Gets the modified/changed status of the page.
QIcon getPageIcon() const override
Gets the name of the page for displaying in the list view. When not reimplemented this method returns...
QString getPageName() const override
Gets the name of the page for displaying in the list view. When reimplemented the QObject's name is r...
void updatePage() override
Updates the control widgets of the page.
QString getPageDescription() const override
Gets the description for hinting of the page in the list view.
Widget to create a page in a PropertySheet dialog.
Definition PropertyPage.h:16
Definition ApplicationPropertyPage.h:8
Definition Application.h:10