Scanframe Modular Application
0.1.0
Loading...
Searching...
No Matches
LayoutButtonPropertyPage.h
Go to the documentation of this file.
1
#pragma once
2
#include <
gii/qt/IdPropertyList.h
>
3
#include <
misc/qt/PropertyPage.h
>
4
#include <
wgt/layout/LayoutButton.h
>
5
6
namespace
sf
7
{
8
9
namespace
Ui
10
{
11
class
LayoutButtonPropertyPage;
12
}
13
14
class
LayoutButtonPropertyPage
final :
public
PropertyPage
15
{
16
Q_OBJECT
17
18
public
:
19
explicit
LayoutButtonPropertyPage
(
LayoutButton
* button, QWidget* parent =
nullptr
);
20
21
~LayoutButtonPropertyPage
()
override
;
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
IdPropertyList.h
LayoutButton.h
PropertyPage.h
sf::IdPropertyList
Class making checking of widgets Information ID's easier.
Definition
IdPropertyList.h:12
sf::LayoutButtonPropertyPage
Definition
LayoutButtonPropertyPage.h:15
sf::LayoutButtonPropertyPage::isPageModified
bool isPageModified() const override
Gets the modified/changed status of the page.
sf::LayoutButtonPropertyPage::applyPage
void applyPage() override
Applies the changes made in this page.
sf::LayoutButtonPropertyPage::LayoutButtonPropertyPage
LayoutButtonPropertyPage(LayoutButton *button, QWidget *parent=nullptr)
sf::LayoutButtonPropertyPage::~LayoutButtonPropertyPage
~LayoutButtonPropertyPage() override
sf::LayoutButtonPropertyPage::updatePage
void updatePage() override
Updates the control widgets of the page. This method is called to initialize the control widgets.
sf::LayoutButtonPropertyPage::getPageName
QString getPageName() const override
Gets the name of the page for displaying in the list view. When reimplemented the QObject's name is r...
sf::LayoutButton
Button control opening another layout from file.
Definition
LayoutButton.h:17
sf::PropertyPage
Widget to create a page in a PropertySheet dialog.
Definition
PropertyPage.h:16
Ui
Definition
ApplicationPropertyPage.h:7
sf
Definition
Application.h:10
src
com
wgt
layout
LayoutButtonPropertyPage.h
Generated by
1.9.8