UID:88043
UID:78397
引用第2楼wangvance于2010-08-06 10:26发表的 :多谢版主!那如果是判断函数是否被执行,如被执行,才可以执行另一个函数,如何设置。指教了
我感觉应该不是简单的SLOT,SIGNAL的问题。
void QAbstractButton::clicked ( bool checked = false ) [signal]This signal is emitted when the button is activated (i.e. pressed down then released while the mouse cursor is inside the button), when the shortcut key is typed, or when click() or animateClick() is called. Notably, this signal is not emitted if you call setDown(), setChecked() or toggle().If the button is checkable, checked is true if the button is checked, or false if the button is unchecked.