I can attend. -Mark

----- Original Message -----
From: Robin Burchell [mailto:[email protected]]
Sent: Tuesday, December 13, 2011 10:52 AM
To: Bogdan Cristea <[email protected]>
Cc: [email protected] <[email protected]>
Subject: Re: [MeeGo-dev] Screen orientation in Qt

On Tue, Dec 13, 2011 at 7:39 PM, Bogdan Cristea <[email protected]> wrote:
> QML is Qt's markup language. So QML knows how to handle screen orientation,
> but not Qt. That's odd.

Neither of them know anything about screen orientation. QML and
QWidget are both building blocks for building more complex things.

Summing up the options:

- QML includes functionality to easily transform items, which can be
used to draw things differently with ease, if you tell it what to do
(http://doc.qt.nokia.com/latest/qml-item.html#transform-prop)
- QWidget includes the capability for you to intercept and redraw
stuff yourself, if you tell it what to do.

Together with either of those:
- Qt's sensors API provides a way to find out about orientation (as
you already found out) and do something with it using the above
methods
_______________________________________________
MeeGo-dev mailing list
[email protected]
http://lists.meego.com/listinfo/meego-dev
http://wiki.meego.com/Mailing_list_guidelines
_______________________________________________
MeeGo-dev mailing list
[email protected]
http://lists.meego.com/listinfo/meego-dev
http://wiki.meego.com/Mailing_list_guidelines

Reply via email to