raDIYo 0.4
|
Signals | |
void | hysenkyte () |
Public Member Functions | |
SWSwitch (QWidget *parent=nullptr) | |
QSize | sizeHint () const override |
QBrush | brush () const |
void | setBrush (const QBrush &brush) |
int | offset () const |
void | setOffset (int offset) |
Protected Member Functions | |
void | paintEvent (QPaintEvent *) override |
void | mouseReleaseEvent (QMouseEvent *) override |
void | enterEvent (QEvent *) override |
Protected Attributes | |
const int | SWANIMDURATION = 400 |
bool | _isOn |
qreal | _opacity |
int | _x |
int | _y |
int | _height |
int | _margin |
QBrush | _thumb |
QBrush | _track |
QBrush | _brush |
QPropertyAnimation * | _anim = nullptr |
Properties | |
int | offset |
Definition at line 29 of file swswitch.h.
SWSwitch::SWSwitch | ( | QWidget * | parent = nullptr | ) |
Definition at line 28 of file swswitch.cpp.
|
inline |
Definition at line 42 of file swswitch.h.
|
overrideprotected |
Definition at line 106 of file swswitch.cpp.
|
overrideprotected |
Definition at line 79 of file swswitch.cpp.
|
inline |
Definition at line 52 of file swswitch.h.
|
overrideprotected |
Definition at line 46 of file swswitch.cpp.
|
inline |
Definition at line 47 of file swswitch.h.
|
inline |
Definition at line 57 of file swswitch.h.
|
override |
Definition at line 113 of file swswitch.cpp.
|
protected |
Definition at line 79 of file swswitch.h.
|
protected |
Definition at line 78 of file swswitch.h.
|
protected |
Definition at line 77 of file swswitch.h.
|
protected |
Definition at line 75 of file swswitch.h.
|
protected |
Definition at line 77 of file swswitch.h.
|
protected |
Definition at line 76 of file swswitch.h.
|
protected |
Definition at line 78 of file swswitch.h.
|
protected |
Definition at line 78 of file swswitch.h.
|
protected |
Definition at line 77 of file swswitch.h.
|
protected |
Definition at line 77 of file swswitch.h.
|
protected |
Definition at line 69 of file swswitch.h.
|
readwrite |
Definition at line 1 of file swswitch.h.