Mercurial > hg > svgui
comparison layer/ImageLayer.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 | e9fe3923bdf4 |
| children | 07aa52466142 |
comparison
equal
deleted
inserted
replaced
| 319:2a50c1ecc990 | 320:984c1975f1ff |
|---|---|
| 62 ImageLayer::setModel(ImageModel *model) | 62 ImageLayer::setModel(ImageModel *model) |
| 63 { | 63 { |
| 64 if (m_model == model) return; | 64 if (m_model == model) return; |
| 65 m_model = model; | 65 m_model = model; |
| 66 | 66 |
| 67 connect(m_model, SIGNAL(modelChanged()), | 67 connectSignals(m_model); |
| 68 this, SIGNAL(modelChanged())); | |
| 69 connect(m_model, SIGNAL(modelChanged(size_t, size_t)), | |
| 70 this, SIGNAL(modelChanged(size_t, size_t))); | |
| 71 | |
| 72 connect(m_model, SIGNAL(completionChanged()), | |
| 73 this, SIGNAL(modelCompletionChanged())); | |
| 74 | |
| 75 // connect(m_model, SIGNAL(modelChanged()), | |
| 76 // this, SLOT(checkAddRemotes())); | |
| 77 | |
| 78 // std::cerr << "ImageLayer::setModel(" << model << ")" << std::endl; | |
| 79 | |
| 80 // checkAddRemotes(); | |
| 81 | 68 |
| 82 emit modelReplaced(); | 69 emit modelReplaced(); |
| 83 } | 70 } |
| 84 | 71 |
| 85 Layer::PropertyList | 72 Layer::PropertyList |
