Apologies for the late reply....
this is what i need...
From the sub-window created when a button is pressed(Creating several sub-windows based on number of times Button is pressed)
I Added a check-box on the subwindow
That when checked it should emit a signal to the main window(Signifying focus status).
Creating the signal is no problem
I have a problem defining the SLOT
//this is in the main Window .cpp
//The signal is emited from a sub-window (the sub-window is only created when button is pressed)
connect(this, SIGNAL(checked()), this, SLOT(doSomething));
error
//this is in the main Window .cpp
//The signal is emited from a sub-window (the sub-window is only created when button is pressed)
connect(this, SIGNAL(checked()), this, SLOT(doSomething));
error
To copy to clipboard, switch view to plain text mode
How do i create the slot in mainWindow to pick up the signal from sub-window
//will pass certain variables from sub-window to main-window via the signal and slot mechanism
Many thanks
Bookmarks