ScrollerProperties
Qt Base Class: QScrollerProperties
Signature: QScrollerProperties(self) -> None
QScrollerProperties(self, sp: PySide6.QtWidgets.QScrollerProperties) -> None
Base classes
Name | Children | Inherits |
---|---|---|
QScrollerProperties PySide6.QtWidgets QScrollerProperties(self) -> None |
⋔ Inheritance diagram
graph TD
1473296345680["widgets.ScrollerProperties"]
1473290819424["QtWidgets.QScrollerProperties"]
1473291690208["Shiboken.Object"]
140713234304496["builtins.object"]
1473290819424 --> 1473296345680
1473291690208 --> 1473290819424
140713234304496 --> 1473291690208
🛈 DocStrings
Bases: QScrollerProperties
Stores the settings for a QScroller.
Source code in prettyqt\widgets\scrollerproperties.py
get_scroll_metric(metric: ScrollmetricStr | mod.ScrollMetric) -> Any
Return scroll metric.
Parameters:
Name | Type | Description | Default |
---|---|---|---|
metric |
ScrollmetricStr | ScrollMetric
|
Scroll metric to get |
required |
Source code in prettyqt\widgets\scrollerproperties.py
set_scroll_metric(metric: ScrollmetricStr | mod.ScrollMetric, value: Any)
Set scroll metric.
Parameters:
Name | Type | Description | Default |
---|---|---|---|
metric |
ScrollmetricStr | ScrollMetric
|
Scroll metric to set |
required |
value |
Any
|
Value to set |
required |