From 872cfe036d9472739939ad401dbe9511193d62ca Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Petr=20Mr=C3=A1zek?= Date: Fri, 21 Oct 2016 09:07:26 +0200 Subject: GH-903 simple theme switching and dark theme --- application/themes/SystemTheme.h | 19 +++++++++++++++++++ 1 file changed, 19 insertions(+) create mode 100644 application/themes/SystemTheme.h (limited to 'application/themes/SystemTheme.h') diff --git a/application/themes/SystemTheme.h b/application/themes/SystemTheme.h new file mode 100644 index 00000000..90fd8ed9 --- /dev/null +++ b/application/themes/SystemTheme.h @@ -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; +}; + -- cgit v1.2.3