38 Q_PROPERTY(QSharedPointer<ito::DataObject> data READ getData WRITE setData DESIGNABLE
false);
39 Q_PROPERTY(
bool readOnlyEnabled READ getReadOnly WRITE setReadOnly DESIGNABLE
true);
40 Q_PROPERTY(
bool detailedInfo READ getDetailedStatus WRITE setDetailedStatus DESIGNABLE
true);
41 Q_PROPERTY(
bool previewEnabled READ getPreviewStatus WRITE setPreviewStatus DESIGNABLE
true);
42 Q_PROPERTY(
int previewSize READ getPreviewSize WRITE setPreviewSize DESIGNABLE
true);
43 Q_PROPERTY(
int decimals READ getDecimals WRITE setDecimals DESIGNABLE
true);
46 Q_CLASSINFO(
"prop://data",
"The dataObject to read the meta data from.")
47 Q_CLASSINFO(
"prop://readOnlyEnabled",
"Enable / disable modification of meta data, (not supported).")
48 Q_CLASSINFO(
"prop://decimals",
"Number of decimals to show.")
49 Q_CLASSINFO(
"prop://previewEnabled",
"Add a preview to the meta data.")
50 Q_CLASSINFO(
"prop://previewSize",
"Set the preview size.")
51 Q_CLASSINFO(
"prop://detailedInfo",
"Toggle between basic and detailed metaData.")
59 void setData(QSharedPointer<ito::DataObject> dataObj);
60 QSharedPointer<ito::DataObject> getData()
const;
62 bool getReadOnly()
const {
return m_readOnly;};
63 void setReadOnly(
const bool value);
65 int getDecimals()
const {
return m_decimals;};
66 void setDecimals(
const int value);
68 bool getPreviewStatus()
const {
return m_preview;};
69 void setPreviewStatus(
const bool value);
71 int getPreviewSize()
const {
return m_previewSize;};
72 void setPreviewSize(
const int value);
74 bool getDetailedStatus()
const {
return m_detailedStatus;};
75 void setDetailedStatus(
const bool value);
79 virtual QSize sizeHint()
const;
87 bool m_detailedStatus;
90 QString m_colorBarName;
91 QVector<ito::uint32> m_colorTable;