void KoPACanvas::mousePressEvent( QMouseEvent *event ) { koPAView()->viewMode()->mousePressEvent(event, viewConverter()->viewToDocument(widgetToView(event->pos() + documentOffset()))); if(!event->isAccepted() && event->button() == Qt::RightButton) { showContextMenu( event->globalPos(), toolProxy()->popupActionList() ); } event->setAccepted( true ); }
void KoPACanvas::wheelEvent ( QWheelEvent * event ) { koPAView()->viewMode()->wheelEvent( event, viewConverter()->viewToDocument(widgetToView(event->pos() + documentOffset()))); }
void KoPACanvas::mouseReleaseEvent( QMouseEvent *event ) { koPAView()->viewMode()->mouseReleaseEvent( event, viewConverter()->viewToDocument(widgetToView(event->pos() + documentOffset()))); }
void KChartCanvas::wheelEvent( QWheelEvent *e ) { m_toolProxy->wheelEvent( e, m_view->viewConverter()->viewToDocument( widgetToView( e->pos() + m_documentOffset ) ) ); update(); }
void KChartCanvas::tabletEvent( QTabletEvent *e ) { m_toolProxy->tabletEvent( e, m_view->viewConverter()->viewToDocument( widgetToView( e->pos() + m_documentOffset ) ) ); }
void KChartCanvas::mouseDoubleClickEvent( QMouseEvent *e ) { m_toolProxy->mouseDoubleClickEvent( e, m_view->viewConverter()->viewToDocument( widgetToView( e->pos() + m_documentOffset ) ) ); update(); }
void KChartCanvas::mouseReleaseEvent( QMouseEvent *e ) { m_toolProxy->mouseReleaseEvent( e, m_view->viewConverter()->viewToDocument( widgetToView( e->pos() ) ) ); }