Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add ApplicationWindow, ui rotation handling, and update examples accordingly #8

Merged
merged 2 commits into from Oct 23, 2013
Merged

Add ApplicationWindow, ui rotation handling, and update examples accordingly #8

merged 2 commits into from Oct 23, 2013

Conversation

faenil
Copy link
Member

@faenil faenil commented Oct 21, 2013

We may consider renaming the component, but anyway:
ApplicationWindow includes a page stack (StackView) which handles
the pages of the application.

ApplicationWindow includes an Item handling UI rotations,
and offers allowedOrientations (and other useful properties)
to help the dev handle rotation locking.

We may consider renaming the component, but anyway:
ApplicationWindow includes a page stack (StackView) which handles
the pages of the application.

ApplicationWindow includes an Item handling UI rotations,
and offers allowedOrientations (and other useful properties)
to help the dev handle rotation locking.
@locusf
Copy link
Member

locusf commented Oct 21, 2013

LGTM, tested too and works quite nicely :)

text: "Disabled"
Text {
font.pixelSize: 42
Behavior on x { NumberAnimation{ easing.type: Easing.OutCubic} }
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

nippik: curly braces' spacing &)
NumberAnimation_{ easing.type: Easing.OutCubic_}

Copy link
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.


//this shouldn't happen, as orientation 0 is not part of Qt ENUM
if (!orientationToBeChecked) {
console.log("Hi! I'm a bug, report me to faenil (trying to set invalid orientation)")
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

lol!

@sledges
Copy link
Contributor

sledges commented Oct 21, 2013

LGTM!

faenil added a commit that referenced this pull request Oct 23, 2013
Add ApplicationWindow, ui rotation handling, and update examples accordingly
@faenil faenil merged commit d570d47 into nemomobile:master Oct 23, 2013
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

3 participants