MagicSmoke  $VERSION$
MCartTableDelegate Class Reference

Helper class for shopping cart: allow editing amount, but nothing else. More...

#include <carttab.h>

Inheritance diagram for MCartTableDelegate:

Public Member Functions

 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
 

Detailed Description

Helper class for shopping cart: allow editing amount, but nothing else.

Constructor & Destructor Documentation

MCartTableDelegate::MCartTableDelegate ( QObject *  parent = 0)

Member Function Documentation

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: