Change the Color and Font of QString or QLineEdit
<p>How can I change the color and font of QLineEdit?</p>

<p>Here is my code:</p>

<pre><code>self.lineEdit = QtGui.QLineEdit(widget)
self.lineEdit.setText("enter keywords here") #I want this to be in italics and in brown color
</code></pre>

<p>The <code>setText</code> line from <a href="http://pyqt.sourceforge.net/Docs/PyQt4/qlineedit.html#setText" rel="noreferrer">Documentation</a> says the text inside is of QString how can I change it's font and color?</p>