A Style for Vista

Published Monday December 18th, 2006
7 Comments on A Style for Vista
Posted in Qt

Qt applications have been using the Windows theme API to draw it’s widgets since the Qt 3 series. This is why existing Qt applications already fit very well into the Windows Vista desktop.

Yet, there have been quite a few cosmetic changes to standard controls on Vista and many widgets are now fully animated, including state transitions, pulsating default buttons and progressbars. To address these changes, we will introduce QWindowsVistaStyle in Qt 4.3.

It will be made available in the public snapshots tonight so that our users can start to experiment with it.

Here are a few examples:

WindowsVistaStyle example 1

This is how Designer looks:

WindowsVistaStyle example 2

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

Posted in Qt


Ankur says:

This so totally rocks …. The Trolls Rule …

Alexander K. says:

This is nice. I’ve been waiting for a comment on Qt and Vista for quite a time now.
However, Vista introduces some customized (yet new) controls. For example the new “Command Links” ( http://msdn.microsoft.com/msdnmag/issues/06/07/BeyondWinFX/fig05b.gif ) which is basically just a large AutoRaised ToolButton, but still it’s kind of new. Another example are the new Wizards ( http://msdn.microsoft.com/msdnmag/issues/06/07/BeyondWinFX/fig07.gif – note the Back/Forward buttons are within the window frame and the window background isn’t just plain gray, it’s rather white) or the new Task Dialogs ( http://msdn.microsoft.com/msdnmag/issues/06/07/BeyondWinFX/fig13.gif ).
I just wanted to name some of those new Vista features to help improve TT’s superb framework. If TT will (hopefully) introduce these new features, how will they provide Linux compatibily? (I actually don’t care that much since I use Qt for Windows purposes only ๐Ÿ˜‰ )
Anyway, my mentioned changes can be followed up here: http://msdn.microsoft.com/msdnmag/issues/06/07/BeyondWinFX/default.aspx

jbache says:

Rest assured we are fully aware of these features and that we are currently evaluating them for inclusion in Qt. As you pointed out, the cross platform issue is a major concern to us, so don’t expect to see a QWindowsVistaAeroWizard class inside our libraries any time soon. However, we do plan on introducing a new QWizard class in 4.3, and among the planned features is full support for those distinctive navigation buttons within the aero glass window frame, ensuring that it will look completely native while running on Vista.

Andy Brice says:

‘Look and feel’ is very important for selling shrinkwrap software. So I am really pleased that Vista look and feel is being supported. This is another good reason to switch from Qt3 -> Qt4, which I will be doing soon.

Are you supporting the new Vista open/save and task dialogs? It won’t look like a proper Vista app without them.

This sort of blue gradient look is becoming increasingly common:
I am not sure exactly where it comes from (Office 2007?) but it would be nice to have that as an optional skin. Maybe pass it a QColor as the base colour and have it change dynamically? E.g. it goes darker red the longer you have been without saving your file ;0)

Andy Brice says:

That URL is broken. I meant the ‘SmartLayout sample’ on this page:

jbache says:

Hi Andy.

Actually, the image you are referring to is based on Office 2003. I blogged about supporting this style back in October, so you might be interested in reading about it here:


It is still not decided exactly how and when it will be released though. I guess as long as the default is based on the current color theme, it would be possible to support user defined colors as well.

jbache says:

>Are you supporting the new Vista open/save and task dialogs?
>It won’t look like a proper Vista app without them.

Since we are using native file dialogs on Windows by default, the save/open dialogs will be exactly the same dialog you would see in other Vista applications.

Commenting closed.

Get started today with Qt Download now