pcheckbox.cpp
64void PCheckBox::drawViewer(TQPainter *p, const TQColorGroup &cg, const TQRect &r, const TQVariant &value)
69 p->drawText(r, TQt::AlignLeft | TQt::AlignVCenter | TQt::SingleLine, value.toBool() ? i18n("true") : i18n("false"));
Holds a list of properties with the same name and type.
Definition multiproperty.h:50
virtual void setValue(const TQVariant &value, bool emitChange=true)
Sets the value shown in the editor widget.
Definition pcheckbox.cpp:50
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 pcheckbox.cpp:64
An abstract base class of property viewer and editor vidget.
Definition propertywidget.h:49
void propertyChanged(MultiProperty *property, const TQVariant &value)
Emit this signal when property value is changed.
Trinity API Reference