"Bo Peng" <[EMAIL PROTECTED]> writes: >> This mechanism exists in 1.6 for bindings and menus. It would be nice >> to know how well it works in practice, though. What is still missing >> is icons. > > What would you use to specify an ICON? I guess InsetInfo::INFO_ICON lfunc?
Yes. And make sure it uses the same code as Toolbars. > I am in the process of adding INFO_SHORTCUTS, adding INFO_ICON should > be straightforward. Except that the icon shall be displayed as a graphics, a bit like what InsetGraphics does, but without the delayed loading (especially if we can get the QImage from the toolbar code). JMarc