Controlling Tooltip in a QCombobox using QT Designer
Math Enthusiast last edited by
I have created a QComboBox in QT Desinger.
Now,I just want to display a tooltip,when we point the cursor on the triangular button in the combo box i.e. at the corner most of the combo box.If I point my cursor on any other location in the combo box, I dont want to display the tooltip.
Can we do this? Like,do we have control over certain portion in the combobox (or) we can set tooltip only for the entire combobox?
Thanks in Advance!
VRonin last edited by
Can we do this?
Yes, just subclass
eventand if the
QEvent::ToolTipand the mouse is not on the arrow ignore the event, otherwise call the base class