Skip to content

PythonQt.QtGui.QScrollerProperties · declarations 001

Back to PythonQt.QtGui.QScrollerProperties

AcceleratingFlickMaximumTime instance-attribute

AcceleratingFlickMaximumTime: Any

AcceleratingFlickSpeedupFactor instance-attribute

AcceleratingFlickSpeedupFactor: Any

AxisLockThreshold instance-attribute

AxisLockThreshold: Any

DecelerationFactor instance-attribute

DecelerationFactor: Any

DragStartDistance instance-attribute

DragStartDistance: Any

DragVelocitySmoothingFactor instance-attribute

DragVelocitySmoothingFactor: Any

Fps20 instance-attribute

Fps20: Any

Fps30 instance-attribute

Fps30: Any

Fps60 instance-attribute

Fps60: Any

FrameRate instance-attribute

FrameRate: Any

FrameRates instance-attribute

FrameRates: type

int([x]) -> integer int(x, base=10) -> integer

Convert a number or string to an integer, or return 0 if no arguments are given. If x is a number, return x.int(). For floating point numbers, this truncates towards zero.

If x is not a number or if base is given, then x must be a string, bytes, or bytearray instance representing an integer literal in the given base. The literal can be preceded by '+' or '-' and be surrounded by whitespace. The base defaults to 10. Valid bases are 0 and 2-36. Base 0 means to interpret the base from the string as an integer literal.

int('0b100', base=0) 4

HorizontalOvershootPolicy instance-attribute

HorizontalOvershootPolicy: Any

MaximumClickThroughVelocity instance-attribute

MaximumClickThroughVelocity: Any

MaximumVelocity instance-attribute

MaximumVelocity: Any

MinimumVelocity instance-attribute

MinimumVelocity: Any

MousePressEventDelay instance-attribute

MousePressEventDelay: Any

OvershootAlwaysOff instance-attribute

OvershootAlwaysOff: Any

OvershootAlwaysOn instance-attribute

OvershootAlwaysOn: Any

OvershootDragDistanceFactor instance-attribute

OvershootDragDistanceFactor: Any

OvershootDragResistanceFactor instance-attribute

OvershootDragResistanceFactor: Any

OvershootPolicy instance-attribute

OvershootPolicy: type

int([x]) -> integer int(x, base=10) -> integer

Convert a number or string to an integer, or return 0 if no arguments are given. If x is a number, return x.int(). For floating point numbers, this truncates towards zero.

If x is not a number or if base is given, then x must be a string, bytes, or bytearray instance representing an integer literal in the given base. The literal can be preceded by '+' or '-' and be surrounded by whitespace. The base defaults to 10. Valid bases are 0 and 2-36. Base 0 means to interpret the base from the string as an integer literal.

int('0b100', base=0) 4

OvershootScrollDistanceFactor instance-attribute

OvershootScrollDistanceFactor: Any

OvershootScrollTime instance-attribute

OvershootScrollTime: Any

OvershootWhenScrollable instance-attribute

OvershootWhenScrollable: Any

ScrollMetric instance-attribute

ScrollMetric: type

int([x]) -> integer int(x, base=10) -> integer

Convert a number or string to an integer, or return 0 if no arguments are given. If x is a number, return x.int(). For floating point numbers, this truncates towards zero.

If x is not a number or if base is given, then x must be a string, bytes, or bytearray instance representing an integer literal in the given base. The literal can be preceded by '+' or '-' and be surrounded by whitespace. The base defaults to 10. Valid bases are 0 and 2-36. Base 0 means to interpret the base from the string as an integer literal.

int('0b100', base=0) 4

ScrollMetricCount instance-attribute

ScrollMetricCount: Any

ScrollingCurve instance-attribute

ScrollingCurve: Any

SnapPositionRatio instance-attribute

SnapPositionRatio: Any

SnapTime instance-attribute

SnapTime: Any

Standard instance-attribute

Standard: Any

VerticalOvershootPolicy instance-attribute

VerticalOvershootPolicy: Any

operator_assign

operator_assign(sp: Any) -> Any

X.operator_assign(sp) -> PythonQt.QtGui.QScrollerProperties

scrollMetric

scrollMetric(metric: Any) -> Any

X.scrollMetric(metric) -> object

Supplemental documentation: Qt 5 reference:

QVariant QScrollerProperties::scrollMetric(QScrollerProperties::ScrollMetric metric) const

Query the metric value of the scroller properties.

See also setScrollMetric() and ScrollMetric.

Upstream PySide2 reference signatures (binding differences may apply):

scrollMetric(self, metric: PySide2.QtWidgets.QScrollerProperties.ScrollMetric) -> typing.Any

Source: https://doc.qt.io/archives/qt-5.15/qscrollerproperties.html#scrollMetric

setDefaultScrollerProperties

setDefaultScrollerProperties(sp: Any) -> None

X.setDefaultScrollerProperties(sp)

Supplemental documentation: Qt 5 reference:

[static] void QScrollerProperties::setDefaultScrollerProperties(const QScrollerProperties \&sp)

Sets the scroller properties for all new QScrollerProperties objects to sp.

Use this function to override the platform default properties returned by the default constructor. If you only want to change the scroller properties of a single scroller, use QScroller::setScrollerProperties()

Note: Calling this function will not change the content of already existing QScrollerProperties objects.

See also unsetDefaultScrollerProperties().

Upstream PySide2 reference signatures (binding differences may apply):

setDefaultScrollerProperties(sp: PySide2.QtWidgets.QScrollerProperties) -> None

Source: https://doc.qt.io/archives/qt-5.15/qscrollerproperties.html#setDefaultScrollerProperties

setScrollMetric

setScrollMetric(metric: Any, value: Any) -> None

X.setScrollMetric(metric, value)

Supplemental documentation: Qt 5 reference:

void QScrollerProperties::setScrollMetric(QScrollerProperties::ScrollMetric metric, const QVariant \&value)

Set a specific value of the metric ScrollerMetric to value.

See also scrollMetric() and ScrollMetric.

Upstream PySide2 reference signatures (binding differences may apply):

setScrollMetric(self, metric: PySide2.QtWidgets.QScrollerProperties.ScrollMetric, value: typing.Any) -> None

Source: https://doc.qt.io/archives/qt-5.15/qscrollerproperties.html#setScrollMetric

unsetDefaultScrollerProperties

unsetDefaultScrollerProperties() -> None

X.unsetDefaultScrollerProperties()

Supplemental documentation: Qt 5 reference:

[static] void QScrollerProperties::unsetDefaultScrollerProperties()

Sets the scroller properties returned by the default constructor back to the platform default properties.

See also setDefaultScrollerProperties().

Upstream PySide2 reference signatures (binding differences may apply):

unsetDefaultScrollerProperties() -> None

Source: https://doc.qt.io/archives/qt-5.15/qscrollerproperties.html#unsetDefaultScrollerProperties