本文主要介绍Qt的connect接口
connect(const QObject *sender, const char *signal, const QObject *receiver, const char *method, Qt::ConnectionType type = Qt::AutoConnection)
connect(const QObject *sender, const QMetaMethod &signal, const QObject *receiver, const QMetaMethod &method, Qt::ConnectionType type = Qt::AutoConnection)
(默认)如果接收器位于发出信号的线程中,则使用 DirectConnection。否则,将使用 QueuedConnection。连接类型是在发出信号时确定的。
你才小学生
(nicaixiaoxuesheng)