virtual void paint(QPainter *painter, const QStyleOptionViewItem &option, const QModelIndex &index) const
Specified by QAbstractItemDelegate.
An item delegate that displays an image and some text.
Definition: ImageAndTextDelegate.h++:15
ImageAndTextDelegate(const QSize &iconSize, QObject *parent=NULL)
Constructs a new ImageAndTextDelegate with the given image size.
virtual QSize sizeHint(const QStyleOptionViewItem &option, const QModelIndex &index) const
Specified by QAbstractItemDelegate.