Helper class for shopping cart: allow editing amount, but nothing else.
More...
#include <carttab.h>
|
| MCartTableDelegate (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 shopping cart: allow editing amount, but nothing else.
MCartTableDelegate::MCartTableDelegate |
( |
QObject * |
parent = 0 | ) |
|
QWidget * MCartTableDelegate::createEditor |
( |
QWidget * |
parent, |
|
|
const QStyleOptionViewItem & |
option, |
|
|
const QModelIndex & |
index |
|
) |
| const |
void MCartTableDelegate::setEditorData |
( |
QWidget * |
editor, |
|
|
const QModelIndex & |
index |
|
) |
| const |
void MCartTableDelegate::setModelData |
( |
QWidget * |
editor, |
|
|
QAbstractItemModel * |
model, |
|
|
const QModelIndex & |
index |
|
) |
| const |
The documentation for this class was generated from the following files: