[Kst] branches/work/kst/portto4/kst/src/libkstapp

Mike Fenton mike at staikos.net
Wed May 21 16:47:32 CEST 2008


SVN commit 810759 by fenton:

Update PlotRenderItem's hover to grab focus automatically to allow Keyboard control for mouse over items.


 M  +5 -0      plotrenderitem.cpp  


--- branches/work/kst/portto4/kst/src/libkstapp/plotrenderitem.cpp #810758:810759
@@ -441,6 +441,8 @@
     return;
   }
 
+  setFocus();
+
   updateCursor(event->pos());
 
   const QPointF p = plotItem()->mapToProjection(event->pos());
@@ -457,6 +459,9 @@
     return;
   }
 
+  clearFocus();
+  resetSelectionRect();
+
   updateCursor(event->pos());
 
   kstApp->mainWindow()->statusBar()->showMessage(QString());


More information about the Kst mailing list