25#ifndef COLORSELECTIONBUTTON_H_
26#define COLORSELECTIONBUTTON_H_
29#include <qitemdelegate.h>
59 QWidget* parent,
const QStyleOptionViewItem& option,
const QModelIndex& index)
const;
66 virtual void setEditorData(QWidget* editor,
const QModelIndex& index)
const;
76 QWidget* editor, QAbstractItemModel* model,
const QModelIndex& index)
const;
80 QWidget* editor,
const QStyleOptionViewItem& option,
const QModelIndex& index)
const;
82 QSize sizeHint(
const QStyleOptionViewItem& option,
const QModelIndex& index)
const;
85 Property* propertyFromModel(
const QModelIndex &index)
const;
88 void parseEditorHints(QWidget* editor,
const QString& editorHints)
const;
91 QSignalMapper* m_finishedMapper;
Definition QVariantDelegate.h:38
virtual ~QVariantDelegate()
Destructor.
Definition QVariantDelegate.cpp:59
QVariantDelegate(QObject *parent=0)
Definition QVariantDelegate.cpp:36
virtual void setEditorData(QWidget *editor, const QModelIndex &index) const
Definition QVariantDelegate.cpp:116
virtual void updateEditorGeometry(QWidget *editor, const QStyleOptionViewItem &option, const QModelIndex &index) const
QItemDelegate implementation.
Definition QVariantDelegate.cpp:173
virtual void setModelData(QWidget *editor, QAbstractItemModel *model, const QModelIndex &index) const
Definition QVariantDelegate.cpp:144
QWidget * createEditor(QWidget *parent, const QStyleOptionViewItem &option, const QModelIndex &index) const
Definition QVariantDelegate.cpp:80