Scanframe Modular Application 0.1.0
Loading...
Searching...
No Matches
SceneServerPropertyPage.h
Go to the documentation of this file.
1#pragma once
4
5namespace sf::xgl
6{
7
8namespace Ui
9{
11}
12
13class PaletteServer;
14
16{
17 Q_GADGET
18 public:
19 explicit SceneServerPropertyPage(SceneServer* server, PropertySheetDialog* parent = nullptr);
20
22
23 [[nodiscard]] QIcon getPageIcon() const override;
24
25 [[nodiscard]] QString getPageName() const override;
26
27 [[nodiscard]] QString getPageDescription() const override;
28
29 [[nodiscard]] bool isPageModified() const override;
30
31 void afterPageApply(bool was_modified) override;
32
33 void updatePage() override;
34
35 void applyPage() override;
36
37 private:
38 void setPropertyTarget();
39 Ui::SceneServerPropertyPage* ui;
40 SceneServer* _server;
41 bool _propChange;
42};
43
44}// namespace sf::xgl
Server for color palettes used in images for coloring on basis of index.
Definition PaletteServer.h:14
Widget to create a page in a PropertySheet dialog.
Definition PropertyPage.h:16
Dialog containing multiple property pages.
Definition qt/PropertySheetDialog.h:14
Definition SceneServerPropertyPage.h:16
QIcon getPageIcon() const override
Gets the name of the page for displaying in the list view. When not reimplemented this method returns...
void afterPageApply(bool was_modified) override
Called when all pages are applied. Method can be overridden by a derived class to update control widg...
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...
SceneServerPropertyPage(SceneServer *server, PropertySheetDialog *parent=nullptr)
QString getPageDescription() const override
Gets the description for hinting of the page in the list view.
bool isPageModified() const override
Gets the modified/changed status of the page.
void updatePage() override
Updates the control widgets of the page.
Server for color palettes used in images for coloring on basis of index.
Definition SceneServer.h:13
Definition ApplicationPropertyPage.h:8
Definition DemoRenderer.h:6