EnumProperty Class Reference

#include <property_data.h>

Inheritance diagram for EnumProperty:

Inheritance graph
[legend]
Collaboration diagram for EnumProperty:

Collaboration graph
[legend]
List of all members.

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

Constructor & Destructor Documentation

EnumProperty::EnumProperty ( const char *  ,
const QString &  ,
PropertyData ,
const QMetaEnum &   
)


Member Function Documentation

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.


Member Data Documentation

QMetaEnum EnumProperty::m_enums [private]

int EnumProperty::m_index [private]

QStringList EnumProperty::m_keys [private]


The documentation for this class was generated from the following files:
Generated on Thu Apr 5 13:12:24 2007 for LCDBuilder by  doxygen 1.4.7