Classes | |
| struct | IconImage |
| class | ClickableLabel |
| class | ClickableIcon |
| class | ClickableStateLabel |
| struct IconImage |
Static Public Member Functions | |
| static IconImage | generate (const QImage &activeSrc, const QImage &inactiveSrc) |
Public Attributes | |
| QImage | activeOriginal |
| QImage | inactiveOriginal |
| QImage | active |
| QImage | activeHover |
| QImage | inactive |
| QImage | inactiveHover |
|
static |
| QImage IconImage::activeOriginal |
| QImage IconImage::inactiveOriginal |
| QImage IconImage::active |
| QImage IconImage::activeHover |
| QImage IconImage::inactive |
| QImage IconImage::inactiveHover |
| class ClickableLabel |
Signals | |
| void | clicked () |
Public Member Functions | |
| ClickableLabel (QWidget *parent=nullptr, const QString &name="") | |
| void | passThroughMousePressEvent (bool enable) |
Protected Member Functions | |
| void | mousePressEvent (QMouseEvent *event) override |
| void | mouseReleaseEvent (QMouseEvent *event) override |
|
inline |
|
inline |
|
signal |
|
inlineoverrideprotected |
|
inlineoverrideprotected |
| class ClickableIcon |
Signals | |
| void | clicked () |
| void | toggle (bool newState) |
Public Member Functions | |
| ClickableIcon (const QImage &activeIcon, const QImage &inactiveIcon, const QSize &desiredPointSize) | |
| ClickableIcon (const QImage &icon, const QSize &desiredPointSize) | |
| void | setAllowToggle (bool canToggle) |
| void | setActive (bool state) |
| bool | active () const |
| void | setImage (const QImage &icon) |
| void | setImage (const QImage &activeIcon, const QImage &inactiveIcon) |
| QSize | desiredPointSize () const |
| void | setDesiredPointSize (const QSize &size) |
| double | opacity () const |
| void | setOpacity (double opacity) |
Protected Member Functions | |
| void | enterEvent (QEnterEvent *event) override |
| void | leaveEvent (QEvent *event) override |
| void | paintEvent (QPaintEvent *event) override |
| void | mousePressEvent (QMouseEvent *) override |
| void | mouseReleaseEvent (QMouseEvent *event) override |
Properties | |
| QSize | desiredPointSize |
| double | opacity |
| ClickableIcon::ClickableIcon | ( | const QImage & | activeIcon, |
| const QImage & | inactiveIcon, | ||
| const QSize & | desiredPointSize ) |
|
inline |
| void ClickableIcon::setAllowToggle | ( | bool | canToggle | ) |
| void ClickableIcon::setActive | ( | bool | state | ) |
|
inline |
| void ClickableIcon::setImage | ( | const QImage & | icon | ) |
| void ClickableIcon::setImage | ( | const QImage & | activeIcon, |
| const QImage & | inactiveIcon ) |
|
inline |
|
inline |
|
inline |
|
inline |
|
signal |
|
signal |
|
overrideprotected |
|
overrideprotected |
|
overrideprotected |
|
inlineoverrideprotected |
|
overrideprotected |
|
readwrite |
|
readwrite |
| class ClickableStateLabel |
Public Member Functions | |
| ClickableStateLabel (QWidget *parent, const QString &name, const QString &altName) | |
| bool | getState () |
| void | setDisplayState (bool state) |
| void | setAlternateTransparency (QPalette::ColorRole colorRole, int alpha, bool state) |
| Public Member Functions inherited from ClickableLabel | |
| ClickableLabel (QWidget *parent=nullptr, const QString &name="") | |
| void | passThroughMousePressEvent (bool enable) |
Protected Member Functions | |
| void | paintEvent (QPaintEvent *event) override |
| Protected Member Functions inherited from ClickableLabel | |
| void | mousePressEvent (QMouseEvent *event) override |
| void | mouseReleaseEvent (QMouseEvent *event) override |
Additional Inherited Members | |
| Signals inherited from ClickableLabel | |
| void | clicked () |
|
inline |
|
inline |
|
inline |
|
inline |
|
inlineoverrideprotected |