Important: Please read the Qt Code of Conduct - https://forum.qt.io/topic/113070/qt-code-of-conduct

Is there a signal for ellipsis in a QComboBox?



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


Log in to reply