[maemo-developers] Does Maemo's Qt look like Hildon?
From: Antonio Aloisio antonio.aloisio at gmail.comDate: Mon May 25 13:49:58 EEST 2009
- Previous message: Does Maemo's Qt look like Hildon?
- Next message: Does Maemo's Qt look like Hildon?
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
The point is that we don't want to add new "concepts" to Qt if not strictly necessary. The idea I keep in my mind is "We are going to adapt Qt to hildon, not rewriting hildon with Qt". I hope that the other people understand this too. Then we need to discard something... If we want to add the features that you mentioned before, well most probably we need to add new APIs... BR, Antonio On Mon, May 25, 2009 at 12:58 PM, Murray Cumming <murrayc at murrayc.com>wrote: > On Mon, 2009-05-25 at 12:25 +0300, Antonio Aloisio wrote: > > > While we are on the subject of Qt looking like Maemo without > > API > > changes, how are you dealing with the need for Maemo-specific > > API such > > as that in HildonWindow: > > http://maemo.org/api_refs/5.0/beta/hildon/HildonWindow.html > > > > This trick is possible because Maemo applications have menus, toolbars > > as any normal > > desktop application. Okay they look different, but we can instruct Qt > > to give them the looks that > > we want... > > The same thing happens for the other official supported Qt platforms > > (mac, s60 ans so on) > > Yes, I know that's the Qt philosphy, but repeating it doesn't answer my > question. For instance: > > I guess, Qt windows can't usually have markup in their titles, so you'd > be changing the documented behaviour (therefore subtly changing the API) > if you parsed the regular title as markup, instead of offering separate > API: > > http://maemo.org/api_refs/5.0/beta/hildon/HildonWindow.html#hildon-window-set-markup > (I think that the new API should be added to upstream GTK+ instead > anyway.) > > I guess, Qt windows don't usually have a concept of "activated by the > window manager": > > http://maemo.org/api_refs/5.0/beta/hildon/HildonWindow.html#hildon-window-get-is-topmost > (This is presumably something different than gtk_window_is_active(): > > http://library.gnome.org/devel/gtk/unstable/GtkWindow.html#gtk-window-is-active) > > Also, I doubt that the Qt menu and toolbar API easily supports the idea > of one-single "edit" toolbar, introduced in Maemo 5: > > http://maemo.org/api_refs/5.0/beta/hildon/HildonWindow.html#hildon-window-set-edit-toolbar > > -- > murrayc at murrayc.com > www.murrayc.com > www.openismus.com > > -- Walt Disney <http://www.brainyquote.com/quotes/authors/w/walt_disney.html> - "I love Mickey Mouse more than any woman I have ever known." -------------- next part -------------- An HTML attachment was scrubbed... URL: http://lists.maemo.org/pipermail/maemo-developers/attachments/20090525/1198e4f2/attachment.htm
- Previous message: Does Maemo's Qt look like Hildon?
- Next message: Does Maemo's Qt look like Hildon?
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]