How to make the function called in a thread run in GUI?

I called a function in another function running in a thread, but I want that func called run in the main window. Is there any method other than emitting signals? If not, hope to get some help about how to use emit achieve this.