I try to add to combobox list of units with superscripts. One of these is cm^-1. How can I put it as text? self.cbUnit.addItems(["unit 1", "unit 2", "cm-1"])
找到解决方案。
self.cbUnit.addItems(["unit 1", "unit 2", "cm\⁻\¹"])
The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.