You are welcome :)
it takes some time to get used to design/program
with signals and slots.
It can be a bit of a challenge to have pointers to both objects in same place but often the mainwindow is a good place.
Note that its also ok to connect signal to signal.
This can be used to surface some signals from inside a class to outside world.
Like if you have a dialog with an TextEdit. The textEdit is private so outside cannot
connect directly to it.
You can then connect signal to a new public signal and the outside world can connect to this new signal. ( like TextReady)
The good thing about this is that if you one day change the TextEdit to a combobox, the rest of the program do not need to change. It will still get the data via the new public signal TextReady.
In a non trivial program, such encapsulation/hiding of details is
worth every penny.