Public Member Functions | Public Slots
XDataWidgetMapperProto Class Reference

#include <xdatawidgetmapperproto.h>

List of all members.

Public Member Functions

 XDataWidgetMapperProto (QObject *parent=0)
Q_INVOKABLE void addMapping (QWidget *widget, QString fieldName)
Q_INVOKABLE void addMapping (QWidget *widget, QString fieldName, const QByteArray &propertyName)
Q_INVOKABLE void addMapping (QWidget *widget, QString fieldName, const QByteArray &propertyName, const QByteArray &defaultName)
Q_INVOKABLE void clearMapping ()
Q_INVOKABLE int currentIndex () const
Q_INVOKABLE QAbstractItemDelegateitemDelegate () const
Q_INVOKABLE QByteArray mappedDefaultName (QWidget *widget)
Q_INVOKABLE QByteArray mappedPropertyName (QWidget *widget) const
Q_INVOKABLE int mappedSection (QWidget *widget) const
Q_INVOKABLE QWidgetmappedWidgetAt (int section) const
Q_INVOKABLE QAbstractItemModelmodel () const
Q_INVOKABLE int orientation () const
Q_INVOKABLE void removeDefault (QWidget *widget)
Q_INVOKABLE void removeMapping (QWidget *widget)
Q_INVOKABLE QModelIndex rootIndex () const
Q_INVOKABLE void setItemDelegate (QAbstractItemDelegate *delegate)
Q_INVOKABLE void setModel (QAbstractItemModel *model)
Q_INVOKABLE void setOrientation (int orientation)
Q_INVOKABLE void setRootIndex (const QModelIndex &index)
Q_INVOKABLE void setSubmitPolicy (int policy)
Q_INVOKABLE int submitPolicy () const

Public Slots

virtual QString toString () const

Constructor & Destructor Documentation


Member Function Documentation

void XDataWidgetMapperProto::addMapping ( QWidget widget,
QString  fieldName 
)
void XDataWidgetMapperProto::addMapping ( QWidget widget,
QString  fieldName,
const QByteArray propertyName 
)
void XDataWidgetMapperProto::addMapping ( QWidget widget,
QString  fieldName,
const QByteArray propertyName,
const QByteArray defaultName 
)
void XDataWidgetMapperProto::setOrientation ( int  orientation)
QString XDataWidgetMapperProto::toString ( ) const [virtual, slot]

The documentation for this class was generated from the following files:

Generated on Mon Jan 23 2012 12:22:40 xTuple ERP Programmer Reference, Version 3.8.0 doxygen 1.7.6.1