Improvements

Stylesheet as default model and themes as colors maps.
Added Candy theme.
This commit is contained in:
Valentino Orlandi 2022-11-11 20:49:27 +01:00
parent 999470662c
commit 4f4da1b4ee
Signed by: elB4RTO
GPG Key ID: 1719E976DB2D4E71
2 changed files with 513 additions and 211 deletions

File diff suppressed because it is too large Load Diff

View File

@ -1,8 +1,10 @@
#ifndef STYLESEC_H
#define STYLESEC_H
#ifndef STYLESHEETS_H
#define STYLESHEETS_H
#include <QString>
#include <unordered_map>
class StyleSec
{
@ -13,10 +15,7 @@ public:
private:
static void styleAsh( QString& ss, const QString& theme );
void styleCandy( QString& ss, const QString& theme );
void styleHerb( QString& ss, const QString& theme );
void stylePowder( QString& ss, const QString& theme );
static void makeStyleSheet( QString& ss, const std::unordered_map<std::string, QString> &style, const QString& theme );
};
#endif // STYLESEC_H
#endif // STYLESHEETS_H