PropertyLib::PColorCombo Class Reference
Property editor with color combobox. More...
#include <pcolorcombo.h>
Inheritance diagram for PropertyLib::PColorCombo:


Public Member Functions | |
PColorCombo (MultiProperty *property, QWidget *parent=0, const char *name=0) | |
virtual QVariant | value () const |
virtual void | setValue (const QVariant &value, bool emitChange=true) |
Sets the value shown in the editor widget. | |
virtual void | drawViewer (QPainter *p, const QColorGroup &cg, const QRect &r, const QVariant &value) |
Function to draw a property viewer when the editor isn't shown. | |
Private Slots | |
void | updateProperty (int val) |
Private Attributes | |
KColorCombo * | m_edit |
Detailed Description
Property editor with color combobox.
Definition at line 32 of file pcolorcombo.h.
Constructor & Destructor Documentation
|
Definition at line 29 of file pcolorcombo.cpp. References m_edit, and updateProperty(). |
Member Function Documentation
|
Function to draw a property viewer when the editor isn't shown.
Reimplemented from PropertyLib::PropertyWidget. Definition at line 59 of file pcolorcombo.cpp. |
|
Sets the value shown in the editor widget. Set emitChange to false if you don't want to emit propertyChanged signal. Implements PropertyLib::PropertyWidget. Definition at line 45 of file pcolorcombo.cpp. References m_edit, PropertyLib::PropertyWidget::propertyChanged(), KColorCombo::setColor(), and updateProperty(). |
|
Definition at line 54 of file pcolorcombo.cpp. References PropertyLib::PropertyWidget::propertyChanged(), and value(). Referenced by PColorCombo(), and setValue(). |
|
Implements PropertyLib::PropertyWidget. Definition at line 40 of file pcolorcombo.cpp. References KColorCombo::color, and m_edit. Referenced by updateProperty(). |
Member Data Documentation
|
Definition at line 49 of file pcolorcombo.h. Referenced by PColorCombo(), setValue(), and value(). |
The documentation for this class was generated from the following files:
- lib/widgets/propeditor/pcolorcombo.h
- lib/widgets/propeditor/pcolorcombo.cpp