Hi,
Qt Code:
  1. background: qlineargradient(x1:0, y1:0, x2:1, y2:1,
  2. stop:0 white, stop: 0.4 gray, stop:1 green)
To copy to clipboard, switch view to plain text mode 
Using the above syntax i can able to change the my widget(push button) background color from top-left corner to bottom-right corner.
But my requirement is i have to fix push button top layer(i.e x1:0, y1:0, x2:0, y2:1) with one color and bottom layer( i.e x1:1, y1:0, x2:1, y2:1)with different color.How can i achieve this? Is it possible or not?

thank you.