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 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.HilkJ 1 Reply Last reply
    0
    • T Tigran84

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

      J.HilkJ Online
      J.HilkJ Online
      J.Hilk
      Moderators
      wrote on 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
      • Vinod KuntojiV Offline
        Vinod KuntojiV Offline
        Vinod Kuntoji
        wrote on last edited by
        #3

        Use,

        animation->stop()

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

        1 Reply Last reply
        5

        • Login

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