GH-903 simple theme switching and dark theme
This commit is contained in:
19
application/themes/SystemTheme.h
Normal file
19
application/themes/SystemTheme.h
Normal file
@ -0,0 +1,19 @@
|
||||
#pragma once
|
||||
|
||||
#include "ITheme.h"
|
||||
|
||||
class SystemTheme: public ITheme
|
||||
{
|
||||
public:
|
||||
SystemTheme();
|
||||
virtual ~SystemTheme() {}
|
||||
|
||||
QString id() override;
|
||||
QString name() override;
|
||||
QString appStyleSheet() override;
|
||||
QPalette colorScheme() override;
|
||||
private:
|
||||
QPalette systemPalette;
|
||||
QString systemTheme;
|
||||
};
|
||||
|
Reference in New Issue
Block a user