PropertyLib::PSizeEdit Class Reference
Property editor for QSize values. More...
#include <psizeedit.h>
Inheritance diagram for PropertyLib::PSizeEdit:


Public Member Functions | |
PSizeEdit (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 QSize values.
Definition at line 34 of file psizeedit.h.
Constructor & Destructor Documentation
|
Definition at line 28 of file psizeedit.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 44 of file psizeedit.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 52 of file psizeedit.cpp. References m_edit, m_value, and PropertyLib::PropertyWidget::propertyChanged(). |
|
Implements PropertyLib::PropertyWidget. Definition at line 39 of file psizeedit.cpp. |
Member Data Documentation
|
Definition at line 45 of file psizeedit.h. Referenced by PSizeEdit(), and setValue(). |
|
Definition at line 46 of file psizeedit.h. Referenced by setValue(). |
The documentation for this class was generated from the following files:
- lib/widgets/propeditor/psizeedit.h
- lib/widgets/propeditor/psizeedit.cpp