Thanks. I did this :
1. Created a QProxyStyle object.
2. Created a QStyleOptionMenuItem object called o. Called the function setMaxIconWidth (24)
3. Called the drawControl function called oo. Parameters were CE.MenuBarItem, o and a new QPainter object.
4. Called the menu's setStyle function with oo.
Nothing changed. I wonder that the setMaxIconWidth only sets the maximum width. The fact that I want to increase the size of icons is not getting conveyed by this method, i think.




Reply With Quote

Bookmarks