MainWindow *ptr = NULL;
ptr = (MainWindow*)parentWidget();
connect(ptr, SIGNAL(param_result(bool)), this, SLOT(param_add(bool)));
QT 子窗口监听主窗口信号
最新推荐文章于 2024-01-30 13:41:33 发布
MainWindow *ptr = NULL;
ptr = (MainWindow*)parentWidget();
connect(ptr, SIGNAL(param_result(bool)), this, SLOT(param_add(bool)));