void CustomPlotRegression::mousePressEvent( QMouseEvent* event ) { //qDebug() << Q_FUNC_INFO; if(event->button() == Qt::RightButton) { contextMenuRequest(event->pos()); // QRect rec = QApplication::desktop()->screenGeometry(); // int height = rec.height(); // int width = rec.width(); // //TODO controllare geometrie // std::cout << height << std::endl; // std::cout << width << std::endl; // std::cout << event->pos().rx() << std::endl; // std::cout << event->pos().ry() << std::endl; // std::cout << event->pos().x() << std::endl; // std::cout << event->pos().y() << std::endl; //std::cout << event->pos() << std::endl; }else routeMouseEvents( event ); }
void qmlPlotPaintedItem::mouseDoubleClickEvent(QMouseEvent* event) { routeMouseEvents(event); }
void qmlPlotPaintedItem::mouseMoveEvent(QMouseEvent* event) { routeMouseEvents(event); }
/*! \brief the mouse double click event \param event the event */ void QtYARPScope::mouseDoubleClickEvent( QMouseEvent* event ) { routeMouseEvents( event ); }
/*! \brief the mouse move event \param event the event */ void QtYARPScope::mouseMoveEvent( QMouseEvent* event ) { routeMouseEvents( event ); }
/*! \brief the wheel mouse event \param event the event */ void QtYARPScope::wheelEvent(QWheelEvent* event) { routeMouseEvents( event ); }
void CustomPlotRegression::mouseDoubleClickEvent( QMouseEvent* event ) { //qDebug() << Q_FUNC_INFO; routeMouseEvents( event ); }
void CustomPlotRegression::mouseMoveEvent( QMouseEvent* event ) { routeMouseEvents( event ); }