#include <qgsfeaturelistviewdelegate.h>
|
void | paint (QPainter *painter, const QStyleOptionViewItem &option, const QModelIndex &index) const override |
|
QSize | sizeHint (const QStyleOptionViewItem &option, const QModelIndex &index) const override |
|
◆ Element
◆ QgsFeatureListViewDelegate()
QgsFeatureListViewDelegate::QgsFeatureListViewDelegate |
( |
QgsFeatureListModel * |
listModel, |
|
|
QObject * |
parent = nullptr |
|
) |
| |
|
explicit |
◆ editButtonClicked
void QgsFeatureListViewDelegate::editButtonClicked |
( |
QModelIndex & |
index | ) |
|
|
signal |
◆ paint()
void QgsFeatureListViewDelegate::paint |
( |
QPainter * |
painter, |
|
|
const QStyleOptionViewItem & |
option, |
|
|
const QModelIndex & |
index |
|
) |
| const |
|
overrideprotected |
◆ positionToElement()
◆ setCurrentFeatureEdited()
void QgsFeatureListViewDelegate::setCurrentFeatureEdited |
( |
bool |
state | ) |
|
◆ setEditSelectionModel()
void QgsFeatureListViewDelegate::setEditSelectionModel |
( |
QItemSelectionModel * |
editSelectionModel | ) |
|
◆ setFeatureSelectionModel()
◆ sizeHint()
QSize QgsFeatureListViewDelegate::sizeHint |
( |
const QStyleOptionViewItem & |
option, |
|
|
const QModelIndex & |
index |
|
) |
| const |
|
overrideprotected |
◆ ICON_SIZE
const int QgsFeatureListViewDelegate::ICON_SIZE = 24 |
|
static |
The documentation for this class was generated from the following files: