Mercurial > hg > svgui
comparison 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 |
comparison
equal
deleted
inserted
replaced
319:2a50c1ecc990 | 320:984c1975f1ff |
---|---|
38 Layer::~Layer() | 38 Layer::~Layer() |
39 { | 39 { |
40 // std::cerr << "Layer::~Layer(" << this << ")" << std::endl; | 40 // std::cerr << "Layer::~Layer(" << this << ")" << std::endl; |
41 } | 41 } |
42 | 42 |
43 void | |
44 Layer::connectSignals(const Model *model) | |
45 { | |
46 connect(model, SIGNAL(modelChanged()), | |
47 this, SIGNAL(modelChanged())); | |
48 | |
49 connect(model, SIGNAL(modelChanged(size_t, size_t)), | |
50 this, SIGNAL(modelChanged(size_t, size_t))); | |
51 | |
52 connect(model, SIGNAL(completionChanged()), | |
53 this, SIGNAL(modelCompletionChanged())); | |
54 | |
55 connect(model, SIGNAL(alignmentCompletionChanged()), | |
56 this, SIGNAL(modelAlignmentCompletionChanged())); | |
57 } | |
58 | |
43 QString | 59 QString |
44 Layer::getPropertyContainerIconName() const | 60 Layer::getPropertyContainerIconName() const |
45 { | 61 { |
46 return LayerFactory::getInstance()->getLayerIconName | 62 return LayerFactory::getInstance()->getLayerIconName |
47 (LayerFactory::getInstance()->getLayerType(this)); | 63 (LayerFactory::getInstance()->getLayerType(this)); |