Scanframe Modular Application 0.1.0
Loading...
Searching...
No Matches
GmiServerPropertyPage.h
Go to the documentation of this file.
1#pragma once
4
5namespace sf
6{
7
8namespace Ui
9{
10class GmiServerPropertyPage;
11}
12
14{
15 Q_OBJECT
16
17 public:
18 explicit GmiServerPropertyPage(GmiServer* target, QWidget* parent);
19
21
22 [[nodiscard]] bool isPageModified() const override;
23
24 [[nodiscard]] QString getPageName() const override;
25
26 QIcon getPageIcon() const override;
27
28 void applyPage() override;
29
30 void updatePage() override;
31
32 private:
33 Ui::GmiServerPropertyPage* ui;
34 GmiServer* _target;
35 Variable::PtrVector _variables;
36};
37
38}// namespace sf
Definition GmiServerPropertyPage.h:14
QIcon getPageIcon() const override
Gets the icon of the page for displaying in the list view. Default it returns the sf::Resource settin...
void updatePage() override
Updates the control widgets of the page. This method is called to initialize the control widgets.
~GmiServerPropertyPage() override
bool isPageModified() const override
Gets the modified/changed status of the page.
void applyPage() override
Applies the changes made in this page.
QString getPageName() const override
Gets the name of the page for displaying in the list view. When reimplemented the QObject's name is r...
GmiServerPropertyPage(GmiServer *target, QWidget *parent)
Definition GmiServer.h:13
Widget to create a page in a PropertySheet dialog.
Definition PropertyPage.h:16
Definition ApplicationPropertyPage.h:7
Definition Application.h:10