Qt 绘图渐变填充QGradient 可以和 QBrush 组合使用,来指定渐变填充。 Qt 目前支持三种类型的渐变填充: 1、QLinearGradient:显示从起点到终点的渐变 2、QRadialGradient:以圆心为中心显示渐变2023-02-21html-css100