Icon-based toggle widget with 6-state support and pulse animation. More...
| Header: | #include <TryToggleIcon> |
| Since: | 1.0 |
| Inherits: | QWidget |
| qreal | pulseScale() const |
| void | setPulseScale(qreal scale) |
TryToggleIcon provides an icon button with the six ChannelButtonState states: DISABLED_OFF, DISABLED_ON, OFF, GOING_ON, ON, and GOING_OFF. Disabled states show at 50% opacity, transient states blink between on/off colors.
The pulse() method triggers a brief scale-pop animation for activity indication on channels that are ON.
See also TryToggle and FlatButton.