Property editor widget for editing CInt. More...
#include <intproperty.h>
Public Member Functions | |
| IntProperty (const QString &_name, QWidget *parent=0, PropertyFlags _flags=defaultPropertyMode) | |
| virtual | ~IntProperty () |
| virtual void | setValue (IProperty *pdfObject) |
| virtual void | readValue (IProperty *pdfObject) |
Property editor widget for editing CInt.
IntProperty - class for widget containing one editable property of type "Int"
Used as one item in property editor
| gui::IntProperty::IntProperty | ( | const QString & | _name, | |
| QWidget * | parent = 0, |
|||
| PropertyFlags | _flags = defaultPropertyMode | |||
| ) |
Default constructor of property item
| parent | parent Property Editor containing this control | |
| _name | name of this property | |
| _flags | flags of this property items (default 0) |
References gui::StringProperty::ed.
| gui::IntProperty::~IntProperty | ( | ) | [virtual] |
default destructor
| void gui::IntProperty::readValue | ( | IProperty * | pdfObject | ) | [virtual] |
read internal value from given PDF object
| pdfObject | Object to read from |
Reimplemented from gui::StringProperty.
References gui::Property::changed, gui::StringProperty::ed, and pdfobjects::CObjectSimple< Tp >::getValue().
| void gui::IntProperty::setValue | ( | IProperty * | pdfObject | ) | [virtual] |
write internal value to given PDF object
| pdfObject | Object to write to |
Reimplemented from gui::StringProperty.
References gui::Property::changed, gui::StringProperty::ed, gui::Property::effectiveReadonly, and pdfobjects::CObjectSimple< Tp >::setValue().