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, QWidget* parent = nullptr);
20
22
23 bool isPageModified() const override;
24
25 void afterPageApply(bool was_modified) override;
26
27 void updatePage() override;
28
29 void applyPage() override;
30
31 private:
32 void setPropertyTarget();
33 Ui::SceneServerPropertyPage* ui;
34 SceneServer* _server;
35 bool _propChange;
36};
37
38}// 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:15
Definition SceneServerPropertyPage.h:16
SceneServerPropertyPage(SceneServer *server, QWidget *parent=nullptr)
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.
bool isPageModified() const override
Gets the modified/changed status of the page.
void updatePage() override
Updates the control widgets of the page. This method is called to initialize the control widgets.
Server for color palettes used in images for coloring on basis of index.
Definition SceneServer.h:13
Definition ApplicationPropertyPage.h:7
Definition DemoRenderer.h:6