Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • Users
  • Groups
  • Search
  • Get Qt Extensions
  • Unsolved
Collapse
Brand Logo
  1. Home
  2. Qt Development
  3. QML and Qt Quick
  4. Animation using
Forum Updated to NodeBB v4.3 + New Features

Animation using

Scheduled Pinned Locked Moved Unsolved QML and Qt Quick
6 Posts 2 Posters 573 Views 2 Watching
  • Oldest to Newest
  • Newest to Oldest
  • Most Votes
Reply
  • Reply as topic
Log in to reply
This topic has been deleted. Only users with topic management privileges can see it.
  • Q Offline
    Q Offline
    qcoderpro
    wrote on 13 Feb 2021, 16:18 last edited by qcoderpro
    #1

    What does the sentence below mean in the First Object down here, please?
    It’s even disturbing as the y-position is set for a fraction of a second to a new value before the animation starts. Such competing property changes should be avoided.

    The y position is: y: root.height-height
    Does the author mean we should not set x/y positions for the object!?

    R 1 Reply Last reply 13 Feb 2021, 19:37
    0
    • Q qcoderpro
      13 Feb 2021, 16:18

      What does the sentence below mean in the First Object down here, please?
      It’s even disturbing as the y-position is set for a fraction of a second to a new value before the animation starts. Such competing property changes should be avoided.

      The y position is: y: root.height-height
      Does the author mean we should not set x/y positions for the object!?

      R Offline
      R Offline
      raven-worx
      Moderators
      wrote on 13 Feb 2021, 19:37 last edited by
      #2

      @qcoderpro
      the behavior animation is triggered on the value change of bound property. Thus the value gets set first and then the animation starts and updates the value (animated).

      --- SUPPORT REQUESTS VIA CHAT WILL BE IGNORED ---
      If you have a question please use the forum so others can benefit from the solution in the future

      Q 1 Reply Last reply 15 Feb 2021, 10:32
      0
      • R raven-worx
        13 Feb 2021, 19:37

        @qcoderpro
        the behavior animation is triggered on the value change of bound property. Thus the value gets set first and then the animation starts and updates the value (animated).

        Q Offline
        Q Offline
        qcoderpro
        wrote on 15 Feb 2021, 10:32 last edited by
        #3

        @raven-worx

        I know that. What I don't know is the connection between the sentence above and the object. What part of the code is defective that must be avoided?

        R 1 Reply Last reply 15 Feb 2021, 23:09
        0
        • Q qcoderpro
          15 Feb 2021, 10:32

          @raven-worx

          I know that. What I don't know is the connection between the sentence above and the object. What part of the code is defective that must be avoided?

          R Offline
          R Offline
          raven-worx
          Moderators
          wrote on 15 Feb 2021, 23:09 last edited by
          #4

          @qcoderpro
          the line you posted?
          They already left it out in the example

          --- SUPPORT REQUESTS VIA CHAT WILL BE IGNORED ---
          If you have a question please use the forum so others can benefit from the solution in the future

          Q 1 Reply Last reply 17 Feb 2021, 10:50
          0
          • R raven-worx
            15 Feb 2021, 23:09

            @qcoderpro
            the line you posted?
            They already left it out in the example

            Q Offline
            Q Offline
            qcoderpro
            wrote on 17 Feb 2021, 10:50 last edited by
            #5

            @raven-worx

            Left what out in the example? The y position?

            x: 40; y: root.height-height
            
            R 1 Reply Last reply 18 Feb 2021, 08:38
            0
            • Q qcoderpro
              17 Feb 2021, 10:50

              @raven-worx

              Left what out in the example? The y position?

              x: 40; y: root.height-height
              
              R Offline
              R Offline
              raven-worx
              Moderators
              wrote on 18 Feb 2021, 08:38 last edited by
              #6

              @qcoderpro
              ah my fault, sry.
              The y property declaration is on the same line, oversaw that

              --- SUPPORT REQUESTS VIA CHAT WILL BE IGNORED ---
              If you have a question please use the forum so others can benefit from the solution in the future

              1 Reply Last reply
              0

              3/6

              15 Feb 2021, 10:32

              • Login

              • Login or register to search.
              3 out of 6
              • First post
                3/6
                Last post
              0
              • Categories
              • Recent
              • Tags
              • Popular
              • Users
              • Groups
              • Search
              • Get Qt Extensions
              • Unsolved