gui::NameProperty Class Reference

Property editor widget for editing CName. More...

#include <nameproperty.h>

Inheritance diagram for gui::NameProperty:
gui::StringProperty gui::Property

List of all members.

Public Member Functions

 NameProperty (const QString &_name, QWidget *parent=0, PropertyFlags _flags=defaultPropertyMode)
virtual ~NameProperty ()
virtual void setValue (pdfobjects::IProperty *pdfObject)
virtual void readValue (pdfobjects::IProperty *pdfObject)

Detailed Description

Property editor widget for editing CName.

Class for widget containing one editable property of type "Name"
Basically, CName is CString, but we might want differentiation in case we'll handle names specially in future
Used as one item type in property editor


Constructor & Destructor Documentation

gui::NameProperty::NameProperty ( 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)
gui::NameProperty::~NameProperty (  )  [virtual]

default destructor


Member Function Documentation

void gui::NameProperty::readValue ( pdfobjects::IProperty pdfObject  )  [virtual]

read internal value from given PDF object

Parameters:
pdfObject Object to read from

Reimplemented from gui::StringProperty.

References gui::Property::changed, util::convertToUnicode(), gui::StringProperty::ed, pdfobjects::CObjectSimple< Tp >::getValue(), and util::PDF.

void gui::NameProperty::setValue ( pdfobjects::IProperty pdfObject  )  [virtual]

write internal value to given PDF object

Parameters:
pdfObject Object to write to

Reimplemented from gui::StringProperty.

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


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