Public Types | Public Member Functions | List of all members
iwidgets::CItemDelegate Class Reference

Standard ACF item view delegator. More...

#include <CItemDelegate.h>

Inheritance diagram for iwidgets::CItemDelegate:

Public Types

typedef QItemDelegate BaseClass
 

Public Member Functions

 CItemDelegate (int itemHeight=20, QObject *parent=NULL)
 
void SetItemHeight (int itemHeight)
 Set the item height. More...
 
int GetItemHeight () const
 Get the item height. More...
 
virtual QSize sizeHint (const QStyleOptionViewItem &option, const QModelIndex &index) const
 
virtual void paint (QPainter *painter, const QStyleOptionViewItem &option, const QModelIndex &index) const
 

Detailed Description

Standard ACF item view delegator.

Definition at line 25 of file CItemDelegate.h.

Member Typedef Documentation

typedef QItemDelegate iwidgets::CItemDelegate::BaseClass

Definition at line 28 of file CItemDelegate.h.

Constructor & Destructor Documentation

iwidgets::CItemDelegate::CItemDelegate ( int  itemHeight = 20,
QObject *  parent = NULL 
)

Member Function Documentation

int iwidgets::CItemDelegate::GetItemHeight ( ) const

Get the item height.

virtual void iwidgets::CItemDelegate::paint ( QPainter *  painter,
const QStyleOptionViewItem &  option,
const QModelIndex &  index 
) const
virtual
void iwidgets::CItemDelegate::SetItemHeight ( int  itemHeight)

Set the item height.

virtual QSize iwidgets::CItemDelegate::sizeHint ( const QStyleOptionViewItem &  option,
const QModelIndex &  index 
) const
virtual

The documentation for this class was generated from the following file:

© 2007-2017 Witold Gantzke and Kirill Lepskiy