QPushButton* btn = (QPushButton*)sender(); // 获取到了发送该信号按钮的指针
slot_switchMainFunctionWidgetBtnClicked(btn->text());
QT获取Widget发送信号按钮指针以及文本
最新推荐文章于 2023-10-16 15:29:03 发布
QPushButton* btn = (QPushButton*)sender(); // 获取到了发送该信号按钮的指针
slot_switchMainFunctionWidgetBtnClicked(btn->text());