qt中clicked(bool checked)和toggled(bool checked)的区别

先来看qt文档的解释 上面看出 共同点是:当点击按钮时,状态信号都会被发送。 不同点: clicked: this signal is not emitted if you call setDown,setChecked() or toggle(). toggled:this may be the result of a user action, click() slot activation ,
相关文章
相关标签/搜索