Arrow-shaped tooltip
-
Hi guys!
I'm looking for a pop-up that will appear on the mouse hovering. I want something arrow-shaped, that look like that:
https://images.app.goo.gl/W6ksrTADG3NLhWUJAIt will contains text and images, but no clickable widget, it's only for displaying informations.
I had a look on QToolTip and QBaloonTip (this one is private, so it's probably not the good solution), but I don't think these will suit my needs. That's why I'm asking you if you know something that would work better for me.
Thank you!
Arnaud
-
hi
While you can use stylesheet and rich text with the QToolTip,
i never found a way to use another widget.So if you really want it to be arrow-shaped, i think you will need to roll your own
ToolTip Class.There is
https://github.com/mnutt/libqxt/blob/master/src/gui/qxttooltip.h
which does allows to set a custom widget for the tooltip so maybe it can be used as base.
However, the code is pretty old now so it might not be worth the porting efforts.