• 3657阅读
  • 4回复

如何改变菜单项的高度,急,谢谢大家! [复制链接]

上一主题 下一主题
离线aoo7wangyan
 

只看楼主 倒序阅读 楼主  发表于: 2009-07-11
RT,如何改变菜单项的高度
离线aoo7wangyan

只看该作者 1楼 发表于: 2009-07-11
自己顶
离线aoo7wangyan

只看该作者 2楼 发表于: 2009-07-13
dingnigefei
离线bingogo
只看该作者 3楼 发表于: 2009-07-13
你搜一下以前的帖子,
似乎有过类似的
我记得duduqq兄曾说过要重载菜单 ??
记得不太清楚了
离线bingogo
只看该作者 4楼 发表于: 2009-07-13
http://doc.qtsoftware.com/4.5/qmenubar.html
http://pepper.troll.no/s60prereleases/doc/stylesheet-reference.html
http://pepper.troll.no/s60prereleases/doc/stylesheet-examples.html#customizing-qmenubar


QMenuBar     Supports the box model. The spacing property specifies the spacing between menu items.
Individual items are styled using the ::item subcontrol.

Warning: When running on Qt/Mac, the menu bar is usually embedded into the system-wide menu bar.
In this case, the style sheet will have no effect.

See Customizing QMenuBar for an example.


虽然我没有改过,不过
仔细看它提供的例子,应该就可以修改了
文档挺详细的
快速回复
限100 字节
 
上一个 下一个