[Interest] QPointF in QMouseEvent

Brad Pepers bpepers at me.com
Mon Sep 21 03:50:44 CEST 2015


I was wondering if anyone knows why QMouseEvent::pos() returns a QPoint but QMouseEvent::localPos() returns a QPointF.  When do you ever have fractional pixels?  When would pos() and localPos() be different?

--
Brad

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.qt-project.org/pipermail/interest/attachments/20150921/521cc3e6/attachment.html>


More information about the Interest mailing list