Qt主窗口向子窗口传值

通过信号与槽传值

将子窗口的槽函数写到public slots:中即可从主窗口调用slot。

猜你喜欢

转载自www.cnblogs.com/mc-r/p/12194808.html
今日推荐