Qt中对text在程序中设置字体大小的方法

一、设置字体粗细html setFontWeight(int weight) enum QFont::Weight可取如下各值:字体   二、设置字体斜体this setFontItalic(bool italic) true表示斜体,false为非斜体。code   三、设置下划线orm setFontUnderline(bool underline) true表示有下划线,false无。htm
相关文章
相关标签/搜索