Mercurial > hg > svgui
comparison view/View.cpp @ 269:7b58c5e91f20
* save/reload measurements in session
author | Chris Cannam |
---|---|
date | Tue, 26 Jun 2007 12:27:47 +0000 |
parents | 70537b0434c4 |
children | 61a704654497 |
comparison
equal
deleted
inserted
replaced
268:70537b0434c4 | 269:7b58c5e91f20 |
---|---|
1965 m_followPlay == PlaybackScrollPage ? "page" : "ignore") | 1965 m_followPlay == PlaybackScrollPage ? "page" : "ignore") |
1966 .arg(extraAttributes); | 1966 .arg(extraAttributes); |
1967 | 1967 |
1968 for (size_t i = 0; i < m_layers.size(); ++i) { | 1968 for (size_t i = 0; i < m_layers.size(); ++i) { |
1969 bool visible = !m_layers[i]->isLayerDormant(this); | 1969 bool visible = !m_layers[i]->isLayerDormant(this); |
1970 s += m_layers[i]->toXmlString(indent + " ", | 1970 s += m_layers[i]->toBriefXmlString(indent + " ", |
1971 QString("visible=\"%1\"") | 1971 QString("visible=\"%1\"") |
1972 .arg(visible ? "true" : "false")); | 1972 .arg(visible ? "true" : "false")); |
1973 } | 1973 } |
1974 | 1974 |
1975 s += indent + "</view>\n"; | 1975 s += indent + "</view>\n"; |
1976 | 1976 |
1977 return s; | 1977 return s; |