changeset 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 c58569bd952e
files layer/FlexiNoteLayer.cpp view/Pane.cpp view/View.cpp
diffstat 3 files changed, 3 insertions(+), 8 deletions(-) [+]
line wrap: on
line diff
--- a/layer/FlexiNoteLayer.cpp	Wed Jun 11 19:41:29 2014 +0100
+++ b/layer/FlexiNoteLayer.cpp	Wed Jun 11 21:43:38 2014 +0100
@@ -1476,12 +1476,6 @@
 
     v->setCursor(Qt::ArrowCursor);
 
-    // QPainter paint;
-    // paint.begin(m_pan);
-    // QRect r(rect());
-    // paint(v, paint, r); 
-    // paint.end(this);
-
     std::cerr << "Mouse moved in edit mode over FlexiNoteLayer" << std::endl;
     // v->setCursor(Qt::SizeHorCursor);
 
--- a/view/Pane.cpp	Wed Jun 11 19:41:29 2014 +0100
+++ b/view/Pane.cpp	Wed Jun 11 21:43:38 2014 +0100
@@ -1590,7 +1590,8 @@
             FlexiNoteLayer *layer = qobject_cast<FlexiNoteLayer *>(getTopFlexiNoteLayer());
             if (layer) {
                 layer->mouseMoveEvent(this, e); //!!! ew
-                return;
+                update();
+                // return;
             }
         }   
     
--- a/view/View.cpp	Wed Jun 11 19:41:29 2014 +0100
+++ b/view/View.cpp	Wed Jun 11 21:43:38 2014 +0100
@@ -1563,7 +1563,7 @@
 {
 //    Profiler prof("View::paintEvent", false);
 //    SVDEBUG << "View::paintEvent: centre frame is " << m_centreFrame << endl;
-    // cerr << "View::paintEvent: centre frame is " << m_centreFrame << endl;
+
     if (m_layers.empty()) {
 	QFrame::paintEvent(e);
 	return;