Important: Please read the Qt Code of Conduct -

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:

    It 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!


  • Lifetime Qt Champion

    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
    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.

Log in to reply