gui::RealProperty Class Reference

Property editor widget for editing CReal. More...

#include <realproperty.h>

Inheritance diagram for gui::RealProperty:
gui::StringProperty gui::Property

List of all members.

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)

Detailed Description

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


Constructor & Destructor Documentation

gui::RealProperty::RealProperty ( const QString &  _name,
QWidget *  parent = 0,
PropertyFlags  _flags = defaultPropertyMode 
)

Default constructor of property item

Parameters:
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


Member Function Documentation

void gui::RealProperty::readValue ( IProperty pdfObject  )  [virtual]

read internal value from given PDF object

Parameters:
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

Parameters:
pdfObject Object to write to

Reimplemented from gui::StringProperty.

References gui::Property::changed, gui::StringProperty::ed, gui::Property::effectiveReadonly, and pdfobjects::CObjectSimple< Tp >::setValue().


The documentation for this class was generated from the following files: