问题
I am using QCustomPlot in Qt Creator. I haven't specified any tooltips for my widget or anything. When I hold down my cursor on the plot without moving, an empty tooltip-like thing appears. I am wondering how to turn this off. I appreciate any hint in this matter.
回答1:
Thanks for help guys, in the MainWindow.ui file I had to remove this part of code (it was auto generated):
<property name="toolTip">
<string><html><head/><body><p><br/></p></body></html></string>
</property>
来源:https://stackoverflow.com/questions/30045690/tooltip-like-squares-on-a-qcustomplot-widget