comparison layer/TimeInstantLayer.h @ 494:b3140e9e0665

* Some fairly simplistic code to set up layer type properties based on RDF data about feature types (both when running transforms and when importing features from RDF files).
author Chris Cannam
date Thu, 12 Feb 2009 15:26:43 +0000
parents e1a9e478b7f2
children 2e8194a30f40
comparison
equal deleted inserted replaced
493:4afdcecbd62e 494:b3140e9e0665
98 virtual void toXml(QTextStream &stream, QString indent = "", 98 virtual void toXml(QTextStream &stream, QString indent = "",
99 QString extraAttributes = "") const; 99 QString extraAttributes = "") const;
100 100
101 void setProperties(const QXmlAttributes &attributes); 101 void setProperties(const QXmlAttributes &attributes);
102 102
103 virtual ColourSignificance getLayerColourSignificance() const {
104 if (m_plotStyle == PlotSegmentation) {
105 return ColourHasMeaningfulValue;
106 } else {
107 return ColourDistinguishes;
108 }
109 }
110
103 protected: 111 protected:
104 SparseOneDimensionalModel::PointList getLocalPoints(View *v, int) const; 112 SparseOneDimensionalModel::PointList getLocalPoints(View *v, int) const;
105 113
106 virtual int getDefaultColourHint(bool dark, bool &impose); 114 virtual int getDefaultColourHint(bool dark, bool &impose);
107 115