comparison layer/Colour3DPlotLayer.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 8f01867cc191 0895517bb2d1
comparison
equal deleted inserted replaced
319:2a50c1ecc990 320:984c1975f1ff
54 if (m_model == model) return; 54 if (m_model == model) return;
55 const DenseThreeDimensionalModel *oldModel = m_model; 55 const DenseThreeDimensionalModel *oldModel = m_model;
56 m_model = model; 56 m_model = model;
57 if (!m_model || !m_model->isOK()) return; 57 if (!m_model || !m_model->isOK()) return;
58 58
59 connect(m_model, SIGNAL(modelChanged()), this, SIGNAL(modelChanged())); 59 connectSignals(m_model);
60 connect(m_model, SIGNAL(modelChanged(size_t, size_t)),
61 this, SIGNAL(modelChanged(size_t, size_t)));
62
63 connect(m_model, SIGNAL(completionChanged()),
64 this, SIGNAL(modelCompletionChanged()));
65 60
66 connect(m_model, SIGNAL(modelChanged()), this, SLOT(cacheInvalid())); 61 connect(m_model, SIGNAL(modelChanged()), this, SLOT(cacheInvalid()));
67 connect(m_model, SIGNAL(modelChanged(size_t, size_t)), 62 connect(m_model, SIGNAL(modelChanged(size_t, size_t)),
68 this, SLOT(cacheInvalid(size_t, size_t))); 63 this, SLOT(cacheInvalid(size_t, size_t)));
69 64