title: Setting the text colour of a tooltip in PyQt
body: <p>I've been adding tooltips to an app that I've been writing, and had issues with the colour of the tooltip text.</p>
  
  <p>The app has a number of buttons, which change background and text colour depending on what the status of the button is. The text is either white or black.</p>
  
  <p>The tooltip text colour always seems to follow the colour of the button text. When the text on the button is white, then it's all fine, but if the text on the button is black, then the tooltip is black text on a black background. What I want to be able to have is the tooltip to always be white text on black, whatever the button's colour.</p>
  
  <p>For this, I was setting my tooltip using:</p>
  
  <pre><code>self.setToolTip(toolTip)
  </code></pre>
  
  <p>Now I did find a potential solution to this, but it had its own issues:</p>
  
  <pre><code>self.setToolTip("&lt;font color=white&gt;%s&lt;/font&gt;" % toolTip.replace("\n", "&lt;br/&gt;"))
  </code></pre>
  
  <p>However, when I do this, the lines in my tooltip start wrapping, rather than keeping the full line length on one line, which is what I want it to do.</p>
  
  <p>Any suggestions on either how to change the tooltip colour without using HTML, or how to get the HTML-based tooltip to not wrap?</p>
  
  <p>Thanks</p>