Scanframe Modular Application 0.1.0
Loading...
Searching...
No Matches
LayoutButtonPropertyPage.h
Go to the documentation of this file.
1#pragma once
5
6namespace sf
7{
8
9namespace Ui
10{
11class LayoutButtonPropertyPage;
12}
13
15{
16 Q_OBJECT
17
18 public:
19 explicit LayoutButtonPropertyPage(LayoutButton* button, QWidget* parent = nullptr);
20
22
23 [[nodiscard]] bool isPageModified() const override;
24
25 [[nodiscard]] QString getPageName() const override;
26
27 void applyPage() override;
28
29 void updatePage() override;
30
31 private:
32 Ui::LayoutButtonPropertyPage* _ui;
33 LayoutButton* _target{nullptr};
34 IdPropertyList _idPropertyList;
35};
36
37}// namespace sf
Class making checking of widgets Information ID's easier.
Definition IdPropertyList.h:12
Definition LayoutButtonPropertyPage.h:15
bool isPageModified() const override
Gets the modified/changed status of the page.
void applyPage() override
Applies the changes made in this page.
LayoutButtonPropertyPage(LayoutButton *button, QWidget *parent=nullptr)
void updatePage() override
Updates the control widgets of the page. This method is called to initialize the control widgets.
QString getPageName() const override
Gets the name of the page for displaying in the list view. When reimplemented the QObject's name is r...
Button control opening another layout from file.
Definition LayoutButton.h:17
Widget to create a page in a PropertySheet dialog.
Definition PropertyPage.h:16
Definition ApplicationPropertyPage.h:7
Definition Application.h:10