PropertyLib::PCheckBox Class Reference
Property editor with checkbox. More...
#include <pcheckbox.h>
Inheritance diagram for PropertyLib::PCheckBox:


Public Member Functions | |
PCheckBox (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 (bool val) |
Private Attributes | |
QCheckBox * | m_edit |
Detailed Description
Property editor with checkbox.
Definition at line 32 of file pcheckbox.h.
Constructor & Destructor Documentation
|
Definition at line 34 of file pcheckbox.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 64 of file pcheckbox.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 50 of file pcheckbox.cpp. References m_edit, PropertyLib::PropertyWidget::propertyChanged(), and updateProperty(). |
|
Definition at line 59 of file pcheckbox.cpp. References PropertyLib::PropertyWidget::propertyChanged(). Referenced by PCheckBox(), and setValue(). |
|
Implements PropertyLib::PropertyWidget. Definition at line 45 of file pcheckbox.cpp. References m_edit. |
Member Data Documentation
|
Definition at line 49 of file pcheckbox.h. Referenced by PCheckBox(), setValue(), and value(). |
The documentation for this class was generated from the following files:
- lib/widgets/propeditor/pcheckbox.h
- lib/widgets/propeditor/pcheckbox.cpp