Tooltip-like squares on a QCustomPlot widget

喜你入骨 提交于 2019-12-13 06:09:57

问题


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>&lt;html&gt;&lt;head/&gt;&lt;body&gt;&lt;p&gt;&lt;br/&gt;&lt;/p&gt;&lt;/body&gt;&lt;/html&gt;</string>
</property>


来源:https://stackoverflow.com/questions/29938796/a-box-keeps-appearing-under-the-cursor

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!