Find centralized, trusted content and collaborate around the technologies you use most.
Teams
Q&A for work
Connect and share knowledge within a single location that is structured and easy to search.
QComboBox の最初の項目のフォント スタイルを設定します。Qt フレームワークを使用しています。どうやってやるの?
問題が解決しました。
combo.setItemData(rowIndex, QVariant(myCustomFont), Qt.FontRole)
私はPyQtを使用しています