steve.bush
19th March 2011, 06:37
Hi,
So I have a standalone application which has a QMainWindow. I created another application which is also a QMainWindow. I tried linking them using a button but it did not work. I then changed the second application to QDialog and then the button worked! But since I changed it from QMainWindow to QDialog, the slots stopped working on the new application (I guess the dialog cannot have many buttons..)
Anyway, how do I get this working so that the first QMainWindow opens the second QMainWindow or QDialog AND the buttons in the second application still work..?
Thanks.
So I have a standalone application which has a QMainWindow. I created another application which is also a QMainWindow. I tried linking them using a button but it did not work. I then changed the second application to QDialog and then the button worked! But since I changed it from QMainWindow to QDialog, the slots stopped working on the new application (I guess the dialog cannot have many buttons..)
Anyway, how do I get this working so that the first QMainWindow opens the second QMainWindow or QDialog AND the buttons in the second application still work..?
Thanks.