Pyside setData flags on QStandardItem
<p>I have two questions here.</p>

<ol>
<li><p>Where can I find a list of all the available flags/properties I can set using the setData method of a QstandardItem? I only know of the one below because i came across it online.</p></li>
<li><p>How do I set the Font of my QStandardItem to be bold?</p></li>
</ol>

<p><strong>Python</strong></p>

<pre><code>doors = QtGui.QStandardItem("Doors")

doors.setData(QtGui.QBrush(QtGui.QColor(200, 10, 255, 255)), role=QtCore.Qt.ForegroundRole)
</code></pre>

<ol>
<li><p>The Qt Documentation lists the <a href="http://doc.qt.io/qt-4.8/qt.html#ItemDataRole-enum" rel="nofollow">item data roles</a>.</p></li>
<li><p>The font can be changed like this:</p>

<pre><code>font = item.font()
font.setBold(True)
item.setFont(font)
</code></pre></li>
</ol>

python pyside qstandarditem