[Qt-interest] QPainter/QGraphics with GPS Values

Gustavo B. Schenkel gustavo.schenkel at gmail.com
Wed Mar 3 21:43:03 CET 2010


Hi folks,

i am developing a little application to work like a gps car, but to other
ends.

I am a little confuse how i can create the area and assign the gps point.
I don't know yet if i need use QPainterPath or QGraphicScene/QGraphicItem or
both.

Above are the description what i need do:

I need insert 4 or more gps points in the screen, then i need paint a line
between points to see the area. After i got the area i need be able get my
actual position and the move around the painted area, like a gps car, and
the screen need change to my perspective.

For now i only wanna put the points in the screen.

e.g. point1(-29.683436 | -53.800570)
       point2(-29.683795 | -53.799620)
       point3(-29.684242 | -53.800749)
       point4(-29.684478 | -53.799623)

this points exist, and form a rectangle. If i use the QpainterPath how i can
insert this points? Since the start position is -29?

I don't have a clue to start this. Can anyone give me a help/trick?


--
Schenkel, Gustavo Brondani
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.qt-project.org/pipermail/qt-interest-old/attachments/20100303/51f456bd/attachment.html 


More information about the Qt-interest-old mailing list