3

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.

enter image description here

Tay2510
  • 5,748
  • 7
  • 39
  • 58
Łukasz Przeniosło
  • 2,725
  • 5
  • 38
  • 74
  • Please check it carefully, it could be an empty space character. You my call `toolTip()` at runtime to see if any tool tip string has been set. – Tay2510 May 05 '15 at 07:01
  • check in the ui file whether an empty tooltip is set to the widget – Lahiru Chandima May 05 '15 at 07:02
  • 2
    See the related question: [*A box keeps appearing under the cursor*](http://stackoverflow.com/questions/29938796/a-box-keeps-appearing-under-the-cursor), asked just few days ago. – Tay2510 May 05 '15 at 07:04

1 Answers1

2

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>
Łukasz Przeniosło
  • 2,725
  • 5
  • 38
  • 74