PropertyLib::PSpinBox Class Reference
Property editor with integer num input box. More...
#include <pspinbox.h>
Inheritance diagram for PropertyLib::PSpinBox:


Public Member Functions | |
PSpinBox (MultiProperty *property, QWidget *parent=0, const char *name=0) | |
PSpinBox (MultiProperty *property, int minValue, int maxValue, int step=1, 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. | |
Private Slots | |
void | updateProperty (int val) |
Private Attributes | |
QSpinBox * | m_edit |
Detailed Description
Property editor with integer num input box.
Definition at line 32 of file pspinbox.h.
Constructor & Destructor Documentation
|
Definition at line 29 of file pspinbox.cpp. References m_edit, and updateProperty(). |
|
Definition at line 40 of file pspinbox.cpp. References m_edit, and updateProperty(). |
Member Function Documentation
|
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 55 of file pspinbox.cpp. References m_edit, PropertyLib::PropertyWidget::propertyChanged(), and updateProperty(). |
|
Definition at line 64 of file pspinbox.cpp. References PropertyLib::PropertyWidget::propertyChanged(). Referenced by PSpinBox(), and setValue(). |
|
Implements PropertyLib::PropertyWidget. Definition at line 50 of file pspinbox.cpp. References m_edit. |
Member Data Documentation
|
Definition at line 48 of file pspinbox.h. Referenced by PSpinBox(), setValue(), and value(). |
The documentation for this class was generated from the following files:
- lib/widgets/propeditor/pspinbox.h
- lib/widgets/propeditor/pspinbox.cpp