会员
周边
众包
新闻
博问
闪存
赞助商
所有博客
当前博客
我的博客
我的园子
账号设置
简洁模式
...
退出登录
注册
登录
西北逍遥
每一个不能早起的日子,都是对生命的浪费!
博客园
首页
新随笔
联系
订阅
管理
2020年9月30日
多个QPushbutton绑定统一个槽函数
摘要: 多个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)
编辑
公告