progress_ring#
Module Contents#
Progress ring |
|
Indeterminate progress ring |
- class ProgressRing(parent=None, useAni=True)#
Bases:
qfluentwidgets.components.widgets.progress_bar.ProgressBar
Progress ring
- strokeWidth#
- getStrokeWidth()#
- setStrokeWidth(w: int)#
- paintEvent(e)#
- class IndeterminateProgressRing(parent=None, start=True)#
Bases:
PyQt5.QtWidgets.QProgressBar
Indeterminate progress ring
- strokeWidth#
- startAngle()#
- spanAngle()#
- getStrokeWidth()#
- setStrokeWidth(w: int)#
- start()#
start spin
- stop()#
stop spin
- lightBarColor()#
- darkBarColor()#
- setCustomBarColor(light, dark)#
set the custom bar color
Parameters#
- light, dark: str | Qt.GlobalColor | QColor
bar color in light/dark theme mode
- setCustomBackgroundColor(light, dark)#
set the custom background color
Parameters#
- light, dark: str | Qt.GlobalColor | QColor
background color in light/dark theme mode
- paintEvent(e)#