Wireshark 4.7.2
The Wireshark network protocol analyzer
Loading...
Searching...
No Matches
themed_icon.h
Go to the documentation of this file.
1
9
10#ifndef THEMED_ICON_H
11#define THEMED_ICON_H
12
14
15#include <QIcon>
16#include <QSize>
17#include <QString>
18
40class ThemedIcon : public QIcon
41{
42public:
49 explicit ThemedIcon(const QString &svg_resource_path,
50 ThemeManager::ThemeToken token,
51 QSize size = QSize(14, 14));
52
64 explicit ThemedIcon(const QString &svg_resource_path,
65 ThemeManager::ThemeToken token,
66 ThemeManager::ThemeToken active_token,
67 ThemeManager::ThemeToken selected_token = ThemeManager::NoRole,
68 QSize size = QSize(14, 14));
69};
70
71#endif // THEMED_ICON_H
ThemedIcon(const QString &svg_resource_path, ThemeManager::ThemeToken token, QSize size=QSize(14, 14))
Definition themed_icon.cpp:155