Greetings,
I am wondering if it is possible to use a QGradient and assign it a custom color range.
Let me explain : I am building an histogram with Qwt, and I wish to have the columns of that histogram to follow a specific set of colors.
Example: When the user selects a cold color range, the histogram is displayed using the following method : The leftmost column starts in black and goes slowly towards blue, the middle column goes from blue to pink and the rightmost column goes from pink to white.
My question is, if I use QLinearGradient and give it stops increments of 0.25 with black, blue, pink, white as the stop colors, can I make it follow the colors I give it or is it always going to use the chromatic circle's gradient to put between the stops?
Thank you,
Bookmarks