[英]How to change QPushButton Font Family
How can I change the font family of my qpushbutton. 如何更改我的qpushbutton的字体系列。 I don't like the default font.
我不喜欢默认字体。 SetFont and setStyleheet seems not to work
SetFont和setStyleheet似乎不起作用
QFont font = ui->pushButton->font();
font.setPointSize(16);
ui->pushButton->setFont(font);
声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.