comparison base/Selection.cpp @ 46:5364a9d338a2

* Add Insert Instant function in main window * Ensure selections and window geometry are saved in session file * Add wait cursor on session file save * Various improvements to display of texts in pane (clearer readability) * Use commands for setting properties on layers and panes (still need to batch up multiple sets on the same property) * Fix failure of spectrogram to refresh when initial part became visible * Some fixes & paint optimisations in View &c * Make curve mode for time value layers work properly when resolution == 1 * Some vague improvements for time value layer vertical scale
author Chris Cannam
date Thu, 16 Mar 2006 18:46:00 +0000
parents 935a2419a77c
children 39ae3dee27b9
comparison
equal deleted inserted replaced
45:b11edc8b8ea0 46:5364a9d338a2
184 } 184 }
185 } 185 }
186 186
187 return Selection(); 187 return Selection();
188 } 188 }
189
190 QString
191 MultiSelection::toXmlString(QString indent,
192 QString extraAttributes) const
193 {
194 QString s;
195 s += indent + QString("<selections %1>\n").arg(extraAttributes);
196 for (SelectionList::iterator i = m_selections.begin();
197 i != m_selections.end(); ++i) {
198 s += indent + QString(" <selection start=\"%1\" end=\"%2\"/>\n")
199 .arg(i->getStartFrame()).arg(i->getEndFrame());
200 }
201 s += indent + "</selections>\n";
202 return s;
203 }
204