propertywidget.cpp
41 void PropertyWidget::drawViewer(TQPainter *p, const TQColorGroup &cg, const TQRect &r, const TQVariant &value)
virtual void undo()
Reverts the property value to previous setting.
Definition: propertywidget.cpp:55
virtual TQString propertyName() const
Definition: propertywidget.cpp:31
PropertyWidget(MultiProperty *property, TQWidget *parent=0, const char *name=0)
Constructs widget for property with name "propertyName".
Definition: propertywidget.cpp:26
virtual void drawViewer(TQPainter *p, const TQColorGroup &cg, const TQRect &r, const TQVariant &value)
Function to draw a property viewer when the editor isn't shown.
Definition: propertywidget.cpp:41
virtual TQVariant value() const =0
Contains PropertyLib::PropertyWidget class.
virtual void setValueList(const TQMap< TQString, TQVariant > &valueList)
Sets the list of possible values shown in the editor widget.
Definition: propertywidget.cpp:49
virtual void setProperty(MultiProperty *property)
Sets the name of edited property.
Definition: propertywidget.cpp:36
Holds a list of properties with the same name and type.
Definition: multiproperty.h:49