StringItemDelegate Class Reference

Public Member Functions

 StringItemDelegate (QWidget *parent)
 
void updateFonts ()
 
virtual QSize sizeHint (const QStyleOptionViewItem &option, const QModelIndex &idx) const override
 
virtual void paint (QPainter *painter, const QStyleOptionViewItem &option, const QModelIndex &idx) const override
 
QFont getFont () const
 

Constructor & Destructor Documentation

◆ StringItemDelegate()

StringItemDelegate::StringItemDelegate ( QWidget *  parent)

Member Function Documentation

◆ getFont()

QFont StringItemDelegate::getFont ( ) const
inline

◆ paint()

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

◆ sizeHint()

virtual QSize StringItemDelegate::sizeHint ( const QStyleOptionViewItem &  option,
const QModelIndex &  idx 
) const
overridevirtual

◆ updateFonts()

void StringItemDelegate::updateFonts ( )

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