equal
deleted
inserted
replaced
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 } |