progress_ring ============= .. py:module:: qfluentwidgets.components.widgets.progress_ring Module Contents --------------- .. autoapisummary:: qfluentwidgets.components.widgets.progress_ring.ProgressRing qfluentwidgets.components.widgets.progress_ring.IndeterminateProgressRing .. py:class:: ProgressRing(parent=None, useAni=True) Bases: :py:obj:`qfluentwidgets.components.widgets.progress_bar.ProgressBar` Progress ring .. py:attribute:: lightBackgroundColor .. py:attribute:: darkBackgroundColor .. py:method:: getStrokeWidth() .. py:method:: setStrokeWidth(w: int) .. py:method:: paintEvent(e) .. py:attribute:: strokeWidth .. py:class:: IndeterminateProgressRing(parent=None, start=True) Bases: :py:obj:`PyQt5.QtWidgets.QProgressBar` Indeterminate progress ring .. py:attribute:: lightBackgroundColor .. py:attribute:: darkBackgroundColor .. py:attribute:: startAngleAni1 .. py:attribute:: startAngleAni2 .. py:attribute:: spanAngleAni1 .. py:attribute:: spanAngleAni2 .. py:attribute:: startAngleAniGroup .. py:attribute:: spanAngleAniGroup .. py:attribute:: aniGroup .. py:method:: startAngle() .. py:method:: spanAngle() .. py:method:: getStrokeWidth() .. py:method:: setStrokeWidth(w: int) .. py:method:: start() start spin .. py:method:: stop() stop spin .. py:method:: lightBarColor() .. py:method:: darkBarColor() .. py:method:: setCustomBarColor(light, dark) set the custom bar color Parameters ---------- light, dark: str | Qt.GlobalColor | QColor bar color in light/dark theme mode .. py:method:: setCustomBackgroundColor(light, dark) set the custom background color Parameters ---------- light, dark: str | Qt.GlobalColor | QColor background color in light/dark theme mode .. py:method:: paintEvent(e) .. py:attribute:: strokeWidth