[prev in list] [next in list] [prev in thread] [next in thread] 

List:       meego-dev
Subject:    Re: [MeeGo-dev] Screen orientation in Qt
From:       "Skarpness, Mark" <mark.skarpness () intel ! com>
Date:       2011-12-13 20:31:58
Message-ID: BBCDD1D9D3CF8C4C852BEE9879218B6A22F3D5A0 () orsmsx509 ! amr ! corp ! intel ! com
[Download RAW message or body]

I can attend. -Mark

----- Original Message -----
From: Robin Burchell [mailto:robin+meego@viroteck.net]
Sent: Tuesday, December 13, 2011 10:52 AM
To: Bogdan Cristea <cristeab@gmail.com>
Cc: meego-dev@meego.com <meego-dev@meego.com>
Subject: Re: [MeeGo-dev] Screen orientation in Qt

On Tue, Dec 13, 2011 at 7:39 PM, Bogdan Cristea <cristeab@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
_______________________________________________
MeeGo-dev mailing list
MeeGo-dev@meego.com
http://lists.meego.com/listinfo/meego-dev
http://wiki.meego.com/Mailing_list_guidelines
[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic