Important: Please read the Qt Code of Conduct - https://forum.qt.io/topic/113070/qt-code-of-conduct
Pointers With Signals and Slots
What precisely doesn't work ? Got any error message ?
@SGaist No errors, only that the buttons do not do anything... In the function ConfirmPress I put some text into console with "qDebug() <<" this way I know nothing results from pressing a button.
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?
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...
@SGaist My bad... This is working, at a later point in my code i set the buttons to be disabled, sorry for wasting your time.
Yes that was it. You slot looks good.
For that second task you can use QSignalMapper)