Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • Users
  • Groups
  • Search
  • Get Qt Extensions
  • Unsolved
Collapse
Brand Logo
  1. Home
  2. Qt Development
  3. Qt for Python
  4. Is there a signal for ellipsis in a QComboBox?

Is there a signal for ellipsis in a QComboBox?

Scheduled Pinned Locked Moved Unsolved Qt for Python
1 Posts 1 Posters 287 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.
  • B Offline
    B Offline
    bporter0405
    wrote on last edited by
    #1

    Hello everyone,

    Is there a way to detect when an item inside of a QComboBox has elided text? I am trying to implement a tool tip that only shows up on hover when the text is elided. I've taken a look at the QComboBox documentation and the closest I got was simply using the setItemData() method to get the tool tips to display at all.

    Maybe subclassing the QComboBox to create my own custom signal is the way to go, but I am not sure how to go about it. Any suggestions?

    Thank you!

    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