PythonQt.QtGui.QPaintEvent · declarations 001
Back to PythonQt.QtGui.QPaintEvent
rect
rect() -> Any
X.rect() -> PythonQt.QtCore.QRect
Supplemental documentation: Qt 5 reference:
const QRect \&QPaintEvent::rect() const
Returns the rectangle that needs to be updated.
See also region() and QPainter::setClipRect().
Upstream PySide2 reference signatures (binding differences may apply):
rect(self) -> PySide2.QtCore.QRect
Source: https://doc.qt.io/archives/qt-5.15/qpaintevent.html#rect
region
region() -> Any
X.region() -> PythonQt.QtGui.QRegion
Supplemental documentation: Qt 5 reference:
const QRegion \&QPaintEvent::region() const
Returns the region that needs to be updated.
See also rect() and QPainter::setClipRegion().
Upstream PySide2 reference signatures (binding differences may apply):
region(self) -> PySide2.QtGui.QRegion
Source: https://doc.qt.io/archives/qt-5.15/qpaintevent.html#region