Resolution independent UIs

Published Friday March 16th, 2007
4 Comments on Resolution independent UIs
Posted in Graphics View, Labs, Qt

After my last Graphics View blog about Widgets on the Canvas, people have been contacting me and telling how much they really really want true widgets on the canvas, with full transformations support. Resolution independent user interfaces, now that’s something very many drool over, especially the idea of not having to worry about pixel sizes relative to the size of the desktop. The KDE Plasma project is also very inspiring.

I don’t have any code or screenshots to show this time, but I wanted to let everyone know that we’re investigating all viable options. It’s very very exciting. Maybe I’ll have something to show off in not too long time. Most of my time is spent researching this topic right now. I hope to be able to point back at this blog after we have full widgets-on-the-canvas support in Qt 4, and say… “This is what we were working on back then!” :-).

Graphics View has so many applications, it’s amazing what people use it for.

And I have made up my mind.

When I grow old, I want to live in a Graphics View house and drink Graphics View coffee.

Do you like this? Share it
Share on LinkedInGoogle+Share on FacebookTweet about this on Twitter

Posted in Graphics View, Labs, Qt

4 comments

Jason says:

Its good, but at least the 4.2 version doesn’t have a way to get the instant mouse position without a hover event.

I tried to write an Item that scaled according to the physical proximity to an internal bounding box (or icon center) (hint: think OSX dock bar). As you move to the center it scales larger, as you move out is scales back down. It doesn’t achieve the required level of smoothness with hover events.

manyoso says:

This would be incredible. I can’t imagine you guys could pull this off for 4.x… I figured this would be the order of the day for Qt 5.x series. Think this would be a big bombshell if you pull it off.

pfo says:

Qt widgets are already painted by QPainter, a resolution independent UI doesn’t seem that far away. What’s the main hurdle here on your side?

Andreas says:

Jason: [OT] Graphics Item are like QWidgets in this respect. If you want to monitor hover events generally, outside your item, you can either accept hover events for its parent item, or just install an event filter for the scene. Just like you would do with widgets; you can’t track mouse events outside your widget.

manyoso: We don’t need Qt 5 to do this, although it’s unlikely that anything we did would automatically make QWidget resolution independent. It’s likely that we’d have to come up with another base item for controls, perhaps using Graphics View.

pfo: The biggest hurdle? Whooh, I don’t know where to start. If I was to come up with one big hurdle, I think it would be: making it happen.

Commenting closed.

Get started today with Qt Download now