Wireshark 4.7.0
The Wireshark network protocol analyzer
Loading...
Searching...
No Matches
theme_styler.h
Go to the documentation of this file.
1
10#ifndef THEME_STYLER_H
11#define THEME_STYLER_H
12
13#include <QProxyStyle>
14
15class ThemeStyler : public QProxyStyle {
16 Q_OBJECT
17public:
18 ThemeStyler(QStyle *style = nullptr);
19 ThemeStyler(const QString &key);
20
21 int styleHint(StyleHint hint, const QStyleOption *option = nullptr,
22 const QWidget *widget = nullptr, QStyleHintReturn *returnData = nullptr) const override;
23
24 static QString buttonStyleSheet(const QString &objectname, const QColor &baseColor);
25};
26
27
28#endif /* THEME_STYLER_H */
Definition theme_styler.h:15