QGIS API Documentation
2.8.2-Wien
|
A custom model/view delegate that can display an icon, heading and detail sections. More...
#include <qgsdetaileditemdelegate.h>
Public Member Functions | |
QgsDetailedItemDelegate (QObject *parent=0) | |
~QgsDetailedItemDelegate () | |
int | horizontalSpacing () const |
void | paint (QPainter *thePainter, const QStyleOptionViewItem &theOption, const QModelIndex &theIndex) const override |
reimplement for parent class | |
void | setHorizontalSpacing (int theValue) |
void | setVerticalSpacing (int theValue) |
QSize | sizeHint (const QStyleOptionViewItem &theOption, const QModelIndex &theIndex) const override |
reimplement for parent class | |
int | verticalSpacing () const |
A custom model/view delegate that can display an icon, heading and detail sections.
Definition at line 34 of file qgsdetaileditemdelegate.h.
QgsDetailedItemDelegate::QgsDetailedItemDelegate | ( | QObject * | parent = 0 | ) |
Definition at line 28 of file qgsdetaileditemdelegate.cpp.
QgsDetailedItemDelegate::~QgsDetailedItemDelegate | ( | ) |
Definition at line 40 of file qgsdetaileditemdelegate.cpp.
int QgsDetailedItemDelegate::horizontalSpacing | ( | ) | const |
Definition at line 387 of file qgsdetaileditemdelegate.cpp.
|
override |
reimplement for parent class
Definition at line 46 of file qgsdetaileditemdelegate.cpp.
void QgsDetailedItemDelegate::setHorizontalSpacing | ( | int | theValue | ) |
Definition at line 393 of file qgsdetaileditemdelegate.cpp.
void QgsDetailedItemDelegate::setVerticalSpacing | ( | int | theValue | ) |
Definition at line 381 of file qgsdetaileditemdelegate.cpp.
|
override |
reimplement for parent class
Definition at line 70 of file qgsdetaileditemdelegate.cpp.
int QgsDetailedItemDelegate::verticalSpacing | ( | ) | const |
Definition at line 375 of file qgsdetaileditemdelegate.cpp.