Qt怎么设置字体

来源:互联网 发布:数据结构中kmp算法理解 编辑:程序博客网 时间:2024/04/29 06:25
 以QLabel为例···

         QFont f("黑体",12,QFont::Bold);

    label_2->setFont(f);
原创粉丝点击