PropertyLib::PRectEdit Class Reference
Property editor for QRect values. More...
#include <prectedit.h>
Inheritance diagram for PropertyLib::PRectEdit:


Public Member Functions | |
PRectEdit (MultiProperty *property, QWidget *parent=0, const char *name=0) | |
virtual QVariant | value () const |
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. | |
virtual void | setValue (const QVariant &value, bool emitChange) |
Sets the value shown in the editor widget. | |
Private Attributes | |
QLineEdit * | m_edit |
QVariant | m_value |
Detailed Description
Property editor for QRect values.
Definition at line 32 of file prectedit.h.
Constructor & Destructor Documentation
|
Definition at line 28 of file prectedit.cpp. References m_edit. |
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 prectedit.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 51 of file prectedit.cpp. References m_edit, m_value, and PropertyLib::PropertyWidget::propertyChanged(). |
|
Implements PropertyLib::PropertyWidget. Definition at line 38 of file prectedit.cpp. |
Member Data Documentation
|
Definition at line 43 of file prectedit.h. Referenced by PRectEdit(), and setValue(). |
|
Definition at line 44 of file prectedit.h. Referenced by setValue(). |
The documentation for this class was generated from the following files:
- lib/widgets/propeditor/prectedit.h
- lib/widgets/propeditor/prectedit.cpp