Navigation

    Qt Forum

    • Login
    • Search
    • Categories
    • Recent
    • Tags
    • Popular
    • Search
    • Unsolved
    1. Home
    2. Tags
    3. qpropertyanimat
    Log in to post

    • UNSOLVED Creating a dark overlay to apply on top of other widgets
      General and Desktop • qpropertyanimat overlay qgraphicsopacit • • saeid0034  

      2
      0
      Votes
      2
      Posts
      164
      Views

      Here is the same question with a working example https://codereview.stackexchange.com/questions/274781/qt-creating-a-dark-overlay-to-apply-on-top-of-other-widgets-with-animation
    • UNSOLVED Using QWebEngineView seems to disrupt QPropertyAnimation smoothness, even if QWebEngineView has just been destroyed
      QtWebEngine • qwebengineview qpropertyanimat • • Ienfield  

      1
      0
      Votes
      1
      Posts
      186
      Views

      No one has replied

    • UNSOLVED How do I animate the position change of a Widget while using a layout manager?
      General and Desktop • python pyqt5 pyqt python3 qpropertyanimat • • subnub99  

      1
      0
      Votes
      1
      Posts
      946
      Views

      No one has replied

    • UNSOLVED QPropertyAnimation tearing and/or stuttering
      General and Desktop • qt5 qpropertyanimat • • Tigran84  

      1
      0
      Votes
      1
      Posts
      516
      Views

      No one has replied

    • SOLVED How to stop QPropertyAnimation if it is not finished yet.
      General and Desktop • qpropertyanimat • • Tigran84  

      3
      0
      Votes
      3
      Posts
      1254
      Views

      Use, animation->stop()
    • SOLVED QPropertyAnimation doing nothing
      Mobile and Embedded • qpropertyanimat • • McLion  

      11
      0
      Votes
      11
      Posts
      2460
      Views

      OK. I changed the code to make sure there is nothing else consuming CPU power while moving. Still, specially when moving fast, edges are jagged while moving and sometimes it even jumps. Could be the limit of the ARM CPU or the directFB graphic acceleration. It would be better if supplying new coordinates to the FB would be synced to the frame rate, but I don't think that I can change something on that level. Too bad ..
    • Sliding movement of one widget from other one
      General and Desktop • widget qpropertyanimat sliding • • Sergei_Pet  

      4
      0
      Votes
      4
      Posts
      1430
      Views

      You still first need to move your widget and only then can you put it in your QStackedWidget's layout.
    • QPropertyAnimation code not workable
      General and Desktop • qpropertyanimat qparallelanimat • • houmingc  

      2
      0
      Votes
      2
      Posts
      4593
      Views

      The first one: both button and animation are local stack variables and get destroyed at the end of the function, before anything starts to animate. Don't do that. The second one: if this points to a top level widget then its parent is most probably null. You can't animate a property of non-existing object. Make sure the first parameter points to a valid object. Also make sure you either delete the animation object somewhere or give it a parent (3rd parameter) or else you're leaking memory. Third one: you created two animations without any values i.e. it doesn't know how to animate the "geometry" property. Before you start the group add to your animations some duration, start and end values like in your previous examples. Also, again, make sure you delete the animations and the group or give them a parent or you're leaking memory. p.s. This forum no longer uses @ for code blocks. To properly format code just indent it either 4 spaces or a tab. I edited your post to fix this.