25#ifndef __FLAGSPROPERTY_H__
26#define __FLAGSPROPERTY_H__
29#include <qmetaobject.h>
31#include <qstringlist.h>
47 const QString& name = QString(), QObject*
propertyObject = 0, QObject* parent = 0);
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);
65 QVector<int> m_enumIndices;
67 bool m_inModification;
Definition FlagsProperty.h:42
void checkedIndexesChanged()
Definition FlagsProperty.cpp:172
virtual QVariant editorData(QWidget *editor)
Definition FlagsProperty.cpp:148
virtual bool setEditorData(QWidget *editor, const QVariant &data)
Definition FlagsProperty.cpp:111
QStringList m_enum
Definition FlagsProperty.h:64
virtual QWidget * createEditor(QWidget *parent, const QStyleOptionViewItem &option)
Definition FlagsProperty.cpp:97
virtual QVariant value(int role=Qt::UserRole) const
Definition FlagsProperty.cpp:60
QObject * propertyObject()
Definition Property.h:77