Skip to content

PythonQt.QtSvg.QSvgWidget · declarations 001

Back to PythonQt.QtSvg.QSvgWidget

customContextMenuRequested

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

Native PythonQt.QtSvg.QSvgWidget.customContextMenuRequested; argument details are not documented.

destroyed

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

Native PythonQt.QtSvg.QSvgWidget.destroyed; argument details are not documented.

load

load(file: Any) -> None

X.load(file)

Supplemental documentation: Qt 5 reference:

[slot] void QSvgWidget::load(const QByteArray \&contents)

Loads the specified SVG format contents and updates the widget.

[slot] void QSvgWidget::load(const QString \&file)

Loads the contents of the specified SVG file and updates the widget.

Upstream PySide2 reference signatures (binding differences may apply):

load(self, contents: PySide2.QtCore.QByteArray) -> None
load(self, file: str) -> None

Source: https://doc.qt.io/archives/qt-5.15/qsvgwidget.html#load

objectNameChanged

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

Native PythonQt.QtSvg.QSvgWidget.objectNameChanged; argument details are not documented.

paintEvent

paintEvent(event: Any) -> None

X.paintEvent(event)

Supplemental documentation: Qt 5 reference:

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

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

Upstream PySide2 reference signatures (binding differences may apply):

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

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

renderer

renderer() -> Any

X.renderer() -> PythonQt.QtSvg.QSvgRenderer

Supplemental documentation: Qt 5 reference:

QSvgRenderer *QSvgWidget::renderer() const

Returns the renderer used to display the contents of the widget.

Upstream PySide2 reference signatures (binding differences may apply):

renderer(self) -> PySide2.QtSvg.QSvgRenderer

Source: https://doc.qt.io/archives/qt-5.15/qsvgwidget.html#renderer

sizeHint instance-attribute

sizeHint: QSize

Qt 5 reference:

[override virtual] QSize QSvgWidget::sizeHint() const

Reimplements an access function for property: QWidget::sizeHint.

Source: https://doc.qt.io/archives/qt-5.15/qsvgwidget.html#sizeHint

windowIconChanged

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

Native PythonQt.QtSvg.QSvgWidget.windowIconChanged; argument details are not documented.

windowIconTextChanged

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

Native PythonQt.QtSvg.QSvgWidget.windowIconTextChanged; argument details are not documented.

windowTitleChanged

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

Native PythonQt.QtSvg.QSvgWidget.windowTitleChanged; argument details are not documented.