//PwdDialog 的自定义信号
signals:
void verifyResult(bool success);
//**************************************************
.cpp
PwdDialog *mPwdDialog = new PwdDialog(this);
connect(mPwdDialog,&PwdDialog::verifyResult,[=](bool res){
if(res){
//
}
});
qt connect的用法
最新推荐文章于 2024-06-16 17:00:00 发布