I have two questions here.
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.
How do I set the Font of my QStandardItem to be bold?
Python
doors = QtGui.QStandardItem("Doors")
doors.setData(QtGui.QBrush(QtGui.QColor(200, 10, 255, 255)), role=QtCore.Qt.ForegroundRole)
The Qt Documentation lists the item data roles.
The font can be changed like this:
font = item.font()
font.setBold(True)
item.setFont(font)