Namespaces

Variants
Actions

Please note that as of October 24, 2014, the Nokia Developer Wiki will no longer be accepting user contributions, including new entries, edits and comments, as we begin transitioning to our new home, in the Windows Phone Development Wiki. We plan to move over the majority of the existing entries over the next few weeks. Thanks for all your past and future contributions.

Talk:StarMenu: custom QML component plugin

From Wiki
Jump to: navigation, search

Mardy - D-Bus

Why do you need D-Bus?

mardy 09:36, 28 March 2012 (EEST)

Lildeimos - D-Bus

@Mardy: that's a good question. D-Bus is only needed when compiling for Harmattan and it is used to get the N9/950 orientation. The coordinate system isn't changed when a rotation occurs, so the origin of coordinate system remain always in the same physical place (upper left in landscape and upper right in portrait). So I need to do some transformations in portrait to display the menu in the right place ( StarMenu::getOrientation() ). Within QML should be simplier, but forces the Harmattan developer to make some tricks to help the c++ pluging. So I opted for this solution and the plugin works the same way on all platforms.

Here a discussion with myself :) http://qt-project.org/forums/viewthread/15052/

lildeimos 13:31, 28 March 2012 (EEST)

 

Was this page helpful?

Your feedback about this content is important. Let us know what you think.

 

Thank you!

We appreciate your feedback.

×