comparison src/Analyser.cpp @ 131:eae80729b665

Add a selection strip at the bottom, and remove the time ruler from the main pane
author Chris Cannam
date Thu, 09 Jan 2014 16:42:14 +0000
parents 55fac28b9193
children 2abff42be385
comparison
equal deleted inserted replaced
130:55fac28b9193 131:eae80729b665
71 71
72 // We need at least one main-model layer (time ruler, waveform or 72 // We need at least one main-model layer (time ruler, waveform or
73 // what have you). It could be hidden if we don't want to see it 73 // what have you). It could be hidden if we don't want to see it
74 // but it must exist. 74 // but it must exist.
75 75
76 m_document->addLayerToView 76 // Our waveform layer is just a shadow, light grey and taking up
77 (m_pane, m_document->createMainModelLayer(LayerFactory::TimeRuler));
78
79 // This waveform layer is just a shadow, light grey and taking up
80 // little space at the bottom 77 // little space at the bottom
81 78
82 WaveformLayer *waveform = qobject_cast<WaveformLayer *> 79 WaveformLayer *waveform = qobject_cast<WaveformLayer *>
83 (m_document->createMainModelLayer(LayerFactory::Waveform)); 80 (m_document->createMainModelLayer(LayerFactory::Waveform));
84 81