调用sender();函数

例如获取一个QRadioButton

QRadioButton *rb = qobject_cast<QRadioButton *>(sender());

05-19 05:55