Scanframe Modular Application
0.1.0
Loading...
Searching...
No Matches
WidgetPropertyPage.h
Go to the documentation of this file.
1
#pragma once
2
3
#include <
misc/qt/PropertyPage.h
>
4
#include <QWidget>
5
6
namespace
sf
7
{
8
namespace
Ui
{
class
WidgetPropertyPage;}
9
10
class
WidgetPropertyPage
:
public
PropertyPage
11
{
12
Q_OBJECT
13
14
public
:
15
explicit
WidgetPropertyPage
(QWidget* target, QWidget* parent =
nullptr
);
16
17
~WidgetPropertyPage
()
override
;
18
19
[[nodiscard]]
bool
isPageModified
()
const override
;
20
21
[[nodiscard]] QString
getPageName
()
const override
;
22
23
QIcon
getPageIcon
()
const override
;
24
25
void
applyPage
()
override
;
26
27
void
updatePage
()
override
;
28
29
void
stateSaveRestore
(QSettings& settings,
bool
save)
override
;
30
31
private
:
32
Ui::WidgetPropertyPage* ui;
33
QWidget* _target;
34
};
35
36
}
37
PropertyPage.h
sf::PropertyPage
Widget to create a page in a PropertySheet dialog.
Definition
PropertyPage.h:16
sf::WidgetPropertyPage
Definition
WidgetPropertyPage.h:11
sf::WidgetPropertyPage::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::WidgetPropertyPage::isPageModified
bool isPageModified() const override
Gets the modified/changed status of the page.
sf::WidgetPropertyPage::getPageIcon
QIcon getPageIcon() const override
Gets the name of the page for displaying in the list view. When not reimplemented this method returns...
sf::WidgetPropertyPage::applyPage
void applyPage() override
Applies the changes made in this page.
sf::WidgetPropertyPage::stateSaveRestore
void stateSaveRestore(QSettings &settings, bool save) override
Called by sheet to save the state of the page. A call to QSettings::beginGroup() is not needed since ...
sf::WidgetPropertyPage::WidgetPropertyPage
WidgetPropertyPage(QWidget *target, QWidget *parent=nullptr)
sf::WidgetPropertyPage::~WidgetPropertyPage
~WidgetPropertyPage() override
sf::WidgetPropertyPage::updatePage
void updatePage() override
Updates the control widgets of the page.
Ui
Definition
ApplicationPropertyPage.h:8
sf
Definition
Application.h:10
src
com
ami
layout
pages
WidgetPropertyPage.h
Generated by
1.9.8