#include <Pt/Forms/SliderStyler.h>
Transient visual state of a slider. More...
Public Member Functions | |
| SliderState () | |
| Constructs an empty slider state. | |
| bool | isEnabled () const |
| Returns true if the slider is currently enabled. | |
| void | setEnabled (bool value) |
| Sets whether the slider is enabled. | |
| bool | isHovered () const |
| Returns true if the pointer is currently over the slider. | |
| void | setHovered (bool value) |
| Sets whether the pointer is over the slider. | |
| bool | isFocused () const |
| Returns true if the slider currently has focus. | |
| void | setFocused (bool value) |
| Sets whether the slider has focus. | |
SliderState is the snapshot a Slider passes to measure, layout, and paint. It is not the application model. Enabled, hovered, and focused describe the look of one paint pass.