font¶ Module Contents¶ setFont(widget[, fontSize, weight]) set the font of widget getFont([fontSize, weight]) create font setFont(widget: PyQt5.QtWidgets.QWidget, fontSize=14, weight=QFont.Normal)¶ set the font of widget Parameters¶ widget: QWidgetthe widget to set font fontSize: intfont pixel size weight: QFont.Weightfont weight getFont(fontSize=14, weight=QFont.Normal)¶ create font Parameters¶ fontSize: intfont pixel size weight: QFont.Weightfont weight