32 #ifndef CXSPACEPROPERTY_H_
33 #define CXSPACEPROPERTY_H_
36 #include "cxResourceExport.h"
38 #include <QDomElement>
39 #include <QStringList>
59 std::vector<Space> range=std::vector<Space>(), QDomNode root = QDomNode());
64 virtual QString getDisplayName()
const;
65 virtual QString getUid()
const;
66 virtual bool setValue(
const Space& value);
67 virtual Space getValue()
const;
68 virtual QString getHelp()
const;
69 virtual void setHelp(QString val);
70 virtual std::vector<Space> getValueRange()
const;
71 virtual void setValueRange(std::vector<Space> range);
72 virtual QString convertRefObjectInternal2Display(QString
internal);
73 virtual void setRefObjectDisplayNames(std::map<QString, QString> names);
77 void setReadOnly(
bool val);
84 void providerChangedSlot();
91 std::vector<Space> mRange;
93 std::map<QString, QString> mDisplayNames;
95 bool mAllowOnlyValuesInRange;
106 #endif // CXSPACEPROPERTY_H_
boost::shared_ptr< class SpaceProvider > SpaceProviderPtr
boost::shared_ptr< class SpaceProperty > SpacePropertyPtr
Helper class for storing one string value in an xml document.
Identification of a Coordinate system.
virtual bool isReadOnly() const
virtual bool getAllowOnlyValuesInRange() const