QQuickView (QML) transparent for mouse events
问题 I have a big rectangle with a button centered. I would like that my rectangle is transparent to mouse events except for the button, which must be clickable. I mean, I would like to be able to select code under my rectangle with the mouse, exactly as if no Rectangle was displayed. I have added a MouseArea for all the big Rect, trying to ignore mouse events, but it does not work. I read that 'Qt::WA_TransparentForMouseEvents' is used for that purpose, but in Qt windows as fasr as I know, not