all you really have to do is this for simpler programs
then use the editor to connect to target
wherever you want the signal to "emit" put
I recommend it is used for simpler programs as this requires you to connect the signals when with more complicated ones the program may have to do it itself. So hears the code.