Explorer style tool bars on Windows

Posted by Jens Bache-Wiig on June 8, 2007 · 8 comments

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 ;)

QShare(this)

No related posts.


8 comments

1 AlKu June 9, 2007 at 6:52 pm
 

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!

2 miniak June 10, 2007 at 11:21 am
 

Thank you VERY VERY much, this is exactly what I was thiking about ! :)

3 sysedit June 10, 2007 at 6:11 pm
 

Thanks Jens !

4 WindowsClassicStylePerfections June 11, 2007 at 3:30 am
 

> Windows Style perfections…

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

5 Jens June 11, 2007 at 8:58 am
 

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

6 WindowsClassicStylePerfections June 11, 2007 at 10:54 am
 

OK, sorry.
Your work is great.

Thanks!

7 sysedit June 13, 2007 at 8:28 am
 

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.

8 Jens June 13, 2007 at 9:18 am
 

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

Comments on this entry are closed.

Previous post:

Next post: