Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • Users
  • Groups
  • Search
  • Get Qt Extensions
  • Unsolved
Collapse
Brand Logo
  1. Home
  2. Qt Development
  3. General and Desktop
  4. Arrow-shaped tooltip
QtWS25 Last Chance

Arrow-shaped tooltip

Scheduled Pinned Locked Moved Unsolved General and Desktop
2 Posts 2 Posters 377 Views
  • Oldest to Newest
  • Newest to Oldest
  • Most Votes
Reply
  • Reply as topic
Log in to reply
This topic has been deleted. Only users with topic management privileges can see it.
  • D Offline
    D Offline
    duarna
    wrote on last edited by
    #1

    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/W6ksrTADG3NLhWUJA

    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!

    Arnaud

    1 Reply Last reply
    0
    • mrjjM Offline
      mrjjM Offline
      mrjj
      Lifetime Qt Champion
      wrote on last edited by
      #2

      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.

      1 Reply Last reply
      0

      • Login

      • Login or register to search.
      • First post
        Last post
      0
      • Categories
      • Recent
      • Tags
      • Popular
      • Users
      • Groups
      • Search
      • Get Qt Extensions
      • Unsolved