(Qt) Delegate for displaying and editing colors
More...
#include <TYPaletteWidget.h>
|
| | PaletteColorDelegate (QObject *parent=NULL) |
| |
| 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 |
| |
(Qt) Delegate for displaying and editing colors
Definition at line 188 of file TYPaletteWidget.h.
◆ PaletteColorDelegate()
| PaletteColorDelegate::PaletteColorDelegate |
( |
QObject * |
parent = NULL | ) |
|
|
inline |
◆ createEditor()
| QWidget * PaletteColorDelegate::createEditor |
( |
QWidget * |
parent, |
|
|
const QStyleOptionViewItem & |
option, |
|
|
const QModelIndex & |
index |
|
) |
| const |
◆ setEditorData()
| void PaletteColorDelegate::setEditorData |
( |
QWidget * |
editor, |
|
|
const QModelIndex & |
index |
|
) |
| const |
◆ setModelData()
| void PaletteColorDelegate::setModelData |
( |
QWidget * |
editor, |
|
|
QAbstractItemModel * |
model, |
|
|
const QModelIndex & |
index |
|
) |
| const |
◆ validateColor
| void PaletteColorDelegate::validateColor |
( |
| ) |
|
|
protectedslot |
The documentation for this class was generated from the following files:
- /home/docs/checkouts/readthedocs.org/user_builds/code-tympan-fbessou/checkouts/latest/Tympan/gui/widgets/TYPaletteWidget.h
- /home/docs/checkouts/readthedocs.org/user_builds/code-tympan-fbessou/checkouts/latest/Tympan/gui/widgets/TYPaletteWidget.cpp