T
T
TaleFrance2021-03-29 21:17:38
Qt
TaleFrance, 2021-03-29 21:17:38

QPainter. How to draw a number + Animation?

How to draw a number (let's say 1) in QPainter and animate the change from 1 to 10 on button click?

Answer the question

In order to leave comments, you need to log in

1 answer(s)
J
Jacob E, 2021-03-29
@TaleFrance

Try to read the documentation and ask Google about examples of using QPainter, read any book on Qt. It's not a question, it's a "do the lab for me" task.
https://doc.qt.io/qt-5/qpainter.html#drawText-2

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question