Classified ads
Public Member Functions | Protected Member Functions | Private Attributes | List of all members
ProfileCommentItemDelegate Class Reference

class for displaying single profile comment in a list view More...

#include <profilecommentitemdelegate.h>

Inheritance diagram for ProfileCommentItemDelegate:
Inheritance graph
[legend]
Collaboration diagram for ProfileCommentItemDelegate:
Collaboration graph
[legend]

Public Member Functions

 ProfileCommentItemDelegate (ProfileCommentListingModel &aListingModel)
 
 ~ProfileCommentItemDelegate ()
 

Protected Member Functions

void paint (QPainter *painter, const QStyleOptionViewItem &option, const QModelIndex &index) const
 
QSize sizeHint (const QStyleOptionViewItem &option, const QModelIndex &index) const
 

Private Attributes

ProfileCommentListingModeliListingModel
 

Detailed Description

class for displaying single profile comment in a list view

Constructor & Destructor Documentation

ProfileCommentItemDelegate::ProfileCommentItemDelegate ( ProfileCommentListingModel aListingModel)

Constructor

ProfileCommentItemDelegate::~ProfileCommentItemDelegate ( )

destructor

Member Function Documentation

void ProfileCommentItemDelegate::paint ( QPainter *  painter,
const QStyleOptionViewItem &  option,
const QModelIndex &  index 
) const
protected

implemented from class QStyledItemDelegate

QSize ProfileCommentItemDelegate::sizeHint ( const QStyleOptionViewItem &  option,
const QModelIndex &  index 
) const
protected

implemented from class QStyledItemDelegate

Member Data Documentation

ProfileCommentListingModel& ProfileCommentItemDelegate::iListingModel
private

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