comparison layer/WaveformLayer.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 1f67b110c1a3
comparison
equal deleted inserted replaced
319:2a50c1ecc990 320:984c1975f1ff
74 74
75 m_model = model; 75 m_model = model;
76 m_cacheValid = false; 76 m_cacheValid = false;
77 if (!m_model || !m_model->isOK()) return; 77 if (!m_model || !m_model->isOK()) return;
78 78
79 connect(m_model, SIGNAL(modelChanged()), this, SIGNAL(modelChanged())); 79 connectSignals(m_model);
80 connect(m_model, SIGNAL(modelChanged(size_t, size_t)),
81 this, SIGNAL(modelChanged(size_t, size_t)));
82
83 connect(m_model, SIGNAL(completionChanged()),
84 this, SIGNAL(modelCompletionChanged()));
85
86 connect(model, SIGNAL(alignmentCompletionChanged()),
87 this, SIGNAL(modelCompletionChanged()));
88 80
89 emit modelReplaced(); 81 emit modelReplaced();
90 82
91 if (channelsChanged) emit layerParametersChanged(); 83 if (channelsChanged) emit layerParametersChanged();
92 } 84 }