InputField Class Reference

A delegate for an InputWidget. More...

#include <inputfield.h>

Inheritance diagram for InputField:

Inheritance graph
[legend]
List of all members.

Public Slots

virtual void setView (QVariant newValue)=0
 sets the widget's displayed value (default - initial - reloaded) to a new value.
virtual void clearView ()=0
 resets the field to a default state.

Signals

void valueChanged (QVariant val)
 We may emit a valueChanged event other objects.

Public Member Functions

 InputField (QString name, QObject *parent=0)
virtual QWidget * widget () const=0
 
Returns:
the wrapped input widget


Detailed Description

A delegate for an InputWidget.

Each InputField is a wrapper for an InputWidget, and provides a uniform QVariant-based API for getting/setting values, as well as helper functions for synchronizing with a model.

Q: can this be replaced by an QAbstractItemDelegate?

Definition at line 20 of file inputfield.h.


The documentation for this class was generated from the following files:
Generated on Wed Sep 30 01:15:44 2009 for oopapidocs by  doxygen 1.5.1