#include <Pt/Forms/Styler.h>
Inherits NonCopyable.
Inherited by ButtonStyler, CheckBoxStyler, ComboBoxStyler, LineEditStyler, ListBoxStyler, ListItemStyler, PanelStyler, ProgressBarStyler, ScrollBarStyler, SliderStyler, SpinBoxStyler, and TabViewStyler.
Public Member Functions | |
| Styler () | |
| Constructs an unbound styler. | |
| virtual | ~Styler () |
| Destructor. | |
| bool | bind (const Style &style, const StyleOptions &styleOptions) |
| Binds or rebinds to a style and global style options. | |
| bool | isBound () const |
| Returns true if bound. | |
Protected Member Functions | |
| void | init (Renderer *renderer) |
| Initializes with a specific renderer. | |
| virtual StyleOptions & | onBindOptions (const StyleOptions &global)=0 |
| Returns the specific style options. | |
| virtual Renderer * | onStyleRenderer (const Style &style)=0 |
| Resolves the shared style renderer for the current style. | |
| virtual Renderer * | onCreateRenderer (const Style &style)=0 |
| Creates an independant style renderer. | |
Binds a specific renderer or the default renderer to style options.