@Pablo-J.-Rogina
Thanks for the time to make example code.
It didn't work straight away, this because I use qt4.8 and you the newer one probably.
So I changed your code to the older syntax to get it working.
I would like to thank you and all others for there help!
Again I learned a lot!
Thanks for helping!