1 #ifndef FRIENDLISTITEMDELEGATE_H
2 #define FRIENDLISTITEMDELEGATE_H
4 #include "listitemdelegate.h"
6 class FriendListItemDelegate : public ListItemDelegate
9 FriendListItemDelegate();
11 void paint(QPainter *painter, const QStyleOptionViewItem &option,
12 const QModelIndex &index) const;
14 QSize sizeHint(const QStyleOptionViewItem &option, const QModelIndex &index) const;
17 QPixmap m_clockImage; ///< Top background image
18 QPixmap m_compassImage; ///< Middle background image
19 QPixmap m_envelopeImage; ///< Bottom background image
22 #endif // FRIENDLISTITEMDELEGATE_H