Lines Matching full:touchpoint
504 QTouchEvent::TouchPoint touchPoint;
505 touchPoint.setState(Qt::TouchPointMoved);
508 touchPoint.setState(Qt::TouchPointPressed);
510 touchPoint.setState(Qt::TouchPointReleased);
512 touchPoint.setId(0);
513 touchPoint.setScreenPos(ev->globalPos());
514 touchPoint.setPos(ev->pos());
515 touchPoint.setPressure(1);
519 m_touchPoints[0] = touchPoint;
521 m_touchPoints[1] = touchPoint;
523 m_touchPoints.append(touchPoint);
539 QTouchEvent::TouchPoint touchPoint;
540 touchPoint.setState(Qt::TouchPointPressed);
541 touchPoint.setId(1);
542 touchPoint.setScreenPos(QCursor::pos());
543 touchPoint.setPos(m_view->mapFromGlobal(QCursor::pos()));
544 touchPoint.setPressure(1);
545 m_touchPoints.append(touchPoint);
548 // After sending the event, change the touchpoint state to stationary