Any PyQt circular progress bar?

前端 未结 3 1405
故里飘歌
故里飘歌 2021-01-07 15:07

Does anybody know how I can implement circular progress bar on PyQt?

Also, I found an existing code: http://sourceforge.net/projects/qroundprogressbar/

But,

3条回答
  •  猫巷女王i
    2021-01-07 16:00

    @Alexandro, thank you for the code. It works nicely.

    I found that it's best to set the min and max values as floats instead of int

    self.min = 0.
    self.max = 100.
    self.value = 25.
    

    Otherwise, the values won't update properly in python3 if the input value to valueToText() is also an integer, due to integer division

提交回复
热议问题