it is working! one way...
QGroupButton *myGroup;
QGroupButton *myGroup;
To copy to clipboard, switch view to plain text mode
in the constructor I've make a connection
connect(myGroup,
SIGNAL(buttonClicked
(QAbstractButton*)),
this,
SLOT(mySlot
()));
connect(myGroup, SIGNAL(buttonClicked(QAbstractButton*)), this, SLOT(mySlot()));
To copy to clipboard, switch view to plain text mode
and it works fine
i tried the qt4 way:
void on_myGroup_buttonClicked( QAbstractButton * button );
To copy to clipboard, switch view to plain text mode
and i get this error at runtime:
QMetaObject::connectSlotsByName: No matching signal for on_myGroup_buttonClicked(QAbstractButton*)
Bookmarks