字体选择框QFontComboBox
时间:2019-02-10 10:08:38
收藏:0
阅读:512
self.combobox_2 = QFontComboBox(self) # 实例化字体列表框
combobox.currentFont() 返回字体选择框中当前的字体
self.combobox_2.currentFontChanged.connect(lambda: self.on_combobox_func(self.combobox_2)) #字体选项发生变化时发出信号
原文:https://www.cnblogs.com/liming19680104/p/10358654.html
评论(0)