临时阻塞信号
bool QObject::blockSignals(bool block);
断开连接
bool QObject::disconnect(const QObject *sender, const char *signal, const QObject *receiver, const.char *method);
断开连接不能立刻执行,这种情况使用临时阻塞信号
{
disconnect()
… …
connect()
}
临时阻塞信号
bool QObject::blockSignals(bool block);
断开连接
bool QObject::disconnect(const QObject *sender, const char *signal, const QObject *receiver, const.char *method);
断开连接不能立刻执行,这种情况使用临时阻塞信号
{
disconnect()
… …
connect()
}