List of all members | Public Member Functions
QDataWidgetMapperProto Class Reference

#include <qdatawidgetmapperproto.h>

Inheritance diagram for QDataWidgetMapperProto:
QObject QScriptable

Public Member Functions

 QDataWidgetMapperProto (QObject *parent=0)
 
Q_INVOKABLE void addMapping (QWidget *widget, int section)
 
Q_INVOKABLE void addMapping (QWidget *widget, int section, const QByteArray &propertyName)
 
Q_INVOKABLE void clearMapping ()
 
Q_INVOKABLE QAbstractItemDelegate * itemDelegate () const
 
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 void removeMapping (QWidget *widget)
 
Q_INVOKABLE QModelIndex rootIndex () const
 
Q_INVOKABLE void setItemDelegate (QAbstractItemDelegate *delegate)
 
Q_INVOKABLE void setModel (QAbstractItemModel *model)
 
Q_INVOKABLE void setRootIndex (const QModelIndex &index)
 
Q_INVOKABLE QString toString () const
 

Constructor & Destructor Documentation

◆ QDataWidgetMapperProto()

QDataWidgetMapperProto::QDataWidgetMapperProto ( QObject parent = 0)

Member Function Documentation

◆ addMapping() [1/2]

void QDataWidgetMapperProto::addMapping ( QWidget widget,
int  section 
)

◆ addMapping() [2/2]

void QDataWidgetMapperProto::addMapping ( QWidget widget,
int  section,
const QByteArray &  propertyName 
)

◆ clearMapping()

void QDataWidgetMapperProto::clearMapping ( )

◆ itemDelegate()

QAbstractItemDelegate * QDataWidgetMapperProto::itemDelegate ( ) const

◆ mappedPropertyName()

QByteArray QDataWidgetMapperProto::mappedPropertyName ( QWidget widget) const

◆ mappedSection()

int QDataWidgetMapperProto::mappedSection ( QWidget widget) const

◆ mappedWidgetAt()

QWidget * QDataWidgetMapperProto::mappedWidgetAt ( int  section) const

◆ model()

QAbstractItemModel * QDataWidgetMapperProto::model ( ) const

◆ removeMapping()

void QDataWidgetMapperProto::removeMapping ( QWidget widget)

◆ rootIndex()

QModelIndex QDataWidgetMapperProto::rootIndex ( ) const

◆ setItemDelegate()

void QDataWidgetMapperProto::setItemDelegate ( QAbstractItemDelegate *  delegate)

◆ setModel()

void QDataWidgetMapperProto::setModel ( QAbstractItemModel *  model)

◆ setRootIndex()

void QDataWidgetMapperProto::setRootIndex ( const QModelIndex &  index)

◆ toString()

QString QDataWidgetMapperProto::toString ( ) const

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

Generated on Fri Apr 9 2021 xTuple ERP Programmer Reference, Version 6.0.0 doxygen 1.8.17