KMenuBar Icons

Sean McGlynn sean at tmiau.com
Sun Aug 25 18:51:13 BST 2002


On Sunday 25 August 2002 17:17, Dimitris Stasinopoulos wrote:
> Hello all()

Hello Dimitris() :-)

> I was wondering whether there is any way to add icons on KMenuBars.
> E.g., I want to add an icon left of every entry on the Desktop Menu Bar
> (File, Create, Bookmars, Desktop, Windows, Help)
>
> Is there anyway that this can be done? I know that KMenuBar is based on
> QMenuBar, however, I'm not very keen with the internals of QT, and I don't
> if QMenuBars have that ability, as a container.
>
> Bottom line: Can it be done?
>
> Thanks a lot in advance.

Yes, I'm pretty sure it can be done. But, you'd be better served to send your 
question to the kde-devel mailing list for the details :-)

QMenuBar inherits QMenuData which has lots of insertItem methods including 
ones for icons, pixmaps etc. Should be something there for you.

Cheers,
Sean
-- 
Sean McGlynn
sean at tmiau.com

Seriously bored? So were these people!
http://crystal.sourceforge.net/docs/online/manual/
___________________________________________________
This message is from the kde mailing list.
Account management:  http://mail.kde.org/mailman/listinfo/kde.
Archives: http://lists.kde.org/.
More info: http://www.kde.org/faq.html.




More information about the kde mailing list