Mercurial > hg > svgui
comparison layer/SpectrogramLayer.cpp @ 320:984c1975f1ff
* Some tidying up to handling of alignment; add alignment status label to
pane; ensure alignment when dragging with mouse as well as when playing
author | Chris Cannam |
---|---|
date | Thu, 25 Oct 2007 14:32:23 +0000 |
parents | c0b9eec70639 |
children | 4f4f38a11cd2 |
comparison
equal
deleted
inserted
replaced
319:2a50c1ecc990 | 320:984c1975f1ff |
---|---|
125 m_model = model; | 125 m_model = model; |
126 invalidateFFTModels(); | 126 invalidateFFTModels(); |
127 | 127 |
128 if (!m_model || !m_model->isOK()) return; | 128 if (!m_model || !m_model->isOK()) return; |
129 | 129 |
130 connect(m_model, SIGNAL(modelChanged()), this, SIGNAL(modelChanged())); | 130 connectSignals(m_model); |
131 connect(m_model, SIGNAL(modelChanged(size_t, size_t)), | |
132 this, SIGNAL(modelChanged(size_t, size_t))); | |
133 | |
134 connect(m_model, SIGNAL(completionChanged()), | |
135 this, SIGNAL(modelCompletionChanged())); | |
136 | 131 |
137 connect(m_model, SIGNAL(modelChanged()), this, SLOT(cacheInvalid())); | 132 connect(m_model, SIGNAL(modelChanged()), this, SLOT(cacheInvalid())); |
138 connect(m_model, SIGNAL(modelChanged(size_t, size_t)), | 133 connect(m_model, SIGNAL(modelChanged(size_t, size_t)), |
139 this, SLOT(cacheInvalid(size_t, size_t))); | 134 this, SLOT(cacheInvalid(size_t, size_t))); |
140 | 135 |