The FormObjectRenderer is the abstract base class for all input form widgets.
Publicly inherits Renderer.
Publicly inherited by ButtonRenderer, CheckBoxRenderer, EntryRenderer, ImageRenderer, ListBoxRenderer, OptionRenderer, RadioRenderer, TextAreaRenderer.
FormObjectRenderer | ( Canvas* canvas, int clipWidth=???, QObject* parent=???, const char* name=??? ); | |
FormRenderer* | form | ( ); |
virtual void | reset | ( ); |
virtual QString | value | ( ); |
virtual | ~FormObjectRenderer | ( ); |
static int | count; |
Register this FormObject with the nearest enclosing FormRenderer. When the form is submitted, the FormRenderer will ask this FormObject for its value.
Find the nearest enclosing FormRenderer by walking up the list of parent objects.
Return the FormObject's value in the form "name=value". All special characters in the string are escaped before returning. This function may return NULL if the FormObject does not contribute a value to the form.