giovedì 20 gennaio 2011

After BETA6

AS you know beta6 is out.
Doing some testing i found out a couple of nasty situations where the WaitDialog will get into a loop reloading itself, which is NOT good. So today i rewrote some of that code, improving also a bit the speed, and added a couple of nice things that crossed my mind.

Like, now, you can import IMP (CompeGPS/TwoNav) calibration files for maps and loading a map will automatically import any MAP or IMP file already existing if they have the same filename as the image file. Cool, uh?

Now back on tracks, i will keep working on the missing graphical goodies.

Update: after a lot of work i finally found out hot to print the waypoint name on the tracking table. Its simple.. how stupid i was! You just need to get the correct point to write it in screen coordinates:

  QPointF orig_pos = position * painter.combinedTransform();

Then you reset the painter transformation:

    painter.setTransform( QTransform(), false );

And, last, just print the text:

    painter.drawText( orig_pos + QPointF( 6.0, 6.0), name );

Update:

After a long struggle i decided to get rid of WaitDialog and do everything within WorkerProcess.. I hope, in this way, to be able to send the dialog full screen, as it seems i am not able to send WaitDialog full screen on the phone...

Nessun commento:

Posta un commento