mirror of
https://github.com/MatsuriDayo/nekoray.git
synced 2025-12-18 04:54:38 +03:00
upload code
This commit is contained in:
14
ui/ThemeManager.hpp
Normal file
14
ui/ThemeManager.hpp
Normal file
@@ -0,0 +1,14 @@
|
||||
#pragma once
|
||||
|
||||
#include <QStyle>
|
||||
#include <QApplication>
|
||||
|
||||
class ThemeManager {
|
||||
public:
|
||||
QString system_style_name = "";
|
||||
QString current_theme = "0"; // int: 0:system 1+:builtin string: QStyleFactory
|
||||
|
||||
void ApplyTheme(const QString &theme);
|
||||
};
|
||||
|
||||
extern ThemeManager *themeManager;
|
||||
Reference in New Issue
Block a user