QGIS API Documentation 3.28.0-Firenze (ed3ad0430f)
|
A custom model/view delegate that can display an icon, heading and detail sections. More...
#include <qgsdetaileditemdelegate.h>
Public Member Functions | |
QgsDetailedItemDelegate (QObject *parent=nullptr) | |
Constructor for QgsDetailedItemDelegate. More... | |
~QgsDetailedItemDelegate () override | |
int | horizontalSpacing () const |
void | paint (QPainter *painter, const QStyleOptionViewItem &option, const QModelIndex &index) const override |
Reimplement for parent class. More... | |
void | setHorizontalSpacing (int value) |
void | setVerticalSpacing (int value) |
QSize | sizeHint (const QStyleOptionViewItem &option, const QModelIndex &index) const override |
Reimplement for parent class. More... | |
int | verticalSpacing () const |
A custom model/view delegate that can display an icon, heading and detail sections.
Definition at line 37 of file qgsdetaileditemdelegate.h.
QgsDetailedItemDelegate::QgsDetailedItemDelegate | ( | QObject * | parent = nullptr | ) |
Constructor for QgsDetailedItemDelegate.
Definition at line 29 of file qgsdetaileditemdelegate.cpp.
|
override |
Definition at line 41 of file qgsdetaileditemdelegate.cpp.
int QgsDetailedItemDelegate::horizontalSpacing | ( | ) | const |
Definition at line 389 of file qgsdetaileditemdelegate.cpp.
|
override |
Reimplement for parent class.
Definition at line 47 of file qgsdetaileditemdelegate.cpp.
void QgsDetailedItemDelegate::setHorizontalSpacing | ( | int | value | ) |
Definition at line 395 of file qgsdetaileditemdelegate.cpp.
void QgsDetailedItemDelegate::setVerticalSpacing | ( | int | value | ) |
Definition at line 383 of file qgsdetaileditemdelegate.cpp.
|
override |
Reimplement for parent class.
Definition at line 70 of file qgsdetaileditemdelegate.cpp.
int QgsDetailedItemDelegate::verticalSpacing | ( | ) | const |
Definition at line 377 of file qgsdetaileditemdelegate.cpp.