TypeBrowserItemDelegate Class Reference

Public Member Functions

 TypeBrowserItemDelegate (class TypeBrowserView *view)
 
int lineHeight () const
 
void updateFonts ()
 
virtual QSize sizeHint (const QStyleOptionViewItem &option, const QModelIndex &index) const override
 
virtual void paint (QPainter *painter, const QStyleOptionViewItem &option, const QModelIndex &index) const override
 

Constructor & Destructor Documentation

◆ TypeBrowserItemDelegate()

TypeBrowserItemDelegate::TypeBrowserItemDelegate ( class TypeBrowserView view)

Member Function Documentation

◆ lineHeight()

int TypeBrowserItemDelegate::lineHeight ( ) const

◆ updateFonts()

void TypeBrowserItemDelegate::updateFonts ( )

◆ sizeHint()

virtual QSize TypeBrowserItemDelegate::sizeHint ( const QStyleOptionViewItem &  option,
const QModelIndex &  index 
) const
overridevirtual

◆ paint()

virtual void TypeBrowserItemDelegate::paint ( QPainter *  painter,
const QStyleOptionViewItem &  option,
const QModelIndex &  index 
) const
overridevirtual