This repository has been archived on 2024-06-03. You can view files and clone it, but cannot push or open issues or pull requests.
shared-libraries/ScStwStyling/headers/scstwapptheme.h

36 lines
739 B
C
Raw Normal View History

2020-05-18 11:27:09 +02:00
#ifndef APPTHEME_H
#define APPTHEME_H
#include <QObject>
#include <QVariant>
2020-05-19 09:31:27 +02:00
#include <QFontDatabase>
2020-05-18 11:27:09 +02:00
class ScStwAppTheme : public QObject
{
Q_OBJECT
2020-05-19 09:31:27 +02:00
Q_PROPERTY(QVariant colors READ getColors)
Q_PROPERTY(QVariant icons READ getIcons)
Q_PROPERTY(QVariant fonts READ getFonts)
Q_PROPERTY(QVariant images READ getImages)
2020-05-18 11:27:09 +02:00
2020-05-19 09:31:27 +02:00
public:
explicit ScStwAppTheme(QVariantMap colors, QVariantMap icons, QVariantMap fonts, QVariantMap images, QObject *parent = nullptr);
2020-05-18 11:27:09 +02:00
2020-05-19 09:31:27 +02:00
private:
QVariantMap colors;
QVariantMap icons;
QVariantMap fonts;
QVariantMap images;
2020-05-18 11:27:09 +02:00
signals:
public slots:
2020-05-19 09:31:27 +02:00
QVariant getColors();
QVariant getIcons();
QVariant getFonts();
QVariant getImages();
2020-05-18 11:27:09 +02:00
};
#endif // APPTHEME_H