摘要: 多个QPushbutton绑定同一个槽函数,槽函数通过sender判断点击的按钮。 int i = 0; QString str("pushButton %1"); QPushButton* pushButton; for (i = 0; i<16; ++i) { pushButton = new 阅读全文
posted @ 2020-09-30 16:37 西北逍遥 阅读(1398) 评论(0) 推荐(0) 编辑