Skip to content

PythonQt.QtGui.QRubberBand · declarations 001

Back to PythonQt.QtGui.QRubberBand

changeEvent

changeEvent(arg__1: Any) -> None

X.changeEvent(arg__1)

Supplemental documentation: Qt 5 reference:

[override virtual protected] void QRubberBand::changeEvent(QEvent *e)

Reimplements: QWidget::changeEvent(QEvent *event).

Upstream PySide2 reference signatures (binding differences may apply):

changeEvent(self, arg__1: PySide2.QtCore.QEvent) -> None

Source: https://doc.qt.io/archives/qt-5.15/qrubberband.html#changeEvent

customContextMenuRequested

customContextMenuRequested(*args: Any, **kwargs: Any) -> Any

Native PythonQt.QtGui.QRubberBand.customContextMenuRequested; argument details are not documented.

destroyed

destroyed(*args: Any, **kwargs: Any) -> Any

Native PythonQt.QtGui.QRubberBand.destroyed; argument details are not documented.

event

event(e: Any) -> bool

X.event(e) -> bool

Supplemental documentation: Qt 5 reference:

[override virtual protected] bool QRubberBand::event(QEvent *e)

Reimplements: QWidget::event(QEvent *event).

Upstream PySide2 reference signatures (binding differences may apply):

event(self, e: PySide2.QtCore.QEvent) -> bool

Source: https://doc.qt.io/archives/qt-5.15/qrubberband.html#event

initStyleOption

initStyleOption(option: Any) -> None

X.initStyleOption(option)

Supplemental documentation: Qt 5 reference:

[protected] void QRubberBand::initStyleOption(QStyleOptionRubberBand *option) const

Initialize option with the values from this QRubberBand. This method is useful for subclasses when they need a QStyleOptionRubberBand, but don't want to fill in all the information themselves.

See also QStyleOption::initFrom().

Upstream PySide2 reference signatures (binding differences may apply):

initStyleOption(self, option: PySide2.QtWidgets.QStyleOptionRubberBand) -> None

Source: https://doc.qt.io/archives/qt-5.15/qrubberband.html#initStyleOption

move

move(x: Any, y: Any) -> None

X.move(x, y)

Supplemental documentation: Qt 5 reference:

void QRubberBand::move(int x, int y)

Moves the rubberband to point (x, y).

See also resize().

void QRubberBand::move(const QPoint \&p)

This is an overloaded function.

Moves the rubberband to point p.

See also resize().

Upstream PySide2 reference signatures (binding differences may apply):

move(self, p: PySide2.QtCore.QPoint) -> None
move(self, x: int, y: int) -> None

Source: https://doc.qt.io/archives/qt-5.15/qrubberband.html#move

moveEvent

moveEvent(arg__1: Any) -> None

X.moveEvent(arg__1)

Supplemental documentation: Qt 5 reference:

[override virtual protected] void QRubberBand::moveEvent(QMoveEvent *)

Reimplements: QWidget::moveEvent(QMoveEvent *event).

Upstream PySide2 reference signatures (binding differences may apply):

moveEvent(self, arg__1: PySide2.QtGui.QMoveEvent) -> None

Source: https://doc.qt.io/archives/qt-5.15/qrubberband.html#moveEvent

objectNameChanged

objectNameChanged(*args: Any, **kwargs: Any) -> Any

Native PythonQt.QtGui.QRubberBand.objectNameChanged; argument details are not documented.

paintEvent

paintEvent(arg__1: Any) -> None

X.paintEvent(arg__1)

Supplemental documentation: Qt 5 reference:

[override virtual protected] void QRubberBand::paintEvent(QPaintEvent *)

Reimplements: QWidget::paintEvent(QPaintEvent *event).

Upstream PySide2 reference signatures (binding differences may apply):

paintEvent(self, arg__1: PySide2.QtGui.QPaintEvent) -> None

Source: https://doc.qt.io/archives/qt-5.15/qrubberband.html#paintEvent

resize

resize(w: Any, h: Any) -> None

X.resize(w, h)

Supplemental documentation: Qt 5 reference:

void QRubberBand::resize(int width, int height)

Resizes the rubberband so that its width is width, and its height is height.

See also move().

void QRubberBand::resize(const QSize \&size)

This is an overloaded function.

Resizes the rubberband so that its new size is size.

See also move().

Upstream PySide2 reference signatures (binding differences may apply):

resize(self, s: PySide2.QtCore.QSize) -> None
resize(self, w: int, h: int) -> None

Source: https://doc.qt.io/archives/qt-5.15/qrubberband.html#resize

resizeEvent

resizeEvent(arg__1: Any) -> None

X.resizeEvent(arg__1)

Supplemental documentation: Qt 5 reference:

[override virtual protected] void QRubberBand::resizeEvent(QResizeEvent *)

Reimplements: QWidget::resizeEvent(QResizeEvent *event).

Upstream PySide2 reference signatures (binding differences may apply):

resizeEvent(self, arg__1: PySide2.QtGui.QResizeEvent) -> None

Source: https://doc.qt.io/archives/qt-5.15/qrubberband.html#resizeEvent

setGeometry

setGeometry(x: Any, y: Any, w: Any, h: Any) -> None

X.setGeometry(x, y, w, h)

Supplemental documentation: Qt 5 reference:

void QRubberBand::setGeometry(const QRect \&rect)

Sets the geometry of the rubber band to rect, specified in the coordinate system of its parent widget.

See also QWidget::geometry.

void QRubberBand::setGeometry(int x, int y, int width, int height)

This is an overloaded function.

Sets the geometry of the rubberband to the rectangle whose top-left corner lies at the point (x, y), and with dimensions specified by width and height. The geometry is specified in the parent widget's coordinate system.

Upstream PySide2 reference signatures (binding differences may apply):

setGeometry(self, r: PySide2.QtCore.QRect) -> None
setGeometry(self, x: int, y: int, w: int, h: int) -> None

Source: https://doc.qt.io/archives/qt-5.15/qrubberband.html#setGeometry

shape

shape() -> Any

X.shape()

Supplemental documentation: Qt 5 reference:

QRubberBand::Shape QRubberBand::shape() const

Returns the shape of this rubber band. The shape can only be set upon construction.

Upstream PySide2 reference signatures (binding differences may apply):

shape(self) -> PySide2.QtWidgets.QRubberBand.Shape

Source: https://doc.qt.io/archives/qt-5.15/qrubberband.html#shape

showEvent

showEvent(arg__1: Any) -> None

X.showEvent(arg__1)

Supplemental documentation: Qt 5 reference:

[override virtual protected] void QRubberBand::showEvent(QShowEvent *e)

Reimplements: QWidget::showEvent(QShowEvent *event).

Upstream PySide2 reference signatures (binding differences may apply):

showEvent(self, arg__1: PySide2.QtGui.QShowEvent) -> None

Source: https://doc.qt.io/archives/qt-5.15/qrubberband.html#showEvent

windowIconChanged

windowIconChanged(*args: Any, **kwargs: Any) -> Any

Native PythonQt.QtGui.QRubberBand.windowIconChanged; argument details are not documented.

windowIconTextChanged

windowIconTextChanged(*args: Any, **kwargs: Any) -> Any

Native PythonQt.QtGui.QRubberBand.windowIconTextChanged; argument details are not documented.

windowTitleChanged

windowTitleChanged(*args: Any, **kwargs: Any) -> Any

Native PythonQt.QtGui.QRubberBand.windowTitleChanged; argument details are not documented.