/trunk/ClassEditor/delegate.h/delegate.h |
---|
57,4 → 57,20 |
bool m_calpopup; |
}; |
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 |