Standard ACF item view delegator.
More...
#include <CItemDelegate.h>
|
| | CItemDelegate (int itemHeight=20, QObject *parent=NULL) |
| |
| void | SetItemHeight (int itemHeight) |
| | Set the item height.
|
| |
| int | GetItemHeight () const |
| | Get the item height.
|
| |
| virtual QSize | sizeHint (const QStyleOptionViewItem &option, const QModelIndex &index) const override |
| |
| virtual void | paint (QPainter *painter, const QStyleOptionViewItem &option, const QModelIndex &index) const override |
| |
Standard ACF item view delegator.
Definition at line 25 of file CItemDelegate.h.
◆ BaseClass
◆ CItemDelegate()
| iwidgets::CItemDelegate::CItemDelegate |
( |
int |
itemHeight = 20, |
|
|
QObject * |
parent = NULL |
|
) |
| |
◆ GetItemHeight()
| int iwidgets::CItemDelegate::GetItemHeight |
( |
| ) |
const |
◆ paint()
| virtual void iwidgets::CItemDelegate::paint |
( |
QPainter * |
painter, |
|
|
const QStyleOptionViewItem & |
option, |
|
|
const QModelIndex & |
index |
|
) |
| const |
|
overridevirtual |
◆ SetItemHeight()
| void iwidgets::CItemDelegate::SetItemHeight |
( |
int |
itemHeight | ) |
|
◆ sizeHint()
| virtual QSize iwidgets::CItemDelegate::sizeHint |
( |
const QStyleOptionViewItem & |
option, |
|
|
const QModelIndex & |
index |
|
) |
| const |
|
overridevirtual |
The documentation for this class was generated from the following file: