MagicSmoke
$VERSION$
|
Helper class for customer contact table. More...
#include <customerdlg.h>
Public Member Functions | |
MContactTableDelegate (QObject *parent=0) | |
QWidget * | createEditor (QWidget *parent, const QStyleOptionViewItem &option, const QModelIndex &index) const |
void | setEditorData (QWidget *editor, const QModelIndex &index) const |
void | setModelData (QWidget *editor, QAbstractItemModel *model, const QModelIndex &index) const |
Helper class for customer contact table.
MContactTableDelegate::MContactTableDelegate | ( | QObject * | parent = 0 | ) |
QWidget * MContactTableDelegate::createEditor | ( | QWidget * | parent, |
const QStyleOptionViewItem & | option, | ||
const QModelIndex & | index | ||
) | const |
void MContactTableDelegate::setEditorData | ( | QWidget * | editor, |
const QModelIndex & | index | ||
) | const |
References MTGetAllContactTypes::gettypes(), MTGetAllContactTypes::query(), and req.
void MContactTableDelegate::setModelData | ( | QWidget * | editor, |
QAbstractItemModel * | model, | ||
const QModelIndex & | index | ||
) | const |
References MTCreateContactType::getcontacttype(), and MTCreateContactType::query().