QGIS API Documentation
3.0.2-Girona (307d082)
|
QStyledItemDelegate subclass for QgsCheckableComboBox. More...
#include <qgscheckablecombobox.h>
Public Member Functions | |
QgsCheckBoxDelegate (QObject *parent=nullptr) | |
Constructor for QgsCheckBoxDelegate. More... | |
void | paint (QPainter *painter, const QStyleOptionViewItem &option, const QModelIndex &index) const override |
Renders the delegate using the given painter and style option for the item specified by index. More... | |
QStyledItemDelegate subclass for QgsCheckableComboBox.
Needed for correct drawing of the checkable items on Mac and GTK.
Definition at line 95 of file qgscheckablecombobox.h.
QgsCheckBoxDelegate::QgsCheckBoxDelegate | ( | QObject * | parent = nullptr | ) |
Constructor for QgsCheckBoxDelegate.
parent | parent object |
Definition at line 63 of file qgscheckablecombobox.cpp.
|
override |
Renders the delegate using the given painter and style option for the item specified by index.
painter | painter to use |
option | style option |
index | item index |
Definition at line 68 of file qgscheckablecombobox.cpp.