17 #ifndef QGSDETAILEDITEMDELEGATE_H    18 #define QGSDETAILEDITEMDELEGATE_H    20 #include <QAbstractItemDelegate>    48     void setVerticalSpacing( 
int theValue );
    50     int verticalSpacing() 
const;
    52     void setHorizontalSpacing( 
int theValue );
    54     int horizontalSpacing() 
const;
    62                         int theHeight ) 
const;
    67     void paintManually( 
QPainter *thePainter,
    70     void paintAsWidget( 
QPainter *thePainter,
    78     int mHorizontalSpacing;
    81 #endif //QGSDETAILEDITEMDELEGATE_H 
This class is the data only representation of a QgsDetailedItemWidget, designed to be used in custom ...
virtual void paint(QPainter *painter, const QStyleOptionViewItem &option, const QModelIndex &index) const=0
virtual QSize sizeHint(const QStyleOptionViewItem &option, const QModelIndex &index) const=0
A custom model/view delegate that can display an icon, heading and detail sections.