//设置字号
QFont ft;
ft.setPointSize(30);
ui.SimTimelabel->setFont(ft);

//设置颜色
QPalette pa;
pa.setColor(QPalette::WindowText, Qt::blue);
ui.SimTimelabel->setPalette(pa);

相关文章:

  • 2021-12-07
  • 2021-12-10
  • 2021-11-20
  • 2021-09-27
  • 2021-11-18
  • 2021-12-10
猜你喜欢
  • 2021-12-16
  • 2021-12-12
  • 2021-11-30
  • 2021-12-06
  • 2021-12-03
  • 2021-10-14
  • 2021-10-14
相关资源
相似解决方案