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