A
A
Artem Filimonov2019-11-26 08:22:56
Qt
Artem Filimonov, 2019-11-26 08:22:56

How to animate items on QQuickPaintedItem?

I want all the animation and all the display of the widget to be in C++ code
. If simplified. then the widget is 10 circles on which the "red circles" are located.
When changing values, they should move, of course, along their circumference.
ideally, I want the paint () of the dial to work only when the size is changed, and these red dots themselves are processed independently in the paint in order to pull QPropertyAnimation on them

Answer the question

In order to leave comments, you need to log in

1 answer(s)
A
Artem Filimonov, 2019-12-02
@Nvek

C++ is not superfluous here, because animation and display are on the C++ layer, stop suggesting edits of the crossed out cpp
, I made the animation, you can close the topic.
I made properties as the position of a specific element and with the help of propertyanimation I set the final value for it. All

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question