Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • Users
  • Groups
  • Search
  • Get Qt Extensions
  • Unsolved
Collapse
Brand Logo
  1. Home
  2. Qt Development
  3. QML and Qt Quick
  4. Create custom qml type using images

Create custom qml type using images

Scheduled Pinned Locked Moved QML and Qt Quick
2 Posts 2 Posters 758 Views 2 Watching
  • Oldest to Newest
  • Newest to Oldest
  • Most Votes
Reply
  • Reply as topic
Log in to reply
This topic has been deleted. Only users with topic management privileges can see it.
  • R Offline
    R Offline
    RockAndCode
    wrote on last edited by
    #1

    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?

    p3c0P 1 Reply Last reply
    0
    • R RockAndCode

      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?

      p3c0P Offline
      p3c0P Offline
      p3c0
      Moderators
      wrote on last edited by
      #2

      @RockAndCode Since you have slices of Images ( assuming which indicates progress at different stages) then you can set them using Image elements source property periodically.
      I had created a circular progress bar not using Images but painting them using QQuickPaintedItem. May be it can be helpful for your work. It is here.

      157

      1 Reply Last reply
      3

      • Login

      • Login or register to search.
      • First post
        Last post
      0
      • Categories
      • Recent
      • Tags
      • Popular
      • Users
      • Groups
      • Search
      • Get Qt Extensions
      • Unsolved