[kgraphviewer-devel] extragear/graphics/kgraphviewer/src/part

Sandro Andrade sandro.andrade at gmail.com
Thu Jun 17 01:12:21 CEST 2010


SVN commit 1138845 by sandroandrade:

Enabling edges hover events.


 M  +2 -0      canvasedge.cpp  


--- trunk/extragear/graphics/kgraphviewer/src/part/canvasedge.cpp #1138844:1138845
@@ -81,6 +81,8 @@
   
   connect(this, SIGNAL(edgeContextMenuEvent(const QString&, const QPoint&)), view, SLOT(slotContextMenuEvent(const QString&, const QPoint&)));
 
+  setAcceptHoverEvents ( true );
+
   kDebug() << "connect slotElementHoverEnter";
   connect(this, SIGNAL(hoverEnter(CanvasEdge*)), view, SLOT(slotElementHoverEnter(CanvasEdge*)));
   connect(this, SIGNAL(hoverLeave(CanvasEdge*)), view, SLOT(slotElementHoverLeave(CanvasEdge*)));


More information about the kgraphviewer-devel mailing list