FormObjectRenderer

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.

Public Methods

FormObjectRenderer( Canvas* canvas, int clipWidth=???, QObject* parent=???, const char* name=??? );
FormRenderer*form( );
virtual voidreset( );
virtual QStringvalue( );
virtual ~FormObjectRenderer( );

Public Data Members

static intcount;

Public Methods Documentation

FormObjectRenderer ( Canvas* canvas, int clipWidth=???, QObject* parent=???, const char* name=??? );

Register this FormObject with the nearest enclosing FormRenderer. When the form is submitted, the FormRenderer will ask this FormObject for its value.

FormRenderer* form ( );

Find the nearest enclosing FormRenderer by walking up the list of parent objects.

virtual QString value ( );

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.


Return to Index.
Automatically generated on Aug 11 23:32