comparison data/model/WritableWaveFileModel.cpp @ 288:7b96b3bd4bae

* Fix #1757772 tempo, dynamic related plug-ins bug -- make auto-align only auto-align if there is a unit involved * Fix #1755366 text layer bug in retrieved session * Fix input model selection in plugin parameter dialog (was being ignored) * Use lighter background than the standard widget one for panes (assuming the widget background is light but not white) -- similarly darker if dark * Fix colour reference counting in loaded session in SingleColourLayer * Reset overview pane colour when switching dark background on or off
author Chris Cannam
date Tue, 14 Aug 2007 13:58:53 +0000
parents 20028c634494
children 92e8dbde73cd
comparison
equal deleted inserted replaced
287:557e00480279 288:7b96b3bd4bae
209 (out, indent, 209 (out, indent,
210 QString("type=\"writablewavefile\" file=\"%1\" channels=\"%2\" %3") 210 QString("type=\"writablewavefile\" file=\"%1\" channels=\"%2\" %3")
211 .arg(m_writer->getPath()).arg(m_model->getChannelCount()).arg(extraAttributes)); 211 .arg(m_writer->getPath()).arg(m_model->getChannelCount()).arg(extraAttributes));
212 } 212 }
213 213
214 QString
215 WritableWaveFileModel::toXmlString(QString indent,
216 QString extraAttributes) const
217 {
218 // As above.
219
220 return Model::toXmlString
221 (indent,
222 QString("type=\"writablewavefile\" file=\"%1\" channels=\"%2\" %3")
223 .arg(m_writer->getPath()).arg(m_model->getChannelCount()).arg(extraAttributes));
224 }
225