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. How to stop QPropertyAnimation if it is not finished yet.
Forum Updated to NodeBB v4.3 + New Features

How to stop QPropertyAnimation if it is not finished yet.

Scheduled Pinned Locked Moved Solved General and Desktop
qpropertyanimat
3 Posts 3 Posters 1.8k 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.
  • T Offline
    T Offline
    Tigran84
    wrote on 23 May 2017, 22:49 last edited by
    #1

    How to stop QPropertyAnimation or QParalelAnimation. I have animations groups sequences, how to stop first animation when started second one.

    J 1 Reply Last reply 24 May 2017, 05:00
    0
    • T Tigran84
      23 May 2017, 22:49

      How to stop QPropertyAnimation or QParalelAnimation. I have animations groups sequences, how to stop first animation when started second one.

      J Offline
      J Offline
      J.Hilk
      Moderators
      wrote on 24 May 2017, 05:00 last edited by
      #2

      @Tigran84 Take a look here:
      pause(), resume() and stop() is what you're looking for.


      Be aware of the Qt Code of Conduct, when posting : https://forum.qt.io/topic/113070/qt-code-of-conduct


      Q: What's that?
      A: It's blue light.
      Q: What does it do?
      A: It turns blue.

      1 Reply Last reply
      3
      • V Offline
        V Offline
        Vinod Kuntoji
        wrote on 24 May 2017, 09:31 last edited by
        #3

        Use,

        animation->stop()

        C++, Qt, Qt Quick Developer,
        PthinkS, Bangalore

        1 Reply Last reply
        5

        3/3

        24 May 2017, 09:31

        • Login

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