Qt Make виджет игнорировать события мыши

theWidget->setAttribute(Qt::WA_TransparentForMouseEvents);
Concerned Capybara