Important: Please read the Qt Code of Conduct - https://forum.qt.io/topic/113070/qt-code-of-conduct
How to simulate a line generation step by step?
AustinGreyson last edited by AustinGreyson
It's just that the final result is displayed so fast and I want to pause the generation at each step to simulate it.
How do I do that in Qt so after drawing each point it waits for some millisecond then draw the next point and so on. Please can anyone help me on this? Here is the code which I want to modify.
@AustinGreyson You can use QTimer with a timeout. On each timeout you would calculate and show next point.