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

Popular posts from this blog

android - How can I execute default sms app? -

jquery .css('text-decoration') doesn't work from parents -

python - sqlite3.OperationalError: near "REFERENCES": syntax error - foreign key creating -