View Full Version : Tooltip enter/leave event.
bunjee
15th December 2007, 01:49
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?
marcel
15th December 2007, 08:28
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.
bunjee
15th December 2007, 12:42
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?
> The ones inside / parented in the popup widget.
BTW, the window flag for a tooltip is Qt::ToolTip, not popup.
> Actually Qt::ToolTip doesn't draw a shadow under the widget and I need that shadow to distinguish it from the rest
bunjee
15th December 2007, 12:46
I've done some further test.
Looks like it's a Qt 4.4 snapshot bug.
I'm going back to 4.3.3.
Powered by vBulletin® Version 4.2.5 Copyright © 2024 vBulletin Solutions Inc. All rights reserved.