linux thread call method

view full story

http://stackoverflow.com – I work in qt and when I press the button GO I need to continuosly send packages to the network and modify the interface with the information I receive.The problem is that I have a while(1) int the button so the button never finishes so the interface is never updated.I thought to create a thread in the button and put the while(){} code there.My question is how can I modify the interface from the thread ?(For example how can I modify a textBox from the thread ?) (HowTos)