Wireshark
5.1.0
The Wireshark network protocol analyzer
Loading...
Searching...
No Matches
ui
qt
utils
themes
native_push_button.h
Go to the documentation of this file.
1
9
10
#ifndef NATIVE_PUSH_BUTTON_H
11
#define NATIVE_PUSH_BUTTON_H
12
13
#include <QtGlobal>
14
15
#ifdef Q_OS_MACOS
16
17
class
QPainter;
18
class
QRect;
19
class
QWidget;
20
30
namespace
NativePushButton {
31
33
struct
BezelState {
34
bool
enabled =
true
;
35
bool
pressed =
false
;
36
bool
highlighted =
false
;
37
};
38
51
bool
drawFlexibleBezel(QPainter *painter,
const
QRect &visibleRect,
52
const
BezelState &state,
const
QWidget *widget);
53
62
bool
drawFocusRing(QPainter *painter,
const
QRect &visibleRect,
63
const
QWidget *widget);
64
65
}
// namespace NativePushButton
66
67
#endif
/* Q_OS_MACOS */
68
69
#endif
/* NATIVE_PUSH_BUTTON_H */
Generated by
1.15.0