Scanframe Modular Application 0.1.0
Loading...
Searching...
No Matches
ProjectPropertyPage.h
Go to the documentation of this file.
1#pragma once
4
5namespace sf
6{
7
8namespace Ui
9{
10class ProjectPropertyPage;
11}
12
14{
15 Q_OBJECT
16
17 public:
18 explicit ProjectPropertyPage(ProjectAppModule& am, 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 private:
37 Ui::ProjectPropertyPage* ui;
38
40};
41
42}// namespace sf
Definition ProjectAppModule.h:12
Definition ProjectPropertyPage.h:14
void applyPage() override
Applies the changes made in this page.
~ProjectPropertyPage() override
bool isPageModified() const override
Gets the modified/changed status of the page.
ProjectPropertyPage(ProjectAppModule &am, QWidget *parent)
QString getPageName() const override
Gets the name of the page for displaying in the list view. When reimplemented the QObject's name is r...
QIcon getPageIcon() const override
Gets the name of the page for displaying in the list view. When not reimplemented this method returns...
QString getPageDescription() const override
Gets the description for hinting of the page in the list view.
void updatePage() override
Updates the control widgets of the 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...
Widget to create a page in a PropertySheet dialog.
Definition PropertyPage.h:16
Definition ApplicationPropertyPage.h:8
Definition Application.h:10