Mercurial > hg > svgui
diff layer/Layer.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 |
line wrap: on
line diff
--- a/layer/Layer.cpp Mon Oct 22 14:24:31 2007 +0000 +++ b/layer/Layer.cpp Thu Oct 25 14:32:23 2007 +0000 @@ -40,6 +40,22 @@ // std::cerr << "Layer::~Layer(" << this << ")" << std::endl; } +void +Layer::connectSignals(const Model *model) +{ + connect(model, SIGNAL(modelChanged()), + this, SIGNAL(modelChanged())); + + connect(model, SIGNAL(modelChanged(size_t, size_t)), + this, SIGNAL(modelChanged(size_t, size_t))); + + connect(model, SIGNAL(completionChanged()), + this, SIGNAL(modelCompletionChanged())); + + connect(model, SIGNAL(alignmentCompletionChanged()), + this, SIGNAL(modelAlignmentCompletionChanged())); +} + QString Layer::getPropertyContainerIconName() const {