Scanframe Modular Application 0.1.0
Loading...
Searching...
No Matches
MiscellaneousPropertyPage.h
Go to the documentation of this file.
1#pragma once
3#include <QWidget>
4
5class QLineEdit;
6class QLabel;
7
8namespace sf
9{
10namespace Ui {class MiscellaneousPropertyPage;}
11
13{
14 Q_OBJECT
15
16 public:
17 explicit MiscellaneousPropertyPage(QObject* target, QWidget* parent = nullptr);
18
20
21 [[nodiscard]] bool isPageModified() const override;
22
23 [[nodiscard]] QString getPageName() const override;
24
25 QIcon getPageIcon() const override;
26
27 bool canApplyPage() const override;
28
29 void applyPage() override;
30
31 void updatePage() override;
32
33 private:
34 Ui::MiscellaneousPropertyPage* ui;
35 QObject* _target;
36 QLineEdit* _targetLineEdit;
37 QLabel* _targetLabel;
38};
39
40}
41
Definition MiscellaneousPropertyPage.h:13
void applyPage() override
Applies the changes made in this page.
bool canApplyPage() const override
Allows validation of the changes made per page. First page which return false is selected.
MiscellaneousPropertyPage(QObject *target, QWidget *parent=nullptr)
QIcon getPageIcon() const override
Gets the name of the page for displaying in the list view. When not reimplemented this method returns...
bool isPageModified() const override
Gets the modified/changed status of the 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...
void updatePage() override
Updates the control widgets of the page.
Widget to create a page in a PropertySheet dialog.
Definition PropertyPage.h:16
Definition ApplicationPropertyPage.h:8
Definition Application.h:10