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

qt - switch/case statement in C++ with a QString type -

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

Python's equivalent for Ruby's define_method? -