Important: Please read the Qt Code of Conduct - https://forum.qt.io/topic/113070/qt-code-of-conduct
Scanlines effects on background
It's possible to make this effect (scanlines) using Gradients? Which other alternatives do I have?
VRonin last edited by VRonin
Sure, just set up one dark and one lit up line and then use
QGradient::RepeatSpreadto fill the outside
EDIT: Sorry, I just noticed you want it in QML and my answer is for Qt Widgets
Oh Thanks, I'll try it. I didn't find it in the documentation.
@VRonin No problem. I'll wait for another answer. Thanks!
ODБOï last edited by
Which other alternatives do I have?
It is possible to use @VRonin s solution
create any visual Widget and subclass QQuickPaintedItem to expose it to QML
Thanks all for the responses. I found this awesome project which have the effects that I want. I will study it.
That's a good resource. You'll need shaders to achieve that effect.