Unsolved QML swipeview setting length of swipe
-
How can I lengthen the distance a user must swipe? I have a 10" screen and 1/4" swipe will transition to the next screen.
I have seen the setStartDragDistance, but that seems to be for QApplication
main.cpp
uses QGuiApplication
then I load my initial QMLQQmlApplicationEngine engine; engine.load(QUrl(QStringLiteral("qrc:/qml/main.qml")));
Then I have an Item with SwipeView and then all my calls to Loader
Item { id: mainMenu SwipeView { id : swipeView anchors.fill : parent currentIndex : 0 Loader { id : cameraScreen ; active : false; asynchronous : true; source : "qrc:/qml/CameraForm.qml"} Loader { id : climateScreen ; active : false; asynchronous : true; source : "qrc:/qml/ClimateForm.qml"} ...
So, not sure if I should use a different implementation as the screens load and transition just fine, but would like the user to swipe a longer distance.
Thanks!