83 [[nodiscard]] std::string currentImplementationName()
const;
87 QString _implementationName;
95 QStringList _implementationProperties;
Dialog containing multiple property pages.
Definition qt/PropertySheetDialog.h:14
Base class for the interface.
Definition SceneInterface.h:25
Definition SceneServerPropertyPage.h:16
Server for color palettes used in images for coloring on basis of index.
Definition SceneServer.h:13
SceneServer(QObject *parent=nullptr)
Constructor.
void addPropertyPages(PropertySheetDialog *sheet)
Adds property pages of the select palette.
const QString & getImplementationName() const
Gets the name of the desired implementation.
bool isAvailable() const
Returns true when an implementation is available.
QList< QPair< QString, QString > > getImplementationNames() const
Gets the names of all available implementations names and descriptions in pairs.
void setImplementationName(const QString &name)
Sets the name of the desired implementation.
void setImplementationProperties(const QStringList &props)
Sets the name of the desired implementation.
const QStringList & getImplementationProperties()
Gets the name of the desired implementation.
SceneInterface * getImplementation() const
Gets the current scene from the server.
Q_SIGNAL void changed(SceneServer *server)
Signal for when the palette changes.
bool createImplementation(const std::string &name)
Creates implementation by registered name.
~SceneServer() override
Destructor.
Definition DemoRenderer.h:6
#define _SCN_CLASS
Definition scn/iface/global.h:35