one line is all you need to change.
def execute(self):
self.addMessage(' Start testing')
tk.update()
for i in range(1):
for j in range (2000):
i*j
self.addMessage(' Finish testing')
BTW, it's customary, though certainly not necessary, to call your main
window
Hello,
The function what I implemented takes 30 seconds. Before running it I want
to give some message to user by displaying them in the widget 'Text'. Seems
it's not useful because the message are always displayed after the excution.
Could you help me to resolve it? Thanks a lot.
best regards