Navigation

    Qt Forum

    • Login
    • Search
    • Categories
    • Recent
    • Tags
    • Popular
    • Search
    • Unsolved
    1. Home
    2. Tags
    3. swipeview
    Log in to post

    • UNSOLVED access to swipeview children from outside of it
      QML and Qt Quick • qml swipeview rectangle • • MABahar  

      2
      0
      Votes
      2
      Posts
      103
      Views

      Modify the Repeater as Repeater{ id : rep1 Page { property alias myrect : pgrect Access each element inside the repeater using rep1.itemAt(index).
    • UNSOLVED How to stop the tab order to be propagated through SwipeView pages?
      QML and Qt Quick • swipeview tab order tab key tab switching • • jeanmilost  

      1
      0
      Votes
      1
      Posts
      86
      Views

      No one has replied

    • UNSOLVED Sometimes page animation is not running when currentIndex is changed on a SwipeView
      QML and Qt Quick • animation swipeview currentindex • • jeanmilost  

      1
      0
      Votes
      1
      Posts
      123
      Views

      No one has replied

    • SOLVED SwipeView with dynamic "interactive" breaks "currentIndex" binding
      QML and Qt Quick • qml qml binding swipeview • • Rcc21  

      4
      2
      Votes
      4
      Posts
      779
      Views

      I'm linking the StackOverflow question and the Qt Bug This is the workaround suggested: onCurrentIndexChanged: { if (currentIndex === 0) { Qt.callLater(function() { interactive = false }) } else { Qt.callLater(function() { interactive = true }) } }
    • UNSOLVED SwipeView reaching the end of the list
      QML and Qt Quick • swipeview • • Blutimauge  

      2
      0
      Votes
      2
      Posts
      372
      Views

      Hi @Blutimauge and welcome. I think SwipeView may be the wrong component for your use case. I would suggest looking into Flickable or the derived forms ListView/GridView. They handle end bouncing and continuous flow much better, as in it's build in. IIRC
    • UNSOLVED SwipeView gets confused when opening a new Window
      QML and Qt Quick • swipeview • • GregVR  

      2
      0
      Votes
      2
      Posts
      178
      Views

      Just to sit and answer my own question (but also trying to contribute to the forum's knowledge!)... I figured out that if I set interactive: false in the SwipeView, then everything works correctly-- it's just that you can't use your mouse to swipe left and right, which, could be argued, wouldn't be correct behavior in a windows/pointer desktop approach anyway. I'm guessing that there is something odd that happens in SwipeView when another window is opened. We are planning on targeting a touchscreen/fullscreen version eventually, in which case setting interactive: true and switching the Window creation to Popups would be the right thing to do anyway. I'm leaving as unsolved for now, just because I'm curious if anyone has any other ideas.
    • UNSOLVED Drawer as child inside a SwipeView
      QML and Qt Quick • freeze swipeview drawer • • podkiva  

      1
      0
      Votes
      1
      Posts
      584
      Views

      No one has replied

    • SOLVED QML SwipeView is covering entire window
      QML and Qt Quick • qml qtquick2 qtquick control swipeview • • pra7  

      4
      0
      Votes
      4
      Posts
      2914
      Views

      @pra7 said in QML SwipeView is covering entire window: w That's cool. This solution you came up with is perfect.
    • UNSOLVED How do I share object between pages of a SwipeView?
      QML and Qt Quick • swipeview scope • • Steve Fallows  

      6
      0
      Votes
      6
      Posts
      2437
      Views

      @Steve-Fallows, Just to clarify is receptorPath_textField also an id? in that case your code CTPanel { id: ct_panel Component.onCompleted: { ct_panel.setUp() // Complete set up of the C++ object console.log("CT Panel component completed.") } receptorPath: receptorPath_textField.text } should work wherever it is placed (in the same qml file). if receptorPath_textFieldis is a grouped property from CalibrationPageForm and the id of the page is page Have tou tried? CalibrationPageForm { id: page receptorPath_textField.text: settings.receptorPath } CTPanel { id: ct_panel Component.onCompleted: { ct_panel.setUp() // Complete set up of the C++ object console.log("CT Panel component completed.") } receptorPath: page.receptorPath_textField.text }
    • SOLVED Disabling swipe for QWebEngineView
      QML and Qt Quick • qml qt quick webengineview swipeview swipe • • Phoenox  

      2
      0
      Votes
      2
      Posts
      1809
      Views

      First a note that SwipeView and its base type Container have gained some new members in Qt Quick Controls 2.1 in the upcoming Qt 5.8. These will help with your tasks: SwipeView::interactive Container::incrementCurrentIndex() Container::decrementCurrentIndex() For the time being, you could add the following binding as a temporary workaround until you will be able to use the new public interactive property: Binding { property: "interactive" target: swipeView.contentItem value: swipeView.currentIndex !== indexOfWebEngineView }
    • SOLVED SwipeView shows neighbor pages even if they are not current page
      QML and Qt Quick • quick controls swipeview • • lollypolly  

      3
      0
      Votes
      3
      Posts
      1378
      Views

      @jpnurmi, thanks a lot, already found this property. But had limit in 300 seconds to reply. Seems like u are guru of QML :)