Hi all,

I'm making Qt GUI application with about 5 windows and I need idea how to desing the code. Lets say I have two forms, the first is the main application window the second is some other window. Now here's the deal - I will initalise the main window from the main() function as an object not pointer, after that in the MainWindow class I will put pointer from the other(secondary) window. I will be able to change the UI in to the secondary window from the main window but I will not be able to change things on the main window via the secondary window because he will not have a pointer to the main window. So I ask how I can update both windows UI's from each other classes without to use global pointers.

Thanks.