Navigation

    Qt Forum

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

    • UNSOLVED QML - Stackview - REPLACE transition
      QML and Qt Quick • qml stackview transition • • TMJJ001  

      2
      0
      Votes
      2
      Posts
      277
      Views

      If you just want to display different qml components on the same area, have a look at the loader qml type. You can set the src for the loader component when hitting the button. For some types (like a dialog) you will have to also call visible = true or open() in the loaded item. You can access a src in the loader with loaderName.item. Check out the example in the documentation: https://doc.qt.io/qt-5/qml-qtquick-loader.html#details After setting the source like in the example, you can set properties in the loaded qml with pageloader.item.<PROPERTY NAME>. replace <PROPERTY NAME> with the name of the property in your qml file.
    • UNSOLVED How to receive and react to statemachine targetless transitions ?
      QML and Qt Quick • transition statemachine target receiving messa • • YenZi  

      2
      0
      Votes
      2
      Posts
      565
      Views

      If you want to connect for particular signal, first define the function in QML and use Connections object or <id>.signalName.connect(..) to connect with particular handler.
    • SOLVED Code redundancy when creating Transition
      QML and Qt Quick • animation transition • • Stefan Monov76  

      3
      1
      Votes
      3
      Posts
      677
      Views

      Set explicitly all names of properties because this is what you want. In some cases you might want not to animate prop1. And this is default reaction of the engine: make change without transition (this is about performance).
    • UNSOLVED Sliding objects animation
      QML and Qt Quick • animation states transition • • Mark81  

      2
      0
      Votes
      2
      Posts
      727
      Views

      @Mark81 Well, I've just discovered the objectName property. Not so straight (it requires cycling among all children) but it works.
    • SOLVED Issues with stackview
      General and Desktop • webview stackview transition • • Qjay  

      6
      0
      Votes
      6
      Posts
      3884
      Views

      SOLVED onClicked: { loader.source = "qrc:/pages/search.qml" stackView.push(loader.item) listView.currentIndex = -1 } Thanks @medyakovvit
    • UNSOLVED Help on states and transitions
      QML and Qt Quick • states animations transition • • Mark81  

      4
      0
      Votes
      4
      Posts
      1085
      Views

      @Mark81 forget what i said, this wasn't correct. sorry. In the Transition object you should fill the "from" and "to" porperties with names of the states. So you need a transition from state to state.
    • Problem with Transition in QML
      QML and Qt Quick • qml column transition move • • bam500  

      1
      0
      Votes
      1
      Posts
      504
      Views

      No one has replied

    • Problem with Transition in Column
      Mobile and Embedded • qml column transition move • • bam500  

      2
      0
      Votes
      2
      Posts
      751
      Views

      Hi, Please don't post the same question in multiple sub-forum, on is enough. Duplicate Closing this one.
    • UNSOLVED Problem with ListView populate transition
      QML and Qt Quick • listview model transition populate • • renatobibiano  

      8
      0
      Votes
      8
      Posts
      2994
      Views

      @renatobibiano Ok. Try giving width and height explicitly for components where you have used anchors.fill: parent.