Hey guys, I've created a tooltip widget.
...
setWindowFlags(Qt::Popup);
...
For some reason I don't get any enter / leave event in my parented widgets.
Any idea?
Hey guys, I've created a tooltip widget.
...
setWindowFlags(Qt::Popup);
...
For some reason I don't get any enter / leave event in my parented widgets.
Any idea?
What widgets would be those?
The ones that have the Popup flag, or the ones that should display the popup? Did you reimplement their enter/leave events correctly?
BTW, the window flag for a tooltip is Qt::ToolTip, not popup.
> The ones inside / parented in the popup widget.What widgets would be those?
The ones that have the Popup flag, or the ones that should display the popup? Did you reimplement their enter/leave events correctly?
> Actually Qt::ToolTip doesn't draw a shadow under the widget and I need that shadow to distinguish it from the restBTW, the window flag for a tooltip is Qt::ToolTip, not popup.
I've done some further test.
Looks like it's a Qt 4.4 snapshot bug.
I'm going back to 4.3.3.
Bookmarks