background-color:qlineargradient(spread:pad,x1:0,y1:0,x2:0,y2:1,stop:0 #87CEFA,stop:1 #292F38); /*背景颜色*/
画线部分可以达到渐变的效果图