Qt 5.10 Book Examples
Public Member Functions | List of all members
SimpleDelegate Class Reference
Inheritance diagram for SimpleDelegate:

Public Member Functions

 SimpleDelegate (QObject *pobj=0)
 
void paint (QPainter *pPainter, const QStyleOptionViewItem &option, const QModelIndex &index) const
 
QSize sizeHint (const QStyleOptionViewItem &option, const QModelIndex &) const
 

Detailed Description

Definition at line 14 of file main.cpp.

Constructor & Destructor Documentation

◆ SimpleDelegate()

SimpleDelegate::SimpleDelegate ( QObject *  pobj = 0)
inline

Definition at line 16 of file main.cpp.

Member Function Documentation

◆ paint()

void SimpleDelegate::paint ( QPainter *  pPainter,
const QStyleOptionViewItem &  option,
const QModelIndex &  index 
) const
inline

Definition at line 20 of file main.cpp.

◆ sizeHint()

QSize SimpleDelegate::sizeHint ( const QStyleOptionViewItem &  option,
const QModelIndex &   
) const
inline

Definition at line 38 of file main.cpp.


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