#include <property_data.h>
Inheritance diagram for EnumProperty:
Public Member Functions | |
EnumProperty (const char *, const QString &, PropertyData *, const QMetaEnum &) | |
QWidget * | createEditor (QWidget *) |
void | updateEditor (QWidget *) |
void | setValue (const QVariant &) |
QString | status () const |
QVariant | value () const |
QString | valueToString () const |
void | setCurrentIndex (int) |
Private Attributes | |
QMetaEnum | m_enums |
QStringList | m_keys |
int | m_index |
EnumProperty::EnumProperty | ( | const char * | , | |
const QString & | , | |||
PropertyData * | , | |||
const QMetaEnum & | ||||
) |
QWidget * EnumProperty::createEditor | ( | QWidget * | ) | [virtual] |
Reimplemented from AbstractProperty.
void EnumProperty::setCurrentIndex | ( | int | ) |
void EnumProperty::setValue | ( | const QVariant & | ) | [virtual] |
Reimplemented from AbstractProperty.
QString EnumProperty::status | ( | ) | const [virtual] |
Reimplemented from AbstractProperty.
void EnumProperty::updateEditor | ( | QWidget * | ) | [virtual] |
Reimplemented from AbstractProperty.
QVariant EnumProperty::value | ( | ) | const [virtual] |
Reimplemented from AbstractProperty.
QString EnumProperty::valueToString | ( | ) | const [virtual] |
Reimplemented from AbstractProperty.
QMetaEnum EnumProperty::m_enums [private] |
int EnumProperty::m_index [private] |
QStringList EnumProperty::m_keys [private] |