Construct the QLinearGradiant using this constructor, and make sure that start and stop have same x coordinate
Qt Code:
To copy to clipboard, switch view to plain text mode
or
use setStart(), setFinalStop(), to set the points with same x coordinate
Bookmarks