11 #ifndef CXSPACEPROPERTY_H_
12 #define CXSPACEPROPERTY_H_
15 #include "cxResourceExport.h"
17 #include <QDomElement>
18 #include <QStringList>
38 std::vector<Space> range=std::vector<Space>(), QDomNode root = QDomNode());
43 virtual QString getDisplayName()
const;
44 virtual QString getUid()
const;
45 virtual bool setValue(
const Space& value);
46 virtual Space getValue()
const;
47 virtual QString getHelp()
const;
48 virtual void setHelp(QString val);
49 virtual std::vector<Space> getValueRange()
const;
50 virtual void setValueRange(std::vector<Space> range);
51 virtual QString convertRefObjectInternal2Display(QString
internal);
52 virtual void setRefObjectDisplayNames(std::map<QString, QString> names);
56 void setReadOnly(
bool val);
63 void providerChangedSlot();
70 std::vector<Space> mRange;
72 std::map<QString, QString> mDisplayNames;
74 bool mAllowOnlyValuesInRange;
85 #endif // CXSPACEPROPERTY_H_