qt - How to set font style on the first item of a QComboBox? -


I have to set the first item's font style on QComboBox. How do I make the QT framework I can do?

The problem is resolved.

  combo SetItemData (rowIndex, QVariant (myCustomFont), Qt.FontRole)   

I am using PyQt

Comments