propertywidget.h
Go to the documentation of this file.
71 virtual void drawViewer(TQPainter *p, const TQColorGroup &cg, const TQRect &r, const TQVariant &value);
Holds a list of properties with the same name and type.
Definition multiproperty.h:50
virtual void setProperty(MultiProperty *property)
Sets the name of edited property.
Definition propertywidget.cpp:36
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
PropertyWidget(MultiProperty *property, TQWidget *parent=0, const char *name=0)
Constructs widget for property with name "propertyName".
Definition propertywidget.cpp:26
virtual TQString propertyName() const
Definition propertywidget.cpp:31
void propertyChanged(MultiProperty *property, const TQVariant &value)
Emit this signal when property value is changed.
virtual void setValue(const TQVariant &value, bool emitChange=true)=0
Sets the value shown in the editor widget.
virtual void setValueList(const TQStringVariantMap &valueList)
Sets the list of possible values shown in the editor widget.
Definition propertywidget.cpp:49
virtual TQVariant value() const =0
Contains PropertyLib::MultiProperty class.
Trinity API Reference