Create custom qml type using images
QML and Qt Quick
2
Posts
2
Posters
643
Views
2
Watching
-
HI- I have some slices in png file. I want to create a qml type with these images. The image is basically a circle. My intention is to create a circular progress bar. Any advice?
-
HI- I have some slices in png file. I want to create a qml type with these images. The image is basically a circle. My intention is to create a circular progress bar. Any advice?
@RockAndCode Since you have slices of Images ( assuming which indicates progress at different stages) then you can set them using
Image
elementssource
property periodically.
I had created a circular progress bar not using Images but painting them usingQQuickPaintedItem
. May be it can be helpful for your work. It is here.