Qt 3.1.2 :
Main Window 与 Dialog 之间如何应用信号槽进行通信,
详细:
Main Window 的菜单触发打开一个Dialog ,Dialog发出一个signal ,Main Window 接收
connect()的第三个参数receiver不知道怎么些?
connect(this, SIGNAL(ReLogin(QString ,int)), this->parent(), SLOT(ChangePowerSlot(QString ,int)));
我试了this->parent() 不行,请高手赐教!
谢谢
[ 此贴被XChinux在2005-09-03 22:44重新编辑 ]