Defines ExtendedListItem style. More...
#include <extendedlistitemdelegate.h>
Public Member Functions | |
ExtendedListItemDelegate (QWidget *parent=0) | |
Constructor. | |
void | paint (QPainter *painter, const QStyleOptionViewItem &option, const QModelIndex &index) const |
Draws ExtendedListItem content. |
Defines ExtendedListItem style.
ExtendedListItemDelegate::ExtendedListItemDelegate | ( | QWidget * | parent = 0 |
) |
Constructor.
parent | QWidget |
void ExtendedListItemDelegate::paint | ( | QPainter * | painter, | |
const QStyleOptionViewItem & | option, | |||
const QModelIndex & | index | |||
) | const |
Draws ExtendedListItem content.
Draws ExtendedListItem sub items icon and text.
painter | QPainter | |
option | QStyleOptionViewItem | |
index | QModelIndex |
Reimplemented from ListItemDelegate.
Reimplemented in FriendListItemDelegate.