def onSelectFontCode( self, *args ):
font = QtGui.QFont( self.code_face, self.code_point_size )
font, ok = QtWidgets.QFontDialog.getFont( font, self, T_('Choose font') )
if ok:
self.code_face = font.family()
self.code_point_size = font.pointSize()
self.code_font_text.setText( '%s %dpt ' % (self.code_face, self.code_point_size) )
self.code_font_text.setFont( font )
wb_scm_preferences_dialog.py 文件源码
python
阅读 23
收藏 0
点赞 0
评论 0
评论列表
文章目录