/trunk/DBViewer/delegate.h |
---|
76,5 → 76,18 |
}; |
class CPictureDelegate : public QItemDelegate |
{ |
mutable QPixmap m_pxPicture; |
public: |
CPictureDelegate( QObject *parent ); |
void paint(QPainter *painter, const QStyleOptionViewItem &option, |
const QModelIndex &index) const; |
//QSize sizeHint(const QStyleOptionViewItem &option, const QModelIndex &index) const; |
}; |
#endif // DELEGATE_H |