Scanframe Modular Application 0.1.0
Loading...
Searching...
No Matches
ServicePropertyPage.h
Go to the documentation of this file.
1#pragma once
4
5namespace sf
6{
7
8namespace Ui
9{
10class ServicePropertyPage;
11}
12
14{
15 public:
16 explicit ServicePropertyPage(ServiceAppModule& ucm, QWidget* parent);
17
19
20 [[nodiscard]] QString getPageName() const override;
21
22 [[nodiscard]] QString getPageDescription() const override;
23
24 [[nodiscard]] QIcon getPageIcon() const override;
25
26 void updatePage() override;
27
28 void applyPage() override;
29
30 [[nodiscard]] bool isPageModified() const override;
31
32 void afterPageApply(bool was_modified) override;
33
34 private:
35 Ui::ServicePropertyPage* ui;
36
37 ServiceAppModule& _ism;
38
39 // LLDB Crashes and GDB freezes when this MACRO is in top of the class.
40 Q_OBJECT
41};
42
43}// namespace sf
Widget to create a page in a PropertySheet dialog.
Definition PropertyPage.h:16
Definition ServiceAppModule.h:9
Definition ServicePropertyPage.h:14
QString getPageName() const override
Gets the name of the page for displaying in the list view. When reimplemented the QObject's name is r...
ServicePropertyPage(ServiceAppModule &ucm, QWidget *parent)
void applyPage() override
Applies the changes made in this page.
bool isPageModified() const override
Gets the modified/changed status 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...
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.
~ServicePropertyPage() override
QIcon getPageIcon() const override
Gets the name of the page for displaying in the list view. When not reimplemented this method returns...
Definition ApplicationPropertyPage.h:8
Definition Application.h:10