Mercurial > hg > svgui
comparison layer/TimeValueLayer.cpp @ 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 | 0990b95140e3 |
| children | 1341e95eeae9 |
comparison
equal
deleted
inserted
replaced
| 493:4afdcecbd62e | 494:b3140e9e0665 |
|---|---|
| 66 | 66 |
| 67 connectSignals(m_model); | 67 connectSignals(m_model); |
| 68 | 68 |
| 69 m_scaleMinimum = 0; | 69 m_scaleMinimum = 0; |
| 70 m_scaleMaximum = 0; | 70 m_scaleMaximum = 0; |
| 71 | |
| 72 if (m_model && m_model->getRDFTypeURI().endsWith("Segment")) { | |
| 73 setPlotStyle(PlotSegmentation); | |
| 74 } | |
| 75 if (m_model && m_model->getRDFTypeURI().endsWith("Change")) { | |
| 76 setPlotStyle(PlotSegmentation); | |
| 77 } | |
| 71 | 78 |
| 72 // std::cerr << "TimeValueLayer::setModel(" << model << ")" << std::endl; | 79 // std::cerr << "TimeValueLayer::setModel(" << model << ")" << std::endl; |
| 73 | 80 |
| 74 emit modelReplaced(); | 81 emit modelReplaced(); |
| 75 } | 82 } |
