Scanframe Modular Application 0.1.0
Loading...
Searching...
No Matches
VariableIdPropertyPage.h
Go to the documentation of this file.
1#pragma once
2
5
6namespace sf
7{
8
9namespace Ui
10{
11
12class VariableIdPropertyPage;
13
14}
15
17{
18 Q_OBJECT
19
20 public:
21 explicit VariableIdPropertyPage(VariableWidgetBase* target, QWidget* parent = nullptr);
22
24
25 [[nodiscard]] bool isPageModified() const override;
26
27 [[nodiscard]] QString getPageName() const override;
28
29 void applyPage() override;
30
31 void updatePage() override;
32
33 private:
34 Ui::VariableIdPropertyPage* ui;
35 VariableWidgetBase* _target{nullptr};
36 bool _hasNameLevel{false};
37};
38
39}// namespace sf
Widget to create a page in a PropertySheet dialog.
Definition PropertyPage.h:16
Definition VariableIdPropertyPage.h:17
void updatePage() override
Updates the control widgets of the page.
VariableIdPropertyPage(VariableWidgetBase *target, QWidget *parent=nullptr)
~VariableIdPropertyPage() 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...
Base class for sf::Variable based widgets.
Definition VariableWidgetBase.h:22
Definition ApplicationPropertyPage.h:8
Definition Application.h:10