Hello,
some time ago i have written a Qt3 app. This was one of my first application with more than a few lines of code. Now i want to take the opportunity and rewrite the app with Qt4 so that i can get into Qt4 and hopefully create better code than i did in the Qt3 version.
The crucial part is the "plotter". I have write it with Qt3 from scratch (derived from QWidget, drawing with QPainter). Here is what it does:
- It creates a coordinate system
- axes can be switched between linear, log and log2 scaling
- zoom in/out
- loads some points from a file
- placed them on the coordinate system and connect them (so that i get a curve)
- draw lines between two points
- move the points on the grid so that the data record for the point get new coordinates
- print it
Now the question is how i should do this with Qt4?
Should i do it like i did with Qt3? Should i use the new Arthur framework (are there some examples available)? Or do you know another way?
What would you recommend to archive the best results?
Thanks!
Bookmarks