progress_bar#
Module Contents#
Indeterminate progress bar |
- class ProgressBar(parent=None, useAni=True)#
Bases:
PyQt5.QtWidgets.QProgressBar
- useAni#
- val#
- getVal()#
- setVal(v: float)#
- isUseAni()#
- setUseAni(isUSe: bool)#
- 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
- resume()#
- pause()#
- setPaused(isPaused: bool)#
- isPaused()#
- error()#
- setError(isError: bool)#
- isError()#
- barColor()#
- valText()#
- paintEvent(e)#
- class IndeterminateProgressBar(parent=None, start=True)#
Bases:
PyQt5.QtWidgets.QProgressBar
Indeterminate progress bar
- lightBarColor()#
- darkBarColor()#
- setCustomBarColor(light, dark)#
set the custom bar color
Parameters#
- light, dark: str | Qt.GlobalColor | QColor
bar color in light/dark theme mode
- shortPos()#
- longPos()#
- start()#
- stop()#
- isStarted()#
- pause()#
- resume()#
- setPaused(isPaused: bool)#
- isPaused()#
- error()#
- setError(isError: bool)#
- isError()#
- barColor()#
- paintEvent(e)#