怎么不说话, connect(timer,SIGNAL(timeout()),SLOT(sendData())); connect(updatetimer,SIGNAL(timeout()),this,SLOT(updatetime())); 有的有receiver有的有没有?搞不懂
bool QObject::connect ( const QObject * sender, const char * signal, const QObject * receiver, const char * method, Qt::ConnectionType type = Qt::AutoConnection ) [static] 这就是手册里面的解释
球解 connect(timer,SIGNAL(timeout()),SLOT(sendData())); 这个函数里面为什么没有receive只有槽函数 谢谢
16,215
社区成员
26,594
社区内容
加载中
试试用AI创作助手写篇文章吧