Property editor widget for editing CReal. More...
#include <realproperty.h>
Public Member Functions | |
| RealProperty (const QString &_name, QWidget *parent=0, PropertyFlags _flags=defaultPropertyMode) | |
| virtual | ~RealProperty () |
| virtual void | setValue (IProperty *pdfObject) |
| virtual void | readValue (IProperty *pdfObject) |
Property editor widget for editing CReal.
RealProperty - class for widget containing one editable property of type "Real"
(internally represented as a double)
Used as one item in property editor
| gui::RealProperty::RealProperty | ( | 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::RealProperty::~RealProperty | ( | ) | [virtual] |
default destructor
| void gui::RealProperty::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::RealProperty::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().