src/hbwidgets/sliders/hbsliderhandle.cpp
changeset 6 c3690ec91ef8
parent 3 11d3954df52a
child 7 923ff622b8b9
equal deleted inserted replaced
5:627c4a0fd0e7 6:c3690ec91ef8
   186            
   186            
   187     }
   187     }
   188 }
   188 }
   189 bool HbSliderHandle::sceneEventFilter(QGraphicsItem *obj,QEvent *event)
   189 bool HbSliderHandle::sceneEventFilter(QGraphicsItem *obj,QEvent *event)
   190 {
   190 {
   191     //TODO: touch area doesnt work with the current filtering mechanism. find better solution
   191     //TODO: touch area does not work with the current filtering mechanism. find better solution
   192 	if( obj == mHandleItem) {
   192 	if( obj == mHandleItem) {
   193 		if(event->type() == QEvent::GraphicsSceneMouseMove){
   193 		if(event->type() == QEvent::GraphicsSceneMouseMove){
   194 			mouseMoveEvent ( (QGraphicsSceneMouseEvent *) event ) ;
   194 			mouseMoveEvent ( (QGraphicsSceneMouseEvent *) event ) ;
   195 			return true;
   195 			return true;
   196 		}
   196 		}