Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • Users
  • Groups
  • Search
  • Get Qt Extensions
  • Unsolved
Collapse
Brand Logo
  1. Home
  2. Qt Development
  3. General and Desktop
  4. [SOLVED] The Animation Framework / How can I dynamically change EndValue during the animation?

[SOLVED] The Animation Framework / How can I dynamically change EndValue during the animation?

Scheduled Pinned Locked Moved General and Desktop
5 Posts 3 Posters 2.9k Views
  • 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.
  • S Offline
    S Offline
    sabrog
    wrote on last edited by
    #1

    I have a custom Layout and I want change EndValue (QPropertyAnimation) dynamically during animation while user change size of widget. How do that?

    !http://img600.imageshack.us/img600/3271/slidepanel4.gif(Problem Example)!

    QT - Apple QuickTime
    Qt - Nokia's Qt Development Frameworks
    Apple is a competitor of Nokia, so QT != Qt

    1 Reply Last reply
    0
    • B Offline
      B Offline
      baysmith
      wrote on last edited by
      #2

      Does setting the "endValue property":http://doc.qt.nokia.com/4.7/qvariantanimation.html#endValue-prop not work?

      Nokia Certified Qt Specialist.

      1 Reply Last reply
      0
      • S Offline
        S Offline
        sabrog
        wrote on last edited by
        #3

        Yes, this is working without stop/start. I'm just afraid about that, because in the documentation did not find anything about it.

        QT - Apple QuickTime
        Qt - Nokia's Qt Development Frameworks
        Apple is a competitor of Nokia, so QT != Qt

        1 Reply Last reply
        0
        • A Offline
          A Offline
          anselmolsm
          wrote on last edited by
          #4

          SABROG, a nice thing to do is to report a bug in the bugtracker to improve the docs when you find missing things / the docs are not clear enough / you have a use case not covered there.

          Anselmo L. S. Melo (anselmolsm)

          1 Reply Last reply
          0
          • B Offline
            B Offline
            baysmith
            wrote on last edited by
            #5

            [quote author="SABROG" date="1292062589"]Yes, this is working without stop/start. I'm just afraid about that, because in the documentation did not find anything about it.[/quote]

            Although the Qt documentation is very good, but no software is fully documented. Computer science is an empirical science. Sometimes you just need to experiment.

            Nokia Certified Qt Specialist.

            1 Reply Last reply
            0

            • Login

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