Qt Forum

    • Login
    • Search
    • Categories
    • Recent
    • Tags
    • Popular
    • Users
    • Groups
    • Search
    • Unsolved
    1. Home
    2. Tags
    3. transition

    Log in to post
    • All categories
    • T

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

      2
      0
      Votes
      2
      Posts
      472
      Views

      G

      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.

    • Y

      Unsolved How to receive and react to statemachine targetless transitions ?
      QML and Qt Quick • statemachine target transition receiving messa • • YenZi

      2
      0
      Votes
      2
      Posts
      629
      Views

      dheerendra

      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.

    • Stefan Monov76

      Solved Code redundancy when creating Transition
      QML and Qt Quick • animation transition • • Stefan Monov76

      3
      1
      Votes
      3
      Posts
      730
      Views

      T

      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).

    • M

      Unsolved Sliding objects animation
      QML and Qt Quick • animation states transition • • Mark81

      2
      0
      Votes
      2
      Posts
      803
      Views

      M

      @Mark81 Well, I've just discovered the objectName property. Not so straight (it requires cycling among all children) but it works.

    • Qjay

      Solved Issues with stackview
      General and Desktop • stackview webview transition • • Qjay

      6
      0
      Votes
      6
      Posts
      4108
      Views

      Qjay

      SOLVED

      onClicked: { loader.source = "qrc:/pages/search.qml" stackView.push(loader.item) listView.currentIndex = -1 }

      Thanks @medyakovvit

    • M

      Unsolved Help on states and transitions
      QML and Qt Quick • transition states animations • • Mark81

      4
      0
      Votes
      4
      Posts
      1182
      Views

      raven-worx

      @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.

    • B

      Problem with Transition in QML
      QML and Qt Quick • qml transition column move • • bam500

      1
      0
      Votes
      1
      Posts
      565
      Views

      No one has replied

    • B

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

      2
      0
      Votes
      2
      Posts
      820
      Views

      SGaist

      Hi,

      Please don't post the same question in multiple sub-forum, on is enough.

      Duplicate

      Closing this one.

    • R

      Unsolved Problem with ListView populate transition
      QML and Qt Quick • listview transition populate model • • renatobibiano

      8
      0
      Votes
      8
      Posts
      3146
      Views

      p3c0

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