QCustomPlot窗口小部件上的工具提示样方块 [英] Tooltip-like squares on a QCustomPlot widget
本文介绍了QCustomPlot窗口小部件上的工具提示样方块的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!
问题描述
我在Qt Creator中使用QCustomPlot。我没有指定任何工具提示我的小部件或任何东西。当我按住我的光标在绘图上不移动,一个空的工具提示似的东西出现。我想知道如何关闭这。非常感谢。
< property name =toolTip>
< string>& lt; html& gt;& lt; head /& gt;& lt; body& gt;& lt; p& gt;& lt; br / < / p& gt;& lt; / body& gt;& lt; / html& gt;< / string>
< / property>
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.
解决方案
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>
这篇关于QCustomPlot窗口小部件上的工具提示样方块的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!
查看全文