Because I want to test TouchPad of laptop, then I should forbid the Mouse device. But I don't know how to forbid Mouse in Qt 4.8.6. Could you help me? Thank you.
Asked
Active
Viewed 38 times
1 Answers
0
You could probably reimplement the QWidget
event handlers:
QWidget::mousePressEvent()
QWidget::mouseReleaseEvent()
QWidget::mouseDoubleClickEvent()
QWidget::mouseMoveEvent()
and simply return from all of them.

Bowdzone
- 3,827
- 11
- 39
- 52