Hi David,<br><br>IMHO most of the extended hildon widgets could be dropped.<br>Hildon widgets like hildon banners instead need to be integrated inside Qt.<br>Extended widget could be shipped in an external library if necessary.. but I won't care about them. <br>
About IPC Qt classes for system interaction.. I working on them... <br><br>Cheers,<br>Antonio<br><br><br><div class="gmail_quote">On Mon, May 25, 2009 at 2:09 PM, David Greaves <span dir="ltr"><<a href="mailto:david@dgreaves.com">david@dgreaves.com</a>></span> wrote:<br>
<blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;"><div><div></div><div class="h5">Murray Cumming wrote:<br>
> On Mon, 2009-05-25 at 12:25 +0300, Antonio Aloisio wrote:<br>
><br>
>> While we are on the subject of Qt looking like Maemo without<br>
>> API<br>
>> changes, how are you dealing with the need for Maemo-specific<br>
>> API such<br>
>> as that in HildonWindow:<br>
>> <a href="http://maemo.org/api_refs/5.0/beta/hildon/HildonWindow.html" target="_blank">http://maemo.org/api_refs/5.0/beta/hildon/HildonWindow.html</a><br>
>><br>
>> This trick is possible because Maemo applications have menus, toolbars<br>
>> as any normal<br>
>> desktop application. Okay they look different, but we can instruct Qt<br>
>> to give them the looks that<br>
>> we want...<br>
>> The same thing happens for the other official supported Qt platforms<br>
>> (mac, s60 ans so on)<br>
><br>
> Yes, I know that's the Qt philosphy, but repeating it doesn't answer my<br>
> question. For instance:<br>
><br>
> I guess, Qt windows can't usually have markup in their titles, so you'd<br>
> be changing the documented behaviour (therefore subtly changing the API)<br>
> if you parsed the regular title as markup, instead of offering separate<br>
> API:<br>
> <a href="http://maemo.org/api_refs/5.0/beta/hildon/HildonWindow.html#hildon-window-set-markup" target="_blank">http://maemo.org/api_refs/5.0/beta/hildon/HildonWindow.html#hildon-window-set-markup</a><br>
> (I think that the new API should be added to upstream GTK+ instead<br>
> anyway.)<br>
><br>
> I guess, Qt windows don't usually have a concept of "activated by the<br>
> window manager":<br>
> <a href="http://maemo.org/api_refs/5.0/beta/hildon/HildonWindow.html#hildon-window-get-is-topmost" target="_blank">http://maemo.org/api_refs/5.0/beta/hildon/HildonWindow.html#hildon-window-get-is-topmost</a><br>
> (This is presumably something different than gtk_window_is_active():<br>
> <a href="http://library.gnome.org/devel/gtk/unstable/GtkWindow.html#gtk-window-is-active" target="_blank">http://library.gnome.org/devel/gtk/unstable/GtkWindow.html#gtk-window-is-active</a> )<br>
><br>
> Also, I doubt that the Qt menu and toolbar API easily supports the idea<br>
> of one-single "edit" toolbar, introduced in Maemo 5:<br>
> <a href="http://maemo.org/api_refs/5.0/beta/hildon/HildonWindow.html#hildon-window-set-edit-toolbar" target="_blank">http://maemo.org/api_refs/5.0/beta/hildon/HildonWindow.html#hildon-window-set-edit-toolbar</a><br>
<br>
</div></div>It seems to me that there are several areas where Hildon is extending Gtk + Qt<br>
* new hildon-specific widgets (pannable, HildonWindow...<br>
<a href="http://maemo.org/api_refs/5.0/beta/hildon/hildonobjects.html" target="_blank">http://maemo.org/api_refs/5.0/beta/hildon/hildonobjects.html</a> )<br>
* integrating/extending existing widgets (text entry + virtual keyboard)<br>
* visual style (thin scrollbars,radiobuttons...)<br>
* system interaction (essentially dbus and WM comms via API calls like<br>
can_hibernate, is_topmost)<br>
<br>
Is the aim to map to these in Hildon Qt?<br>
<br>
In which case it would be good to identify and prioritise targets and<br>
achievements and it would also be nice to have reference information for IPC for<br>
things like system interaction.<br>
<br>
I also wonder about better handling for applications not written for Maemo;<br>
should the core widgets be extended to handle Maemo at the system interaction<br>
level and provide derived widgets to expose the API.<br>
<br>
David<br>
<font color="#888888"><br>
--<br>
"Don't worry, you'll be fine; I saw it work in a cartoon once..."<br>
</font></blockquote></div><br><br clear="all"><br>-- <br><br><a href="http://www.brainyquote.com/quotes/authors/s/samuel_goldwyn.html" target="_blank">Samuel Goldwyn</a> - "For your information, I would like to ask a question."