Wireshark 5.1.0
The Wireshark network protocol analyzer
Loading...
Searching...
No Matches
theme_stylesheet_loader.h
Go to the documentation of this file.
1
9
10#ifndef THEME_STYLESHEET_LOADER_H
11#define THEME_STYLESHEET_LOADER_H
12
14
15#include <QHash>
16#include <QPalette>
17#include <QString>
18
33{
34public:
35 using TokenMap = QHash<ThemeManager::ThemeToken, ThemeColorPair>;
36
61 static QString load(const QString &name,
62 const TokenMap &tokens,
63 bool isDarkMode);
64
78 static QString resolvePaletteRoles(const QString &sheet, const QPalette &palette);
79};
80
81#endif /* THEME_STYLESHEET_LOADER_H */
Definition theme_stylesheet_loader.h:33
static QString resolvePaletteRoles(const QString &sheet, const QPalette &palette)
Definition theme_stylesheet_loader.cpp:117
static QString load(const QString &name, const TokenMap &tokens, bool isDarkMode)
Definition theme_stylesheet_loader.cpp:52