![]() |
tuchulcha
0.10.1
Graphical Workflow Configuration Editor
|
This is a simple helper class that represents clickable icons. More...
#include <QFilterWidget.h>
Public Member Functions | |
| QIconButton (QWidget *parent) | |
| default constructor More... | |
| void | animateShow (bool visible) |
| fade in or out More... | |
| float | fader () |
| get fade value | |
| void | paintEvent (QPaintEvent *event) |
| handle fade parameter More... | |
| void | setFader (float value) |
| set fade value More... | |
Properties | |
| float | fader |
| fade property, controls icon transparency | |
Private Attributes | |
| float | m_fader |
| fading state | |
Definition at line 42 of file QFilterWidget.h.
| QT_BEGIN_NAMESPACE QIconButton::QIconButton | ( | QWidget * | parent | ) |
| parent | parent widget |
Definition at line 36 of file QFilterWidget.cpp.
| void QIconButton::animateShow | ( | bool | visible | ) |
| visible | fade in if true |
Definition at line 55 of file QFilterWidget.cpp.
| void QIconButton::paintEvent | ( | QPaintEvent * | event | ) |
| event | paint event |
Definition at line 40 of file QFilterWidget.cpp.
References ICONBUTTON_SIZE, and m_fader.
|
inline |