List of all members | Public Member Functions | Public Slots
XDataWidgetMapperProto Class Reference

#include <xdatawidgetmapperproto.h>

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 QAbstractItemDelegate * itemDelegate () 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 QAbstractItemModel * model () 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

XDataWidgetMapperProto::XDataWidgetMapperProto ( QObject parent = 0)

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::clearMapping ( )
int XDataWidgetMapperProto::currentIndex ( ) const
QAbstractItemDelegate * XDataWidgetMapperProto::itemDelegate ( ) const
QByteArray XDataWidgetMapperProto::mappedDefaultName ( QWidget widget)
QByteArray XDataWidgetMapperProto::mappedPropertyName ( QWidget widget) const
int XDataWidgetMapperProto::mappedSection ( QWidget widget) const
QWidget * XDataWidgetMapperProto::mappedWidgetAt ( int  section) const
QAbstractItemModel * XDataWidgetMapperProto::model ( ) const
int XDataWidgetMapperProto::orientation ( ) const
void XDataWidgetMapperProto::removeDefault ( QWidget widget)
void XDataWidgetMapperProto::removeMapping ( QWidget widget)
QModelIndex XDataWidgetMapperProto::rootIndex ( ) const
void XDataWidgetMapperProto::setItemDelegate ( QAbstractItemDelegate *  delegate)
void XDataWidgetMapperProto::setModel ( QAbstractItemModel *  model)
void XDataWidgetMapperProto::setOrientation ( int  orientation)
void XDataWidgetMapperProto::setRootIndex ( const QModelIndex &  index)
void XDataWidgetMapperProto::setSubmitPolicy ( int  policy)
int XDataWidgetMapperProto::submitPolicy ( ) const
QString XDataWidgetMapperProto::toString ( ) const
virtualslot

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

Generated on Fri Oct 7 2016 15:38:04 xTuple ERP Programmer Reference, Version 4.5.0 doxygen 1.8.10