- Announcing the release of QGIS 1.5 'Tethys'
- Quantum GIS on steroids
- Annotation tools
- Announcing the release of QGIS 1.4.0 'Enceladus'
- Carson Farmer's report back on the Vienna Hackfest
- Vienna Hackfest 2009 Report Back
- Introducing the QGIS Hackfest (Vienna 2009) crew
- Announcing the release of QGIS 1.3.0 'Mimas'
- Announcing the releases of QGIS 1.0.2 (stable) and QGIS 1.1.0 'Pan' (unstable).
- Summer of Code project: Label placement
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.)
| Attachment | Size |
|---|---|
| qgis-qt5.png | 39.08 KB |
- Brendan Morley's blog
- Login or register to post comments
- 6976 reads

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?