#include <color_delegate.hpp>
|
| | Color_Delegate (QWidget *parent=0) |
| |
| void | paint (QPainter *painter, const QStyleOptionViewItem &option, const QModelIndex &index) const |
| |
| QWidget * | createEditor (QWidget *parent, const QStyleOptionViewItem &option, const QModelIndex &index) const |
| |
| void | setEditorData (QWidget *editor, const QModelIndex &index) const |
| |
| void | setModelData (QWidget *editor, QAbstractItemModel *model, const QModelIndex &index) const |
| |
| QSize | sizeHint (const QStyleOptionViewItem &option, const QModelIndex &index) const |
| |
Delegate to use a Color_Selector in a color list
| Color_Delegate::Color_Delegate |
( |
QWidget * |
parent = 0 | ) |
|
|
explicit |
| QWidget * Color_Delegate::createEditor |
( |
QWidget * |
parent, |
|
|
const QStyleOptionViewItem & |
option, |
|
|
const QModelIndex & |
index |
|
) |
| const |
| void Color_Delegate::paint |
( |
QPainter * |
painter, |
|
|
const QStyleOptionViewItem & |
option, |
|
|
const QModelIndex & |
index |
|
) |
| const |
| void Color_Delegate::setEditorData |
( |
QWidget * |
editor, |
|
|
const QModelIndex & |
index |
|
) |
| const |
| void Color_Delegate::setModelData |
( |
QWidget * |
editor, |
|
|
QAbstractItemModel * |
model, |
|
|
const QModelIndex & |
index |
|
) |
| const |
| QSize Color_Delegate::sizeHint |
( |
const QStyleOptionViewItem & |
option, |
|
|
const QModelIndex & |
index |
|
) |
| const |
The documentation for this class was generated from the following files: