pfontbutton.cpp
47 connect(m_edit, TQT_SIGNAL(fontSelected(const TQFont& )), this, TQT_SLOT(updateProperty(const TQFont& )));
55 void PFontButton::drawViewer(TQPainter* p, const TQColorGroup& cg, const TQRect& r, const TQVariant& value)
69 disconnect(m_edit, TQT_SIGNAL(fontSelected(const TQFont&)), this, TQT_SLOT(updateProperty(const TQFont&)));
71 connect(m_edit, TQT_SIGNAL(fontSelected(const TQFont& )), this, TQT_SLOT(updateProperty(const TQFont& )));
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
void propertyChanged(MultiProperty *property, const TQVariant &value)
Emit this signal when property value is changed.
virtual void setValue(const TQVariant &value, bool emitChange)
Sets the value shown in the editor widget.
Definition: pfontbutton.cpp:67