Qt设置背景颜色,QLabel,QWidget……
摘要:
void setBackground(QWidget* widget, const QBrush& brush) { QPalette palette(widget->palette()); palette.setBrush(QPalette::Background, brush); widget- 阅读全文
posted @ 2022-08-26 13:19 OctoberKey 阅读(361) 评论(0) 推荐(0)
浙公网安备 33010602011771号