会员
周边
众包
新闻
博问
闪存
所有博客
当前博客
我的博客
我的园子
账号设置
简洁模式
...
退出登录
注册
登录
baizx
博客园
首页
新随笔
联系
订阅
管理
2009年9月22日
如何绑定多个action到一个slot
摘要: 1.设置userdata,并将多个action绑定到同一个slot a->setData(action); //这里的action可以是一个qvariant值 connect(a, SIGNAL(triggered(bool)), this, SLOT(actionslot(bool))); void actionslot(bool) { ...
阅读全文
posted @ 2009-09-22 09:30 baizx
阅读(372)
评论(0)
推荐(0)
编辑