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