Ok, after a little review of signal and slots from the link I was able to figure it out.

Thanks