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