Quote Originally Posted by guilugi View Post
setMouseTracking(true) should do the trick.
With this, MainWindow will receive mouse events even if no buttons are being pressed.
I have tried this method, but it's no effect.
i wirte "this->setMouseTracking(true);" in the constructor.
if i write the code at a wrong position? please tell me?