title: python QLineEdit Text Color
body: <p>I am trying to create a demonstration app to show how to change font colors.</p>
  
  <p>I can do it in QLabel and QTextEdit</p>
  
  <p>I have found no way to change the foreground text color for a QLineEdit.</p>
  
  <p>The only thing I've tried that does not throw an error is:</p>
  
  <pre><code>color = QColorDialog.getColor(defaultHost.textColor(), pWidget, 'Get Text Color')
  myPalette.setColor(myPalette.WindowText, QColor(color))
  </code></pre>
  
  <p>But, the text color remains black...</p>
  
  <p>Is it or is it not possible to do this?</p>