Death to the Icons!

It was a good week: public Psi 0.11-beta1 release happened recently, I was able to improve some design bits of my blog, also eliminated the long-standing insect that was hurting my eyes and stopping from using the development branch in day-to-day life. Now, the insect’s dead, and I’m happily running 0.11-beta1 now.

The ones who have already tried Psi/Mac 0.11-beta1 probably noticed the sudden appearance of many little bothersome icons in all kinds of menus where they weren’t present in 0.10: icons in context menu, application menus and even in the menu bar itself! So it was decided that icons should not be able to live any longer.

With the help from kind engineers from Trolltech I discovered very handy one-liner that disables icons in the menu bar. I’m currently in a good mood so I will share it with you:


#ifdef Q_WS_MAC  
        qt_mac_set_menubar_icons(false);  
#endif

And the other half of the work — disabling icons in menus that are drawn by Qt — was done in a matter of minutes though overriding QMacStyle with my custom class.

And here is the sample screenshot from the running application:

Look ma, no icons!

Popup menus never looked this good before ;)

One Response to “Death to the Icons!”

  1. March 14th, 2006 | 3:14 pm

    `popup menus never looked this good before’
    Yes they did, in 0.10 :D

Leave a reply