Mercurial > hg > svgui
comparison layer/FlexiNoteLayer.cpp @ 785:488add397d34 tonioni
added vertical strip stripes to beginning and end of illuminated note
author | matthiasm |
---|---|
date | Wed, 11 Jun 2014 21:43:38 +0100 |
parents | 3a52b458fcd5 |
children | 0ba792bb235b |
comparison
equal
deleted
inserted
replaced
784:3a52b458fcd5 | 785:488add397d34 |
---|---|
1473 if (closeToRight) { v->setCursor(Qt::SizeHorCursor); m_editMode = RightBoundary; return; } | 1473 if (closeToRight) { v->setCursor(Qt::SizeHorCursor); m_editMode = RightBoundary; return; } |
1474 if (closeToTop) { v->setCursor(Qt::CrossCursor); m_editMode = DragNote; return; } | 1474 if (closeToTop) { v->setCursor(Qt::CrossCursor); m_editMode = DragNote; return; } |
1475 if (closeToBottom) { v->setCursor(Qt::UpArrowCursor); m_editMode = SplitNote; return; } | 1475 if (closeToBottom) { v->setCursor(Qt::UpArrowCursor); m_editMode = SplitNote; return; } |
1476 | 1476 |
1477 v->setCursor(Qt::ArrowCursor); | 1477 v->setCursor(Qt::ArrowCursor); |
1478 | |
1479 // QPainter paint; | |
1480 // paint.begin(m_pan); | |
1481 // QRect r(rect()); | |
1482 // paint(v, paint, r); | |
1483 // paint.end(this); | |
1484 | 1478 |
1485 std::cerr << "Mouse moved in edit mode over FlexiNoteLayer" << std::endl; | 1479 std::cerr << "Mouse moved in edit mode over FlexiNoteLayer" << std::endl; |
1486 // v->setCursor(Qt::SizeHorCursor); | 1480 // v->setCursor(Qt::SizeHorCursor); |
1487 | 1481 |
1488 } | 1482 } |