title: How to combine two QColor objects with alpha channel?
body: <p>I have objects where the border color has already been determined.</p>
  
  <p>Now I want the user to be able to set at least the opacity of the fill pattern. E.g., the border is blue. The user sets the opacity to 128, so the fill pattern is also drawn in blue, but half-transparent. </p>
  
  <p>The next step would be to allow the user to also slightly adjust the color of the pattern. E.g.: "Use the border color, but make it half-transparent (alpha=128) and a little bit yellow-ish.".</p>
  
  <p>Is there a (useful) way to combine two colors where one does not have an alpha value set? Or would it make more sense to set an alpha value on the original color and combine it with an "overlay color" that also has an alpha value set?</p>
  
  <p>And is there a function (or otherwise, can someone give a short code snippet) to combine the two QColor objects?</p>