EntryRenderer

The EntryRenderer class provides a QLineEdit that can be embedded in an HTML form.

Publicly inherits FormObjectRenderer.

Public Methods

EntryRenderer( int maxLength, int size, bool password, const QString* value, Canvas* canvas, int clipWidth=???, QObject* parent=???, const char* name=??? );
boolredraw( );
voidreset( );
QStringvalue( );

Public Slots

voidendOfData( );
voidsubmit( );

Private Data Members

QLineEdit*_entry;
QString_value;

Public Methods Documentation

bool redraw ( );

Do nothing.

QString value ( );

A value is returned only if the line edit has a name. Otherwise, an empty string is returned.

Public Slots Documentation

void endOfData ( );

Do nothing.

void submit ( );

Ask the FormRenderer to submit the form. The form will be submitted only if this is the only EntryRenderer within the form. This slot is activated when the RETURN key is pressed.


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