How to set font style on the first item of a QComboBox?
-
13-11-2019 - |
문제
I would to set the font style of first item on a QComboBox. I'm using the Qt framework. How can I do that?
해결책
Problem solved.
combo.setItemData(rowIndex, QVariant(myCustomFont), Qt.FontRole)
I'm using PyQt
제휴하지 않습니다 StackOverflow