On Tue, Dec 13, 2011 at 7:39 PM, Bogdan Cristea <crist...@gmail.com> 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
MeeGo-dev@meego.com
http://lists.meego.com/listinfo/meego-dev
http://wiki.meego.com/Mailing_list_guidelines

Reply via email to