pcombobox.cpp
27 PComboBox::PComboBox(MultiProperty *property, const TQMap<TQString, TQVariant> &list, TQWidget *parent, const char *name)
33 PComboBox::PComboBox(MultiProperty *property, const TQMap<TQString, TQVariant> &list, bool rw, TQWidget *parent, const char *name)
53 for (TQMap<TQString, TQVariant>::const_iterator it = m_valueList.begin(); it != m_valueList.end(); it++)
86 for (TQMap<TQString, TQVariant>::const_iterator it = m_valueList.begin(); it != m_valueList.end(); ++ it)
An abstract base class of property viewer and editor vidget.
Definition: propertywidget.h:49
PComboBox(MultiProperty *property, const TQMap< TQString, TQVariant > &list, TQWidget *parent=0, const char *name=0)
This constructor is used for read-only selection combo.
Definition: pcombobox.cpp:27
virtual void setValue(const TQVariant &value, bool emitChange=true)
Sets the value shown in the editor widget.
Definition: pcombobox.cpp:67
void propertyChanged(MultiProperty *property, const TQVariant &value)
Emit this signal when property value is changed.
Holds a list of properties with the same name and type.
Definition: multiproperty.h:49
virtual void setValueList(const TQMap< TQString, TQVariant > &valueList)
Sets the list of possible values shown in the editor widget.
Definition: pcombobox.cpp:94