01-03-2013 11:04 AM
The code snippet at the end of this page,
connects the signal buttonSelected , that doesn't exist for the NotificationDialog
I'm not sure if I'm missing something, but I think that it is an error on the documentation.
01-28-2013 10:21 AM
Noticed the same this. It has finished signal. So the connection will look like this
bool success = QObject::connect(pNotification,
But it will give us only result type, no pushed button. How did you resolve this?
01-28-2013 10:29 AM - edited 01-28-2013 10:31 AM
There's a function to get the selected button:
I think it can be called from finished() signal's handler.
01-28-2013 10:31 AM
inside your slot to get a pointer to the sender, and add the proper qobject_cast< Button* >( senderBtn ) , and you should get the pressed button.
01-28-2013 10:35 AM