Hi Andrew,<br><br>Qt AppMenu API is quite simple, but you don' need it at all. It's just for Qt internal use.<br>To have Maemo5 menus in Qt you don't have to code (at least you can.. but using Qt Designer is better:P)<br>
Those menus are filled with the QActions available in the QMainWindows.<br>Basically this the standard way to create menus in Qt (except you don't have to put QActions with menus).<br>QMainWindow will take care of creating and showing the Actions as items of the Qt Maemo5 menu.<br>
<br>I've picture in portrait and landscape mode of it.. I'll publish them ASA I've the permission.<br><br> <a href="https://git.maemo.org/projects/hildon/gitweb?p=hildon;a=blob;f=hildon/hildon-stackable-window.h;hb=HEAD" class="external text" title="https://git.maemo.org/projects/hildon/gitweb?p=hildon;a=blob;f=hildon/hildon-stackable-window.h;hb=HEAD" rel="nofollow">HildonStackableWindow</a> are supported by Qt as well. I implemented them in QMainWindows<br>
because it is convenient (they supports the menu).<br>To put them in your app you have to create a QMainWindows parent of another QMainWindow, You don't need nothing more.<br><br>About the Rotation support..it can be enabled with ONE line. But I'll talk more about it next episode! :P<br>
<br>Cheers,<br>Antonio<br><br><br><br><div class="gmail_quote">On Mon, Sep 7, 2009 at 5:16 PM, Andrew Flegg <span dir="ltr"><<a href="mailto:andrew@bleb.org">andrew@bleb.org</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 class="im">On Mon, Sep 7, 2009 at 15:09, Kate Alhola<<a href="mailto:kate.alhola@nokia.com">kate.alhola@nokia.com</a>> wrote:<br>
><br>
> Same thing to Qt, it is not limitation of Qt. App menus looks<br>
> exactly same rendered with Qt than rendered with GTK.<br>
> It just uses exactly same style for elements.<br>
<br>
</div>And this is one of the things which is being asked for! Can you post a<br>
simple example (and screenshot) of a Qt program which looks like a<br>
"normal" Maemo 5 app?<br>
<br>
What's the Qt AppMenu API? Does Qt do more work on behalf of the user<br>
(for good or ill) in terms of rotation support? etc. etc.<br>
<br>
Cheers,<br>
<div class="im"><br>
Andrew<br>
<br>
--<br>
Andrew Flegg -- mailto:<a href="mailto:andrew@bleb.org">andrew@bleb.org</a> | <a href="http://www.bleb.org/" target="_blank">http://www.bleb.org/</a><br>
Maemo Community Council chair<br>
_______________________________________________<br>
</div><div><div></div><div class="h5">maemo-developers mailing list<br>
<a href="mailto:maemo-developers@maemo.org">maemo-developers@maemo.org</a><br>
<a href="https://lists.maemo.org/mailman/listinfo/maemo-developers" target="_blank">https://lists.maemo.org/mailman/listinfo/maemo-developers</a><br>
</div></div></blockquote></div><br><br clear="all"><br>-- <br><br><a href="http://www.brainyquote.com/quotes/authors/j/joan_crawford.html" target="_blank">Joan Crawford</a> - "I, Joan Crawford, I believe in the dollar. Everything I earn, I spend."