Mercurial > hg > svgui
comparison layer/NoteLayer.cpp @ 626:7256926d3af1 tonioni
cleanup
author | gyorgyf |
---|---|
date | Sat, 13 Apr 2013 15:36:54 +0100 |
parents | 1336439dc055 |
children | 123ebecd12e6 |
comparison
equal
deleted
inserted
replaced
625:1336439dc055 | 626:7256926d3af1 |
---|---|
52 SVDEBUG << "constructed NoteLayer" << endl; | 52 SVDEBUG << "constructed NoteLayer" << endl; |
53 } | 53 } |
54 | 54 |
55 void | 55 void |
56 NoteLayer::setModel(NoteModel *model) | 56 NoteLayer::setModel(NoteModel *model) |
57 { | 57 { |
58 std::cerr << "NOTE: called NoteLayer::setModel" << std::endl; //delete this!! | |
59 | |
60 if (m_model == model) return; | 58 if (m_model == model) return; |
61 m_model = model; | 59 m_model = model; |
62 | 60 |
63 connectSignals(m_model); | 61 connectSignals(m_model); |
64 | 62 |
65 // SVDEBUG << "NoteLayer::setModel(" << model << ")" << endl; | 63 // SVDEBUG << "NoteLayer::setModel(" << model << ")" << endl; |
66 | 64 |
67 m_scaleMinimum = 0; | 65 m_scaleMinimum = 0; |
68 m_scaleMaximum = 0; | 66 m_scaleMaximum = 0; |
69 | |
70 std::cerr << "NOTE: NoteLayer::NoteModel set" << std::endl; //delete this!! | |
71 | 67 |
72 emit modelReplaced(); | 68 emit modelReplaced(); |
73 } | 69 } |
74 | 70 |
75 Layer::PropertyList | 71 Layer::PropertyList |