Your browser does not seem to support JavaScript. As a result, your viewing experience will be diminished, and you have been placed in read-only mode.
Please download a browser that supports JavaScript, or enable it if it's disabled (i.e. NoScript).
It disappears on one side and appears immediately on another side. Like this:
Currently I use 2 labels to achieve this. But I'm curious is there any tidy ways to implement this without a clone widget.
@cza You may try to use one label and override paintEvent to paint two parts.
@JoeCFD Is it possible to override any parent methods instead of child? Because I want to make this effect apply to all child widgets.
Also it seems QQuickItem has no paintEvent()...
You could do this with ShaderEffectSource