Skip to content

RubberBand

Base classes

Name Children Inherits
RubberBandMixin
prettyqt.widgets.rubberband
QRubberBand
PySide6.QtWidgets
QRubberBand(self, arg__1: PySide6.QtWidgets.QRubberBand.Shape, /, parent: PySide6.QtWidgets.QWidget | None \= None) -> None

⋔ Inheritance diagram

graph TD
  3940994171["widgets.RubberBand"]
  3755950369["widgets.RubberBandMixin"]
  829357528["widgets.WidgetMixin"]
  3227531497["core.ObjectMixin"]
  2751680898["builtins.object"]
  625385617["gui.PaintDeviceMixin"]
  1424669854["QtWidgets.QRubberBand"]
  3620195106["QtWidgets.QWidget"]
  3984060476["QtCore.QObject"]
  37984305["Shiboken.Object"]
  673956333["QtGui.QPaintDevice"]
  3755950369 --> 3940994171
  829357528 --> 3755950369
  3227531497 --> 829357528
  2751680898 --> 3227531497
  625385617 --> 829357528
  2751680898 --> 625385617
  2751680898 --> 829357528
  2751680898 --> 3755950369
  1424669854 --> 3940994171
  3620195106 --> 1424669854
  3984060476 --> 3620195106
  37984305 --> 3984060476
  2751680898 --> 37984305
  673956333 --> 3620195106
  37984305 --> 673956333

🛈 DocStrings

Bases: RubberBandMixin, QRubberBand

Rectangle or line that can indicate a selection or a boundary.

Source code in prettyqt/widgets/rubberband.py
class RubberBand(RubberBandMixin, widgets.QRubberBand):
    """Rectangle or line that can indicate a selection or a boundary."""

:fa-brands-github: Show source on GitHub