PropertyLib::PDummyWidget Class Reference
Property editor with empty widget. More...
#include <pdummywidget.h>
Inheritance diagram for PropertyLib::PDummyWidget:


Public Member Functions | |
PDummyWidget (MultiProperty *property, QWidget *parent=0, const char *name=0) | |
virtual QVariant | value () const |
virtual void | setValue (const QVariant &value, bool emitChange) |
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 Attributes | |
QVariant | m_value |
Detailed Description
Property editor with empty widget.This is usefull for properties which can't be edited in a generic way like QValueList's or QMap's stored in a variant.
Definition at line 40 of file pdummywidget.h.
Constructor & Destructor Documentation
|
Definition at line 26 of file pdummywidget.cpp. |
Member Function Documentation
|
Function to draw a property viewer when the editor isn't shown.
Reimplemented from PropertyLib::PropertyWidget. Definition at line 43 of file pdummywidget.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 36 of file pdummywidget.cpp. References m_value, and PropertyLib::PropertyWidget::propertyChanged(). |
|
Implements PropertyLib::PropertyWidget. Definition at line 31 of file pdummywidget.cpp. |
Member Data Documentation
|
Definition at line 55 of file pdummywidget.h. Referenced by setValue(). |
The documentation for this class was generated from the following files:
- lib/widgets/propeditor/pdummywidget.h
- lib/widgets/propeditor/pdummywidget.cpp