Mercurial > hg > sonic-visualiser
comparison document/SVFileReader.h @ 173:102317ae3970
* Better abbreviation modes for layer names in pane (and input model combo
of plugin parameter dialog)
* Avoid crash when loading SV file containing model derived from nonexistent
model (shouldn't happen of course, but see bug #1771769)
* Remember last-used input model in plugin parameter dialog
* Don't override a layer colour loaded from a session file with the generated
default colour when attaching it to a view
author | Chris Cannam |
---|---|
date | Fri, 10 Aug 2007 16:36:50 +0000 |
parents | f6ce5febc07f |
children |
comparison
equal
deleted
inserted
replaced
172:c1980ed39d2e | 173:102317ae3970 |
---|---|
196 bool readPlayParameters(const QXmlAttributes &); | 196 bool readPlayParameters(const QXmlAttributes &); |
197 bool readPlugin(const QXmlAttributes &); | 197 bool readPlugin(const QXmlAttributes &); |
198 bool readSelection(const QXmlAttributes &); | 198 bool readSelection(const QXmlAttributes &); |
199 bool readMeasurement(const QXmlAttributes &); | 199 bool readMeasurement(const QXmlAttributes &); |
200 void addUnaddedModels(); | 200 void addUnaddedModels(); |
201 | |
202 bool haveModel(int id) { | |
203 return (m_models.find(id) != m_models.end()) && m_models[id]; | |
204 } | |
201 | 205 |
202 Document *m_document; | 206 Document *m_document; |
203 SVFileReaderPaneCallback &m_paneCallback; | 207 SVFileReaderPaneCallback &m_paneCallback; |
204 QString m_location; | 208 QString m_location; |
205 Pane *m_currentPane; | 209 Pane *m_currentPane; |