25#ifndef __ENUMPROPERTY_H__
26#define __ENUMPROPERTY_H__
28#include <qstringlist.h>
29#include <qmetaobject.h>
50 virtual QVariant
value(
int role = Qt::UserRole)
const;
52 virtual QWidget*
createEditor(QWidget* parent,
const QStyleOptionViewItem& option);
Definition EnumProperty.h:43
virtual bool setEditorData(QWidget *editor, const QVariant &data)
virtual QWidget * createEditor(QWidget *parent, const QStyleOptionViewItem &option)
QStringList m_enum
Definition EnumProperty.h:64
virtual QVariant editorData(QWidget *editor)
void valueChanged(const QString item)
virtual QVariant value(int role=Qt::UserRole) const
QObject * propertyObject()
Definition Property.h:77