qt鼠标移动事件,我写的代码为什么不能用,进入不了move里。。。

2025-03-20 21:48:54
推荐回答(1个)
回答1:

this->setMouseTracking (true);

你调用一下这个试试。如果这是子窗口,那它的父窗口也调一下。