2009年9月22日
摘要: 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) 编辑