Qt animation without interpolation - qt

is it possible to deactivate the interpolation of the QGraphicsItemAnimation? i need a rectangle to "jump" between two positions, but i cannot use a QTimer due to the construction of the other classes, so the only thing that seems to work is an animation.

i got the idea of using this class from here: Smooth animations with QGraphicsScene
now that i know it is deprecated i figured using QPropertyAnimation combined with QSequentialAnimationGroup is doing the trick. by using animation duration of 0 and adding pause to the animation group i get a "jump"

Related

Qt: Make transparent QGraphicsItem objects obscure each other

I would like to add several QGraphicsItem objects to a scene and have them all be transparent (i.e. visible but not completely opaque) with respect to another QPixmapItem background image which is also part of the scene yet obscure each other.
At the moment I am not sure whether this is possible it all. Making all objects in question children of some other QGraphicsItem and then making the parent transparent does not have the desired effect so I guess I'm looking for some completely different approach but I have no idea where to start on this.
EDIT: It seems my explanation was not quite clear enough, I will try to add an example in a few hours time.
From what I understood, you wish to have QGraphicItems which have an opacity less than 100% so that the background image is visible.
To achieve the same, you can use the set opacity function.

Animation state changes but not actual animation

Been googling this but no luck.
Upgraded to Unity 5, trying to get extremely simple 2d sprite animation working. Have 2 clips, walk and idle, which have transitions triggered by a bool. (Same issue with an integer.) This all works. Changing the bool causes the animator to show its now playing the walk animation, however in the actual scene its still showing the idle animation. I can flip the bool but now in scene is playing the walk animation during both states (though the animator shows its switching to the idle animation when its supposed to.)
Have tried turning it on and off again, building the animator from scratch, swapping in different clips, setting the transition legth to 0, no change. Also did all the static batch/root animation options people suggested for other issues with u5.
The issue was - two animators stacked on top of each other, one in a child object. Sorry for the useless question.

Smooth transition effects using Qt

How to implement smooth transition effects while opening one Window from another using QT.
By smooth transition, I meant effects like we see in Iphones/Windows Metros etc.
Please suggest some libraries or how to implement this.
Thanks in advance.
You can try QPropertyAnimation Class and try animating opacity, size etc.

How to Queue or Pipeline Many Flex Animations?

I have a Flex application where some interactions cause many objects to require visual updates all at once. These updates translate into state changes for many MXML based components which have state based transitions. The transitions look great when just a handful of the components animate at the same time... but when all of them animate at once... the Flash Player just can't keep up.
Any ideas on how to create something of an animation pipeline so that everything can have a chance to keep up? Or maybe some other solution?
Did you try working with suspendBackgroundProcessing property of Effect or disableLayout property of Animate class descendants? You can define them on MXML animation definition nodes.
Personally, I try to stay away from the Adobe effects library as they're slow and not all that good. If you want animation 'groupings', consecutive animations, or even animation timelines, I would suggest you use TweenMax.

animation MOVE - same speed

I have a simple MOVE animation effect on my component in MXML. I need this animation to run with same speed (not accelerate at start, not slowly at the end animation (its default). I need one speed. Is this possible as set some parameter in MOVE?
Use an easing function. In this case you'll be looking for Linear.easeIn or Linear.ease out
Some links:
Adobe - Easing Functions

Resources