QT 子窗口监听主窗口信号

来源:互联网 发布:数控系统模拟软件 编辑:程序博客网 时间:2024/06/09 18:50
MainWindow *ptr = NULL;ptr = (MainWindow*)parentWidget();connect(ptr, SIGNAL(param_result(bool)), this, SLOT(param_add(bool)));


0 0
原创粉丝点击