summaryrefslogtreecommitdiffstats
path: root/application/themes/SystemTheme.h
blob: fe450600c1332d55b7066e433691632648d3d5a3 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
#pragma once

#include "ITheme.h"

class SystemTheme: public ITheme
{
public:
    SystemTheme();
    virtual ~SystemTheme() {}
    void apply(bool initial) override;

    QString id() override;
    QString name() override;
    QString qtTheme() override;
    bool hasStyleSheet() override;
    QString appStyleSheet() override;
    bool hasColorScheme() override;
    QPalette colorScheme() override;
    double fadeAmount() override;
    QColor fadeColor() override;
private:
    QPalette systemPalette;
    QString systemTheme;
};