Labs

Hands on QGraphicsScene’s index

Published Monday December 18th, 2006 | 3 Comments on Hands on QGraphicsScene’s index
Posted in Graphics Items, Graphics View, KDE, Labs, Qt, Qtopia

Some people have asked if they can have more explicit control over how QGraphicsScene’s index works. If you’ve got concrete suggestions, please post comments to this post, or send us an email, or post a suggestion through our public feedback form. Some suggestions we’ve got so far are: setting the depth of the tree, forcing […]

Read More

Interact with volatile graphics items

Published Friday December 15th, 2006 | 2 Comments on Interact with volatile graphics items
Posted in Graphics Items, Graphics View, KDE, Labs, Qt

I hacked together some code today for interacting with a QGraphicsItem while its transformation changes. The problem? QGraphicsItem’s events are always delivered in local coordinates, and operations in response to such events that change item’s transformation (scale it, or move it, or shear it) will leave its local coordinates intact, but might change its relative […]

Read More

Zoom-and-rotate on mouseover effect in Graphics View

Published Thursday November 30th, 2006 | 3 Comments on Zoom-and-rotate on mouseover effect in Graphics View
Posted in Graphics Items, Graphics View, Labs, Qt

Have you seen flash-interfaces with controls that grow and twist when you move your mouse over them? Here’s how to do that in Graphics View. I was so surprised at how easy it was that I thought I’d share it. Here’s a screenshot, just so you know what I’m talking about: I’ll do this in […]

Read More

Graphics View Gem: Item Obscurity

Published Thursday September 14th, 2006 | Comments Off on Graphics View Gem: Item Obscurity
Posted in Graphics Items, Graphics View, KDE, Labs, Qt

During this summer of pre-4.2 testing, we got many feature requests from you all, customers and Open Source’rs, and I’d like to pull out one of the things we decided to implement as a result of this. Item obscurity: being able to determine whether an item is obscured, or not. The idea is that any […]

Read More

4 million items, is it really possible?

Published Wednesday August 30th, 2006 | 1 Comment on 4 million items, is it really possible?
Posted in Graphics Items, Graphics View, KDE, Labs, Qt

Someone asked me if it was truly possible to do 4 million items in real time using Graphics View. I challenge you to see for yourselves. Download one of the latest snapshots for Qt 4.2 (one with the 40000 Chips demo in it) – and apply this patch to increase the number of items. It’s […]

Read More

Maybe it’s just too simple

Published Saturday August 26th, 2006 | Comments Off on Maybe it’s just too simple
Posted in Graphics Items, Graphics View, KDE, Labs, Qt

I’ve did some web crawling on Graphics View [keywords graphicsview, qgraphicsview, qgraphicsscene, “graphics view”…], trying to get a feel for what projects out there are poking into Qt 4.2’s snapshots, and starting to use our favorite canvas framework for real-life apps. I was positively surprised. Try it out :-). People are discussing the frame work […]

Read More
Get started today with Qt Download now