Thread
:
[WIP] Alopex: a mozilla embedlite implementation on fremantle
View Single Post
Android_808
2013-11-30 , 14:19
Posts: 1,203 | Thanked: 3,027 times | Joined on Dec 2010
#
144
Q_SLOTS is how fmg also has it in geckotest. Does the same thing as slots: but is useful for when using 3rd party libraries. Just use Q_SLOTS, Q_SIGNALS and Q_EMIT in place of the slots, signals and emit.
With regards to the source, at the moment I haven't got anything useful. Basically at the moment I have StackedWindow plus a derived window class and a Settings class to post orientation change signals, all based on the code from cuteTube.
Been going over geckotest's initialisation of embedlite app and view. QtMozEmbed makes use of a context that does this automatically, which is why I asked about that header file. Not even doing anything with it at the moment, literally just trying to include it.
With regards to making a screen rotation independent UI, check out cuteTube. There are some examples of resize based on orientation, some alter layout.
Quote & Reply
|
The Following User Says Thank You to Android_808 For This Useful Post:
marmistrz
Android_808
View Public Profile
Send a private message to Android_808
Find all posts by Android_808