I am creating a UI for a multi threaded server. Actually I want to ask if I am emitting a signal from mainwindow class as soon as the send button is pressed like this: