QGIS API Documentation
2.8.2-Wien
|
A delegate for showing a color swatch in a list. More...
#include <qgscolorschemelist.h>
Public Member Functions | |
QgsColorSwatchDelegate (QWidget *parent=0) | |
bool | editorEvent (QEvent *event, QAbstractItemModel *model, const QStyleOptionViewItem &option, const QModelIndex &index) override |
void | paint (QPainter *painter, const QStyleOptionViewItem &option, const QModelIndex &index) const override |
QSize | sizeHint (const QStyleOptionViewItem &option, const QModelIndex &index) const override |
A delegate for showing a color swatch in a list.
Definition at line 32 of file qgscolorschemelist.h.
QgsColorSwatchDelegate::QgsColorSwatchDelegate | ( | QWidget * | parent = 0 | ) |
Definition at line 617 of file qgscolorschemelist.cpp.
|
override |
Definition at line 687 of file qgscolorschemelist.cpp.
|
override |
Definition at line 624 of file qgscolorschemelist.cpp.
|
override |
Definition at line 680 of file qgscolorschemelist.cpp.