Bleeding Edge: Fun with the Qt 4.2 Graphics View Framework

Hi, my name is Brendan. This is my first blog post.

QGIS developers might remember me from my work on the WMS provider and the vertex editing functionality around the middle of 2006. Then I dropped out for a while.

Well, Easter afforded me a little spare time to revisit the QGIS code base. I noticed that so I started having a go at turning the Qt 4.2 Graphics View framework into a first class provider of map rendering to QGIS.

Let's face it, I wanted to get tool tips working on map items. I think it'd be pretty cool.

At the moment, I've only made the changes to my personal code base. However, I wanted to whet your appetites. The attached file shows an example screenshot with a working tool tip!

There's a lot to go, including getting the rasters to line up properly inside QGraphicsPixmapItems. Let me know if you want to see the changes so far, or want to collaborate.

Thanks to Martin Dobias for his revision 6415/MapCanvas coding for providing the base upon which my code stands.

(Submission of these changes to subversion will pend negotiation with the project maintainers, as to whether to upload to the subversion trunk/head or a branch.)

AttachmentSize
qgis-qt5.png39.08 KB

QGraphicsView

Brendan

could you share the class you derived from QGraphicsView you used to sender MapView

Thanks

tooltips & labels

Hi Brendan.
The shot is cool! Could this be related to improving the (currently poor) labelling facilities of qgis? I believe the lack of it is a major drawback of qgis in professional settings.
Thanks.
pcav

hit svn?

any news about this nice feature landing on svn?