Explorer style tool bars on Windows

Published Friday June 8th, 2007
8 Comments on Explorer style tool bars on Windows
Posted in Qt, Styles, Uncategorized

Seeing all the interest in the DotNet style makes it fairly obvious that you would like to have sexy tool bars with Qt. Today I implemented another popular style for tool bars on Windows: the Explorer style. The difference might not be all that obvious at first sight, but you will see a nice gradient shading across the tool bar and menu areas if you look closer. It is also entirely theme dependent.

Here is how it looks on XP:
explorer style

And here is how it looks on Vista:
explorer style

Get the files here : explorerstyle.zip

To try it out simply compile the style and run your application with “-style explorer” as command line arguments.

A few notes :
– left and right toolbar areas do not have gradients as the shading looked a bit weird in those areas
– It requires Qt 4.3.0 and will only work on Windows
– You can use it on both open source and commercial apps at your own risk

Enjoy πŸ˜‰

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

Posted in Qt, Styles, Uncategorized

8 comments

AlKu says:

Wow, thank you! I really appreciate what you’ve been doing lately with all the Windows Style perfections.
I can’t tell you how often I submitted suggestions for over 2 years regarding stuff like this (gradients in tool bars, fancy item view selections, etc.). Thanks!

miniak says:

Thank you VERY VERY much, this is exactly what I was thiking about ! πŸ™‚

sysedit says:

Thanks Jens !

WindowsClassicStylePerfections says:

> Windows Style perfections…

… and what about border of the QComboBox popup list in WindowsClassic style?

Jens says:

Thank you guys, it is truly inspiring getting positive feedback.
WCSP : This is not the right forum for this. Please fill out this form instead: http://trolltech.com/developer/bugreport-form

WindowsClassicStylePerfections says:

OK, sorry.
Your work is great.

Thanks!

sysedit says:

Small detail, in the .pro, you have set TARGET before the classic “_d/_debug” routine.
Currently, TARGET will ever be explorerstyle, in debug or in release.

Jens says:

sysedit : Thanks for pointing that out. I’ll make sure to clean it up next time I edit the sources.

Commenting closed.

Get started today with Qt Download now