#include <Pt/Forms/PanelStyler.h>
Transient visual state of a panel-like widget.
More...
|
|
| PanelState () |
| | Constructs an empty panel 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.
|
PanelState is the snapshot a Panel or Label passes to measure, layout, and paint. It is not the application model. Enabled and focused describe the look of one paint pass.