CrossReferenceItemDelegate Class Reference

Public Member Functions

 CrossReferenceItemDelegate (QWidget *parent, bool table)
 
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
 
virtual void paintTreeRow (QPainter *painter, const QStyleOptionViewItem &option, const QModelIndex &idx) const
 
virtual void paintTableRow (QPainter *painter, const QStyleOptionViewItem &option, const QModelIndex &idx) const
 
virtual QImage DrawArrow (bool direction) const
 
void updateMaxUIItems (size_t count)
 
size_t getMaxUIItems () const
 

Constructor & Destructor Documentation

◆ CrossReferenceItemDelegate()

CrossReferenceItemDelegate::CrossReferenceItemDelegate ( QWidget *  parent,
bool  table 
)

Member Function Documentation

◆ DrawArrow()

virtual QImage CrossReferenceItemDelegate::DrawArrow ( bool  direction) const
virtual

◆ getMaxUIItems()

size_t CrossReferenceItemDelegate::getMaxUIItems ( ) const
inline

◆ paint()

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

◆ paintTableRow()

virtual void CrossReferenceItemDelegate::paintTableRow ( QPainter *  painter,
const QStyleOptionViewItem &  option,
const QModelIndex &  idx 
) const
virtual

◆ paintTreeRow()

virtual void CrossReferenceItemDelegate::paintTreeRow ( QPainter *  painter,
const QStyleOptionViewItem &  option,
const QModelIndex &  idx 
) const
virtual

◆ sizeHint()

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

◆ updateFonts()

void CrossReferenceItemDelegate::updateFonts ( )

◆ updateMaxUIItems()

void CrossReferenceItemDelegate::updateMaxUIItems ( size_t  count)

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