PropertyLib::PSpinBox Class Reference
#include <pspinbox.h>
Inheritance diagram for PropertyLib::PSpinBox:
Public Member Functions | |
| PSpinBox (MultiProperty *property, TQWidget *parent=0, const char *name=0) | |
| PSpinBox (MultiProperty *property, int minValue, int maxValue, int step=1, TQWidget *parent=0, const char *name=0) | |
| virtual TQVariant | value () const |
| virtual void | setValue (const TQVariant &value, bool emitChange=true) |
| Public Member Functions inherited from PropertyLib::PropertyWidget | |
| PropertyWidget (MultiProperty *property, TQWidget *parent=0, const char *name=0) | |
| virtual TQString | propertyName () const |
| virtual void | setProperty (MultiProperty *property) |
| virtual void | setValueList (const TQStringVariantMap &valueList) |
| virtual void | drawViewer (TQPainter *p, const TQColorGroup &cg, const TQRect &r, const TQVariant &value) |
| virtual void | undo () |
Additional Inherited Members | |
| Signals inherited from PropertyLib::PropertyWidget | |
| void | propertyChanged (MultiProperty *property, const TQVariant &value) |
| Protected Attributes inherited from PropertyLib::PropertyWidget | |
| MultiProperty * | m_property |
Detailed Description
Property editor with integer num input box.
Definition at line 32 of file pspinbox.h.
Constructor & Destructor Documentation
◆ PSpinBox() [1/2]
| PropertyLib::PSpinBox::PSpinBox | ( | MultiProperty * | property, |
| TQWidget * | parent = 0, | ||
| const char * | name = 0 ) |
Definition at line 29 of file pspinbox.cpp.
◆ PSpinBox() [2/2]
| PropertyLib::PSpinBox::PSpinBox | ( | MultiProperty * | property, |
| int | minValue, | ||
| int | maxValue, | ||
| int | step = 1, | ||
| TQWidget * | parent = 0, | ||
| const char * | name = 0 ) |
Definition at line 40 of file pspinbox.cpp.
Member Function Documentation
◆ setValue()
|
virtual |
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.
◆ value()
|
virtual |
- Returns
- the value currently entered in the editor widget.
Implements PropertyLib::PropertyWidget.
Definition at line 50 of file pspinbox.cpp.
The documentation for this class was generated from the following files:
Trinity API Reference