I have a problem. I have this code:
balls = [Ball() for i in range(1, 10)]
So, when I say Ball() this will draw a ball on QDialog. And then when this is done, I am moving the balls around QDialog
in an infinite loop. I want to say something like while QDialog.isVisible()
move them around.
I don't have any parent dialog or form or any child dialog or form. It's all just about this QDialog
. I know that it's stupid to do with QDialog
, but I am not allowed to use anything else than just QDialog
.