Wireshark
4.7.0
The Wireshark network protocol analyzer
Loading...
Searching...
No Matches
ui
qt
utils
themes
theme_token_handler.h
Go to the documentation of this file.
1
10
#ifndef THEME_TOKEN_HANDLER_H
11
#define THEME_TOKEN_HANDLER_H
12
13
#include <
ui/qt/utils/theme_manager.h
>
14
15
#include <QHash>
16
#include <QPalette>
17
41
class
ThemeTokenHandler
42
{
43
public
:
44
using
TokenMap = QHash<ThemeManager::ThemeToken, ThemeColorPair>;
45
69
static
void
deriveAll
(TokenMap &tokens,
bool
isDarkMode,
const
QPalette &palette);
70
};
71
72
#endif
/* THEME_TOKEN_HANDLER_H */
ThemeTokenHandler
Definition
theme_token_handler.h:42
ThemeTokenHandler::deriveAll
static void deriveAll(TokenMap &tokens, bool isDarkMode, const QPalette &palette)
Definition
theme_token_handler.cpp:69
theme_manager.h
Generated by
1.9.8