On Mon, 2009-05-18 at 12:52 +0300, Antonio Aloisio wrote: > Hi, > An option is putting non sub-menus QActions in the QMenuBar. > In that way the developer don't have to use maemo specific APIs. > > Then Qt can > 1. fetches the actions from the QMenuBar > 2. checks if those QActions are not a submenus > 3. Creates a Dialog with buttons with those QActions > 4. Connects the dialog:show() to the title bar
Although new-style Maemo 5 menus with sub-menus are discouraged, I don't think they should be forbidden. The current C API makes it very difficult to create them because HildonAppMenu is just a grid container, not a menu API. But I see no reason for Qt to make the same mistake. Of course they would not be displayed as a tree-like menu. > BTW that's not implemented yet... You are using a gmail email address. Do you actually work for Nokia and/or Qt? -- [email protected] www.murrayc.com www.openismus.com _______________________________________________ maemo-developers mailing list [email protected] https://lists.maemo.org/mailman/listinfo/maemo-developers
