How to rotate GraphicsView with absolute value
Unsolved
Qt for Python
-
Hello
Sorry about my (bad) English (german :-)
i want to plot geographic waypoints in a GraphicsView, this works.
the view is cyclic re paint every 5 sec.
i have an electronic compass input value (0-359 degrees).
i want to rotate the view with the compass, with the absolute value.
i have only found to rotate +/- relativ, not absolut.
so when the compass value is fix and i use the "relativ" command below, then the view turn by every replot.
is there an absolute command/function for this? or how i can do that?self.ui.mainGphViewMap.rotate(self.compass)