The Following User Says Thank You to BGK For This Useful Post: | ||
![]() |
2019-10-21
, 12:44
|
|
Posts: 6,436 |
Thanked: 12,701 times |
Joined on Nov 2011
@ Ängelholm, Sweden
|
#32
|
The Following 4 Users Say Thank You to coderus For This Useful Post: | ||
![]() |
2019-10-21
, 18:56
|
Posts: 55 |
Thanked: 206 times |
Joined on Mar 2019
|
#33
|
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
The Following User Says Thank You to BGK For This Useful Post: | ||
![]() |
2019-10-21
, 19:17
|
|
Posts: 6,436 |
Thanked: 12,701 times |
Joined on Nov 2011
@ Ängelholm, Sweden
|
#34
|
![]() |
2019-10-21
, 20:31
|
Posts: 55 |
Thanked: 206 times |
Joined on Mar 2019
|
#35
|
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
The Following User Says Thank You to BGK For This Useful Post: | ||
![]() |
2019-10-21
, 20:34
|
|
Posts: 6,436 |
Thanked: 12,701 times |
Joined on Nov 2011
@ Ängelholm, Sweden
|
#36
|
The Following User Says Thank You to coderus For This Useful Post: | ||
![]() |
2019-11-02
, 22:56
|
Posts: 27 |
Thanked: 80 times |
Joined on Feb 2016
@ Czech Republic
|
#37
|
![]() |
2019-11-03
, 07:18
|
|
Posts: 6,436 |
Thanked: 12,701 times |
Joined on Nov 2011
@ Ängelholm, Sweden
|
#38
|
The Following 4 Users Say Thank You to coderus For This Useful Post: | ||
![]() |
2019-11-12
, 18:41
|
|
Posts: 433 |
Thanked: 727 times |
Joined on Oct 2012
@ Costa Blanca, España
|
#39
|
The Following User Says Thank You to Markkyboy For This Useful Post: | ||
![]() |
2019-11-12
, 19:04
|
|
Posts: 1,552 |
Thanked: 3,108 times |
Joined on Jun 2012
@ Russia, 96
|
#40
|
import QtFeedback 5.0 HapticsEffect { id: activeEffect duration: 500 // in ms intensity: 0.2 // from 0 to 1 with 0.1 step-size running: button.pressed } Button { id: button width: text.width text: "Test" anchors.horizontalCenter: parent.horizontalCenter onClicked: activeEffect.start() }
The Following 6 Users Say Thank You to Ancelad For This Useful Post: | ||
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)?
Last edited by BGK; 2019-10-21 at 17:17.