So this is the effect what I want to get. Left and right parts of a label should have different filling/stroke colors (actually stroke size is also changed). And the proportion may change dynamically, and can be some position inside a letter.
I know I should override the paintEvent but still have no idea of how to do it. Any ideas?