Well, I didn't stop so easily on my enthusiasm of the morning. So I went on. I'll probably seem to repeat myself, but I won't ever say it enough:
QGraphicsScene
and others are simply fantastic ! I implemented today ticks and a grid for the plot using the neat trick of subclassing
QGraphicsView
and providing custom handlers for
drawBackground
and
drawForeground
- so easy ! As a result, the code for the new plotting system is way more elegant than the old one (and more compact, although file size doesn't show it as it is also significantly more documented). Once again, many thanks to developers at
Trolltech for their wonderful work !
No comments:
Post a Comment