pfontbutton.cpp
47 connect(m_edit, TQ_SIGNAL(fontSelected(const TQFont& )), this, TQ_SLOT(updateProperty(const TQFont& )));
55void PFontButton::drawViewer(TQPainter* p, const TQColorGroup& cg, const TQRect& r, const TQVariant& value)
69 disconnect(m_edit, TQ_SIGNAL(fontSelected(const TQFont&)), this, TQ_SLOT(updateProperty(const TQFont&)));
Holds a list of properties with the same name and type.
Definition multiproperty.h:50
virtual void setValue(const TQVariant &value, bool emitChange)
Sets the value shown in the editor widget.
Definition pfontbutton.cpp:67
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 pfontbutton.cpp:55
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