Pointers With Signals and Slots
-
Hi,
What precisely doesn't work ? Got any error message ?
-
Might be a silly question but what is the signature of ConfirmPress ?
-
@SGaist Sorry, not very familiar with the term. But, from a quick Google search this is what you want?
void ConfirmPress();
That's how it is right now, but this may change as there is little content in the function, I've just been trying to get the buttons working... I still need a way to distinguish which button was pressed as well...
-
Yes that was it. You slot looks good.
For that second task you can use QSignalMapper)