ProgressBarState Class Reference

#include <Pt/Forms/ProgressBarStyler.h>

Transient visual state of a progress bar. More...

Public Member Functions

 ProgressBarState ()
 Constructs an empty progress bar state.
 
bool isEnabled () const
 Returns true if the widget is currently enabled.
 
void setEnabled (bool value)
 Sets whether the widget is enabled.
 
bool isFocused () const
 Returns true if the widget currently has focus.
 
void setFocused (bool value)
 Sets whether the widget has focus.
 

Detailed Description

ProgressBarState is the snapshot a ProgressBar passes to measure, layout, and paint. It is not the application model. Enabled and focused describe the look of one paint pass.