在ui上添加两个控件,分别为lable和pushButton。 在mainwindow.h中添加两个事件:mouseMoveEvent 和 keyPressEvent在mainwindow.h 你的当前访问异常,请进行认证后继续阅读剩余内容。 提交