PropertyData Class Reference

#include <property_data.h>

List of all members.

Public Types

 MinRange = 0
 MaxRange
 ActiveIndex
 ImagePath
 User
 numDataType
enum  DataType {
  MinRange = 0, MaxRange, ActiveIndex, ImagePath,
  User, numDataType
}

Public Member Functions

void init (bool enable=true)
void init (const QString &label, const QIcon &icon=QIcon())
void setLabel (const QString &label)
void setIcon (const QIcon &icon)
void setName (const char *name)
void setData (DataType type, const QVariant &value)
void setEnable (bool enable)
QString label ()
bool isEnable ()
bool isInit ()
QVariant data (DataType type) const

Private Attributes

QString m_name
QHash< QString, PropertyItem * > m_properties

Classes

struct  PropertyItem


Member Enumeration Documentation

enum PropertyData::DataType

Enumerator:
MinRange 
MaxRange 
ActiveIndex 
ImagePath 
User 
numDataType 


Member Function Documentation

QVariant PropertyData::data ( DataType  type  )  const [inline]

void PropertyData::init ( const QString &  label,
const QIcon &  icon = QIcon() 
) [inline]

void PropertyData::init ( bool  enable = true  )  [inline]

bool PropertyData::isEnable (  )  [inline]

bool PropertyData::isInit (  )  [inline]

QString PropertyData::label (  )  [inline]

void PropertyData::setData ( DataType  type,
const QVariant &  value 
) [inline]

void PropertyData::setEnable ( bool  enable  )  [inline]

void PropertyData::setIcon ( const QIcon &  icon  )  [inline]

void PropertyData::setLabel ( const QString &  label  )  [inline]

void PropertyData::setName ( const char *  name  )  [inline]


Member Data Documentation

QString PropertyData::m_name [private]

active property all method query this name

QHash<QString, PropertyItem*> PropertyData::m_properties [private]


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