[Qt] No icons on QT top-level menuitems

Juha Manninen juha.manninen62 at gmail.com
Wed Nov 9 11:35:15 CET 2011


... and ...
the code is now better than before. A user can now place an image on a
top-level menuitem if he wants (although the text caption is lost).
Also, setting such image does not prevent all sub-menu images from showing.

If there is no better solution then obsolete code like
 TQtMenuBar.addMenuWithIcon
can be removed.
However I have a hunch you could improve it because you know QT and the
bindings so well.

Juha
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.lazarus-ide.org/pipermail/qt/attachments/20111109/1173d37c/attachment-0002.html>


More information about the Qt mailing list