Mercurial > hg > svgui
comparison layer/SliceLayer.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 | 2f83b6e3b8ca |
comparison
equal
deleted
inserted
replaced
319:2a50c1ecc990 | 320:984c1975f1ff |
---|---|
64 | 64 |
65 if (m_sliceableModel == sliceable) return; | 65 if (m_sliceableModel == sliceable) return; |
66 | 66 |
67 m_sliceableModel = sliceable; | 67 m_sliceableModel = sliceable; |
68 | 68 |
69 connect(m_sliceableModel, SIGNAL(modelChanged()), | 69 connectSignals(m_sliceableModel); |
70 this, SIGNAL(modelChanged())); | |
71 | |
72 connect(m_sliceableModel, SIGNAL(modelChanged(size_t, size_t)), | |
73 this, SIGNAL(modelChanged(size_t, size_t))); | |
74 | |
75 connect(m_sliceableModel, SIGNAL(completionChanged()), | |
76 this, SIGNAL(modelCompletionChanged())); | |
77 | 70 |
78 emit modelReplaced(); | 71 emit modelReplaced(); |
79 } | 72 } |
80 | 73 |
81 void | 74 void |