25#ifndef COLORSELECTIONBUTTON_H_
26#define COLORSELECTIONBUTTON_H_
28#include <qitemdelegate.h>
56 QWidget *
createEditor(QWidget *parent,
const QStyleOptionViewItem &option,
const QModelIndex &index)
const;
63 virtual void setEditorData(QWidget *editor,
const QModelIndex &index)
const;
71 virtual void setModelData(QWidget *editor, QAbstractItemModel *model,
const QModelIndex &index)
const;
74 virtual void updateEditorGeometry(QWidget *editor,
const QStyleOptionViewItem &option,
const QModelIndex &index)
const;
77 void parseEditorHints(QWidget* editor,
const QString& editorHints)
const;
79 QSignalMapper* m_finishedMapper;
Definition QVariantDelegate.h:38
virtual ~QVariantDelegate()
Destructor.
QVariantDelegate(QObject *parent=0)
virtual void updateEditorGeometry(QWidget *editor, const QStyleOptionViewItem &option, const QModelIndex &index) const
QItemDelegate implementation.
virtual void setEditorData(QWidget *editor, const QModelIndex &index) const
virtual void setModelData(QWidget *editor, QAbstractItemModel *model, const QModelIndex &index) const
QWidget * createEditor(QWidget *parent, const QStyleOptionViewItem &option, const QModelIndex &index) const