Let me resolve it myself:
There are 3 tiers of widgets: aperture -> overlay -> main window
aperture was set to Qt::WA_TransparentForMouseEvents
overlay was set to Qt::WA_TranslucentBackground...
Hi!
In my application there's a mechanism which "snaps" certain instances of the openGL scene in a fbo (something like a snapshot but keeping also the depth information). Those snaps are used at...
I should have noted that the overlay inherits QDialog. It basically has a 3x3 grid layout, the center of which is the aperture. The aperture gets moved around quite a bit, so the widget underneath...
zaphod.b 23rd May 2022, 16:30As a workaround, you might be able to install an event handler on the overlay that relays the mouse events to the underlying widget. You'll probably need to do some coordinate mapping if the overlay...
d_stranz 23rd May 2022, 15:25Our desktop app has an overlay over the main window with an "aperture" that is made transparent to mouse events by setting the Qt::WA_TransparentForMouseEvents attribute. This used to work well in an...
zaphod.b 23rd May 2022, 14:06Qt Centre is a community site devoted to programming in C++ using the Qt framework developed at Digia.
If you have any problems with Qt or its usage, you can get help from the members of Qt community on our forum.
Don't forget to check out our links section for more Qt resources.
Qt is a cross-platform application and UI framework. Using Qt, you can write web-enabled applications once and deploy them across desktop, mobile and embedded operating systems without rewriting the source code.
QOpenGLWidget and swapBuffers outside paintGL
Yesterday 08:53 by aftos