[Qt] Good progress on TBitmap

Felipe Monteiro de Carvalho felipemonteiro.carvalho at gmail.com
Mon Jan 29 17:29:47 CET 2007


On 1/29/07, Hess, Philip J <pjhess at purdue.edu> wrote:
> Yes, I think you're right - a dock menu that appears when the user holds
> down the mouse over the running Magnifier's "tile" on the dock probably
> would be better than Menu extras.

Actually I'm not sure. According to wikipedia, Apple provides a API,
even if incomplete, to create menu extras icons .... and that is
contradictory with the text on apple docs. Maybe at one point they
changed their mind?

> The question is how to add these menu
> items with Qt or FPC. The Carbon framework has a
> SetApplicationDockTileMenu function that can be used to add menu items
> to the app's tile. This is available in the FPCMacOSAll.pas unit.

This would be implemented on Carbon, on TTrayIcon code, and become
transparent to the developers using TTrayIcon. That should work
without code changes on all widgetsets running on Mac OS X.

> One other issue is the app's main bar. In OS X, when an app has the
> focus its menu appears at the top of the screen. This is unlike Windows
> or Linux, where an app doesn't have to have a menu.

Apple has a magnfying glass of it's own. One could look at how it
solves this problem.

-- 
Felipe Monteiro de Carvalho



More information about the Qt mailing list