Mercurial > hg > svgui
comparison layer/FlexiNoteLayer.cpp @ 628:764a9452a71a tonioni
sample playback problems
| author | gyorgyf |
|---|---|
| date | Sat, 13 Apr 2013 20:03:40 +0100 |
| parents | 640c3792977f |
| children | 03d5f370c9a0 |
comparison
equal
deleted
inserted
replaced
| 627:640c3792977f | 628:764a9452a71a |
|---|---|
| 49 // m_verticalScale(AutoAlignScale), | 49 // m_verticalScale(AutoAlignScale), |
| 50 // m_scaleMinimum(0), | 50 // m_scaleMinimum(0), |
| 51 // m_scaleMaximum(0) | 51 // m_scaleMaximum(0) |
| 52 | 52 |
| 53 m_model(0), | 53 m_model(0), |
| 54 m_editing(true), | 54 m_editing(false), |
| 55 m_originalPoint(0, 0.0, 0, 1.f, tr("New Point")), | 55 m_originalPoint(0, 0.0, 0, 1.f, tr("New Point")), |
| 56 m_editingPoint(0, 0.0, 0, 1.f, tr("New Point")), | 56 m_editingPoint(0, 0.0, 0, 1.f, tr("New Point")), |
| 57 m_editingCommand(0), | 57 m_editingCommand(0), |
| 58 m_verticalScale(MIDIRangeScale), | 58 m_verticalScale(MIDIRangeScale), |
| 59 m_scaleMinimum(34), | 59 m_scaleMinimum(34), |
| 60 m_scaleMaximum(77) | 60 m_scaleMaximum(77) |
| 61 { | 61 { |
| 62 } | 62 } |
| 63 | 63 |
| 64 void | 64 void |
| 67 if (m_model == model) return; | 67 if (m_model == model) return; |
| 68 m_model = model; | 68 m_model = model; |
| 69 | 69 |
| 70 connectSignals(m_model); | 70 connectSignals(m_model); |
| 71 | 71 |
| 72 m_scaleMinimum = 0; | 72 // m_scaleMinimum = 0; |
| 73 m_scaleMaximum = 0; | 73 // m_scaleMaximum = 0; |
| 74 | 74 |
| 75 emit modelReplaced(); | 75 emit modelReplaced(); |
| 76 } | 76 } |
| 77 | 77 |
| 78 Layer::PropertyList | 78 Layer::PropertyList |
