[Interest] QPointF constructor from QPoint

Constantin Makshin cmakshin at gmail.com
Wed Sep 19 10:30:56 CEST 2012

QPointF::QPointF (const QPoint&)

Isn't that what you are asking for? If it is -- it's there.
On Sep 19, 2012 6:31 AM, "Shriramana Sharma" <samjnaa at gmail.com> wrote:

> Hello. I ran into this recently: Is there a reason that there is currently
> (4.8.1) no constructor for QPointF from QPoint? I can understand that
> QPointF should be explicitly converted to QPoint since it involves a loss
> of precision but just as integers are accepted everywhere that doubles are,
> it would be most useful (code less create more) if QPoint is accepted
> everywhere that QPointF is.
> Sent from my Android phone
> _______________________________________________
> Interest mailing list
> Interest at qt-project.org
> http://lists.qt-project.org/mailman/listinfo/interest
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.qt-project.org/pipermail/interest/attachments/20120919/bc7176a0/attachment.html>

More information about the Interest mailing list