ProgressBar
Base classes
| Name | Children | Inherits |
|---|---|---|
| WidgetMixin prettyqt.widgets.widget |
||
| QProgressBar PySide6.QtWidgets QProgressBar(self, /, parent: PySide6.QtWidgets.QWidget | None \= None, *, minimum: int | None \= None, maximum: int | None \= None, text: str | None \= None, value: int | None \= None, alignment: PySide6.QtCore.Qt.AlignmentFlag | None \= None, textVisible: bool | None \= None, orientation: PySide6.QtCore.Qt.Orientation | None \= None, invertedAppearance: bool | None \= None, textDirection: PySide6.QtWidgets.QProgressBar.Direction | None \= None, format: str | None \= None) -> None |
â‹” Inheritance diagram
graph TD
1068172047["widgets.ProgressBar"]
829357528["widgets.WidgetMixin"]
3227531497["core.ObjectMixin"]
2751680898["builtins.object"]
625385617["gui.PaintDeviceMixin"]
3996005737["QtWidgets.QProgressBar"]
3620195106["QtWidgets.QWidget"]
3984060476["QtCore.QObject"]
37984305["Shiboken.Object"]
673956333["QtGui.QPaintDevice"]
829357528 --> 1068172047
3227531497 --> 829357528
2751680898 --> 3227531497
625385617 --> 829357528
2751680898 --> 625385617
2751680898 --> 829357528
3996005737 --> 1068172047
3620195106 --> 3996005737
3984060476 --> 3620195106
37984305 --> 3984060476
2751680898 --> 37984305
673956333 --> 3620195106
37984305 --> 673956333
🛈 DocStrings
Bases: WidgetMixin, QProgressBar
Horizontal or vertical progress bar.
Source code in prettyqt/widgets/progressbar.py
get_alignment() -> constants.AlignmentStr
get_orientation() -> constants.OrientationStr
get_text_direction() -> TextDirectionStr
Return current text direction.
Source code in prettyqt/widgets/progressbar.py
set_alignment(alignment: constants.AlignmentStr | constants.AlignmentFlag)
Set the alignment of the layout.
Parameters:
| Name | Type | Description | Default |
|---|---|---|---|
alignment
|
AlignmentStr | AlignmentFlag
|
alignment for the layout |
required |
Source code in prettyqt/widgets/progressbar.py
set_orientation(orientation: constants.OrientationStr | constants.Orientation)
Set the orientation of the progress bar.
Parameters:
| Name | Type | Description | Default |
|---|---|---|---|
orientation
|
OrientationStr | Orientation
|
orientation for the progress bar |
required |
Source code in prettyqt/widgets/progressbar.py
set_text_direction(text_direction: TextDirectionStr | widgets.QProgressBar.Direction)
Set the text direction of the layout.
Parameters:
| Name | Type | Description | Default |
|---|---|---|---|
text_direction
|
TextDirectionStr | Direction
|
text direction for the layout |
required |