|
|
|
@ -99,10 +99,15 @@ void UBGraphicsProxyWidget::mouseMoveEvent(QGraphicsSceneMouseEvent *event) |
|
|
|
|
void UBGraphicsProxyWidget::mouseReleaseEvent(QGraphicsSceneMouseEvent *event) |
|
|
|
|
{ |
|
|
|
|
mDelegate->mouseReleaseEvent(event); |
|
|
|
|
|
|
|
|
|
QGraphicsProxyWidget::mouseReleaseEvent(event); |
|
|
|
|
} |
|
|
|
|
|
|
|
|
|
void UBGraphicsProxyWidget::wheelEvent(QGraphicsSceneWheelEvent *event) |
|
|
|
|
{ |
|
|
|
|
if( mDelegate->weelEvent(event) ) |
|
|
|
|
QGraphicsProxyWidget::wheelEvent(event); |
|
|
|
|
} |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
void UBGraphicsProxyWidget::setDelegate(UBGraphicsItemDelegate* pDelegate) |
|
|
|
|
{ |
|
|
|
|