How to change the colour on the image?
QML and Qt Quick
3
Posts
2
Posters
2.1k
Views
1
Watching
-
It is. But there are so many ways to do this depending on what your needs actually are...
One could be simply this: place a qml Rectangle over your image, make it partially transparent and adjust the colour as you wish (take a look at Qt.tint() method, might come in handy). Or use several different source images and swap them when the theme is changed. Or write your own painting code for a new qml component. Or use GL shaders.