![]() |
Re: Help me to code for Sailfish OS
1 Attachment(s)
Three more questions:
1. I would like to navigate from the first page of an app (page 1) to another by swiping left (page 2). GPSInfo does this by using a timer which creates the pageStack.pushAttached element of the second page. Is there another / more elegant way to achieve this behaviour of changing from one to another page? 2. Is it possible to navigate from one pages button (page 1) to another page (page 3) and scroll this one to a specific item (for example a label) in the middle of this page (like anchors in HTML)? 3. Is it possible to use QLM's transform.matrix4x4 within sailfish apps to transform this element (for example to mirror a text field vertically)? |
Re: Help me to code for Sailfish OS
1. PageStack is stack, it's linear. You should have a page under your depth to go lower.
2. You can pass any arguments to a page you pushing to. Process it inside page to scroll 3. You can use transform property: https://doc.qt.io/qt-5/qml-qtquick-i...transform-prop |
Re: Help me to code for Sailfish OS
Thanks for your helpful tips, coderus!
Quote:
Quote:
Quote:
|
Re: Help me to code for Sailfish OS
1. okay, then attachedPage is your choice. Or use a Dialog instead of a Page and set acceptDestination
2. By using https://doc.qt.io/qt-5/qml-qtquick-l...AtIndex-method |
Re: Help me to code for Sailfish OS
Quote:
Quote:
|
Re: Help me to code for Sailfish OS
There could be problems with transitions., Try it out and see. New API introduced pageStack.completeAnimation() method, which is probably you want to call before pageStack.pushAttached
|
Re: Help me to code for Sailfish OS
|
Re: Help me to code for Sailfish OS
I think this code should still work: https://bitbucket.org/mitakuuluu/mit...atarPicker.qml
|
Re: Help me to code for Sailfish OS
Hi,
How to add a short vibration to a Rectangle Button?, thanks, . . |
Re: Help me to code for Sailfish OS
Quote:
Code:
import QtFeedback 5.0 |
All times are GMT. The time now is 15:03. |
vBulletin® Version 3.8.8