PythonQt.QtSvg.QGraphicsSvgItem
QGraphicsSvgItem
PythonQtInstanceWrapper object
Native bases: PythonQtInstanceWrapper
Supplemental documentation: Qt 5 reference:
Detailed Description
QGraphicsSvgItem provides a way of rendering SVG files onto QGraphicsView. QGraphicsSvgItem can be created by passing the SVG file to be rendered to its constructor or by explicit setting a shared QSvgRenderer on it.
Note that setting QSvgRenderer on a QGraphicsSvgItem doesn't make the item take ownership of the renderer, therefore if using setSharedRenderer() method one has to make sure that the lifetime of the QSvgRenderer object will be at least as long as that of the QGraphicsSvgItem.
QGraphicsSvgItem provides a way of rendering only parts of the SVG files via the setElementId. If setElementId() method is called, only the SVG element (and its children) with the passed id will be renderer. This provides a convenient way of selectively rendering large SVG files that contain a number of discrete elements. For example the following code renders only jokers from a SVG file containing a whole card deck:
QSvgRenderer *renderer = new QSvgRenderer(QLatin1String("SvgCardDeck.svg"));
QGraphicsSvgItem *black = new QGraphicsSvgItem();
QGraphicsSvgItem *red = new QGraphicsSvgItem();
black->setSharedRenderer(renderer);
black->setElementId(QLatin1String("black_joker"));
red->setSharedRenderer(renderer);
red->setElementId(QLatin1String("red_joker"));
Size of the item can be set via direct manipulation of the items transformation matrix.
By default the SVG rendering is cached using QGraphicsItem::DeviceCoordinateCache mode to speedup the display of items. Caching can be disabled by passing QGraphicsItem::NoCache to the QGraphicsItem::setCacheMode() method.
Source: https://doc.qt.io/archives/qt-5.15/qgraphicssvgitem.html
Complete member index
Every captured member retains its own identity. Identical captured declaration text is linked once; this does not establish native inheritance or interchangeable objects.
| Member | Kind | Signature | Summary |
|---|---|---|---|
CacheMode |
attribute | type |
Convert a number or string to an integer, or return 0 if no arguments are given. (shared captured text) |
DeviceCoordinateCache |
attribute | Any |
(shared captured text) |
Extension |
attribute | type |
Convert a number or string to an integer, or return 0 if no arguments are given. (shared captured text) |
GraphicsItemChange |
attribute | type |
Convert a number or string to an integer, or return 0 if no arguments are given. (shared captured text) |
GraphicsItemFlag |
attribute | type |
Convert a number or string to an integer, or return 0 if no arguments are given. (shared captured text) |
GraphicsItemFlags |
attribute | type |
Convert a number or string to an integer, or return 0 if no arguments are given. (shared captured text) |
ItemAcceptsInputMethod |
attribute | Any |
(shared captured text) |
ItemChildAddedChange |
attribute | Any |
(shared captured text) |
ItemChildRemovedChange |
attribute | Any |
(shared captured text) |
ItemClipsChildrenToShape |
attribute | Any |
(shared captured text) |
ItemClipsToShape |
attribute | Any |
(shared captured text) |
ItemContainsChildrenInShape |
attribute | Any |
(shared captured text) |
ItemCoordinateCache |
attribute | Any |
(shared captured text) |
ItemCursorChange |
attribute | Any |
(shared captured text) |
ItemCursorHasChanged |
attribute | Any |
(shared captured text) |
ItemDoesntPropagateOpacityToChildren |
attribute | Any |
(shared captured text) |
ItemEnabledChange |
attribute | Any |
(shared captured text) |
ItemEnabledHasChanged |
attribute | Any |
(shared captured text) |
ItemFlagsChange |
attribute | Any |
(shared captured text) |
ItemFlagsHaveChanged |
attribute | Any |
(shared captured text) |
ItemHasNoContents |
attribute | Any |
(shared captured text) |
ItemIgnoresParentOpacity |
attribute | Any |
(shared captured text) |
ItemIgnoresTransformations |
attribute | Any |
(shared captured text) |
ItemIsFocusScope |
attribute | Any |
(shared captured text) |
ItemIsFocusable |
attribute | Any |
(shared captured text) |
ItemIsMovable |
attribute | Any |
(shared captured text) |
ItemIsPanel |
attribute | Any |
(shared captured text) |
ItemIsSelectable |
attribute | Any |
(shared captured text) |
ItemMatrixChange |
attribute | Any |
(shared captured text) |
ItemNegativeZStacksBehindParent |
attribute | Any |
(shared captured text) |
ItemOpacityChange |
attribute | Any |
(shared captured text) |
ItemOpacityHasChanged |
attribute | Any |
(shared captured text) |
ItemParentChange |
attribute | Any |
(shared captured text) |
ItemParentHasChanged |
attribute | Any |
(shared captured text) |
ItemPositionChange |
attribute | Any |
(shared captured text) |
ItemPositionHasChanged |
attribute | Any |
(shared captured text) |
ItemRotationChange |
attribute | Any |
(shared captured text) |
ItemRotationHasChanged |
attribute | Any |
(shared captured text) |
ItemScaleChange |
attribute | Any |
(shared captured text) |
ItemScaleHasChanged |
attribute | Any |
(shared captured text) |
ItemSceneChange |
attribute | Any |
(shared captured text) |
ItemSceneHasChanged |
attribute | Any |
(shared captured text) |
ItemScenePositionHasChanged |
attribute | Any |
(shared captured text) |
ItemSelectedChange |
attribute | Any |
(shared captured text) |
ItemSelectedHasChanged |
attribute | Any |
(shared captured text) |
ItemSendsGeometryChanges |
attribute | Any |
(shared captured text) |
ItemSendsScenePositionChanges |
attribute | Any |
(shared captured text) |
ItemStacksBehindParent |
attribute | Any |
(shared captured text) |
ItemStopsClickFocusPropagation |
attribute | Any |
(shared captured text) |
ItemStopsFocusHandling |
attribute | Any |
(shared captured text) |
ItemToolTipChange |
attribute | Any |
(shared captured text) |
ItemToolTipHasChanged |
attribute | Any |
(shared captured text) |
ItemTransformChange |
attribute | Any |
(shared captured text) |
ItemTransformHasChanged |
attribute | Any |
(shared captured text) |
ItemTransformOriginPointChange |
attribute | Any |
(shared captured text) |
ItemTransformOriginPointHasChanged |
attribute | Any |
(shared captured text) |
ItemUsesExtendedStyleOption |
attribute | Any |
(shared captured text) |
ItemVisibleChange |
attribute | Any |
(shared captured text) |
ItemVisibleHasChanged |
attribute | Any |
(shared captured text) |
ItemZValueChange |
attribute | Any |
(shared captured text) |
ItemZValueHasChanged |
attribute | Any |
(shared captured text) |
NoCache |
attribute | Any |
(shared captured text) |
NonModal |
attribute | Any |
(shared captured text) |
PanelModal |
attribute | Any |
(shared captured text) |
PanelModality |
attribute | type |
Convert a number or string to an integer, or return 0 if no arguments are given. (shared captured text) |
SceneModal |
attribute | Any |
(shared captured text) |
Type |
attribute | Any |
(shared captured text) |
UserExtension |
attribute | Any |
(shared captured text) |
UserType |
attribute | Any |
(shared captured text) |
__init__ |
function | (self, *args: Any, **kwargs: Any) -> None |
Native constructor; consult class documentation for supported overloads. (shared captured text) |
acceptDrops |
function | (self) -> bool |
X.acceptDrops() -> bool (shared captured text) |
acceptHoverEvents |
function | (self) -> bool |
X.acceptHoverEvents() -> bool (shared captured text) |
acceptTouchEvents |
function | (self) -> bool |
X.acceptTouchEvents() -> bool (shared captured text) |
acceptedMouseButtons |
function | (self) -> Any |
(shared captured text) |
addToIndex |
function | (self) -> Any |
(shared captured text) |
advance |
function | (self, phase: Any) -> Any |
(shared captured text) |
blockSignals |
function | (self, b: Any) -> bool |
X.blockSignals(b) -> bool (shared captured text) |
boundingRect |
function | (self) -> Any |
X.boundingRect() -> PythonQt.QtCore.QRectF |
boundingRegion |
function | (self, itemToDeviceTransform: Any) -> Any |
X.boundingRegion(itemToDeviceTransform) -> PythonQt.QtGui.QRegion (shared captured text) |
boundingRegionGranularity |
function | (self) -> float |
X.boundingRegionGranularity() -> float (shared captured text) |
cacheMode |
function | (self) -> Any |
(shared captured text) |
childEvent |
function | (self, event: Any) -> Any |
(shared captured text) |
childItems |
function | (self) -> tuple |
X.childItems() -> tuple (shared captured text) |
children |
attribute | Any |
(shared captured text) |
childrenBoundingRect |
function | (self) -> Any |
X.childrenBoundingRect() -> PythonQt.QtCore.QRectF (shared captured text) |
childrenChanged |
function | (self, *args: Any, **kwargs: Any) -> Any |
Native PythonQt.QtSvg.QGraphicsSvgItem.childrenChanged; argument details are not documented. |
className |
function | (self, *args: Any, **kwargs: Any) -> Any |
Return the classname of the object (shared captured text) |
clearFocus |
function | (self) -> Any |
(shared captured text) |
clipPath |
function | (self) -> Any |
X.clipPath() -> PythonQt.QtGui.QPainterPath (shared captured text) |
collidesWithItem |
function | (self, other: Any, mode: Any) -> bool |
X.collidesWithItem(other, mode) -> bool (shared captured text) |
collidesWithPath |
function | (self, path: Any, mode: Any) -> bool |
X.collidesWithPath(path, mode) -> bool (shared captured text) |
collidingItems |
function | (self, mode: Any) -> tuple |
X.collidingItems(mode) -> tuple (shared captured text) |
commonAncestorItem |
function | (self, other: Any) -> Any |
X.commonAncestorItem(other) -> PythonQt.QtGui.QGraphicsItem (shared captured text) |
connect |
function | (self, signal: Any, receiver: Any, slot: Any, type: Any) -> bool |
X.connect(signal, receiver, slot, type) -> bool (shared captured text) |
contains |
function | (self, point: Any) -> bool |
X.contains(point) -> bool (shared captured text) |
contextMenuEvent |
function | (self, event: Any) -> Any |
(shared captured text) |
cursor |
function | (self) -> Any |
X.cursor() -> PythonQt.QtGui.QCursor (shared captured text) |
customEvent |
function | (self, event: Any) -> Any |
(shared captured text) |
data |
function | (self, key: Any) -> Any |
X.data(key) -> object (shared captured text) |
delete |
function | (self, *args: Any, **kwargs: Any) -> Any |
Deletes the C++ object (at your own risk, my friend!) (shared captured text) |
deleteLater |
function | (self) -> Any |
(shared captured text) |
destroyed |
function | (self, *args: Any, **kwargs: Any) -> Any |
Native PythonQt.QtSvg.QGraphicsSvgItem.destroyed; argument details are not documented. |
deviceTransform |
function | (self, viewportTransform: Any) -> Any |
X.deviceTransform(viewportTransform) -> PythonQt.QtGui.QTransform (shared captured text) |
disconnect |
function | (self, signal: Any, receiver: Any, slot: Any) -> bool |
X.disconnect(signal, receiver, slot) -> bool (shared captured text) |
dragEnterEvent |
function | (self, event: Any) -> Any |
(shared captured text) |
dragLeaveEvent |
function | (self, event: Any) -> Any |
(shared captured text) |
dragMoveEvent |
function | (self, event: Any) -> Any |
(shared captured text) |
dropEvent |
function | (self, event: Any) -> Any |
(shared captured text) |
dumpObjectInfo |
function | (self) -> Any |
(shared captured text) |
dumpObjectTree |
function | (self) -> Any |
(shared captured text) |
dynamicPropertyNames |
function | (self) -> Any |
(shared captured text) |
effect |
attribute | QGraphicsEffect |
(shared captured text) |
effectiveOpacity |
function | (self) -> float |
X.effectiveOpacity() -> float (shared captured text) |
elementId |
attribute | str |
This property holds the element's XML ID. |
enabled |
attribute | Any |
(shared captured text) |
enabledChanged |
function | (self, *args: Any, **kwargs: Any) -> Any |
Native PythonQt.QtSvg.QGraphicsSvgItem.enabledChanged; argument details are not documented. |
ensureVisible |
function | (self, x: Any, y: Any, w: Any, h: Any, xmargin: Any, ymargin: Any) -> Any |
X.ensureVisible(x, y, w, h, xmargin, ymargin) (shared captured text) |
enum_1 |
attribute | type |
Convert a number or string to an integer, or return 0 if no arguments are given. (shared captured text) |
event |
function | (self, ev: Any) -> bool |
X.event(ev) -> bool (shared captured text) |
eventFilter |
function | (self, watched: Any, event: Any) -> bool |
X.eventFilter(watched, event) -> bool (shared captured text) |
extension |
function | (self, variant: Any) -> Any |
X.extension(variant) -> object (shared captured text) |
filtersChildEvents |
function | (self) -> bool |
X.filtersChildEvents() -> bool (shared captured text) |
findChild |
function | (self, type: Any, name: Any) -> Any |
X.findChild(type, name) -> PythonQt.private.QObject (shared captured text) |
findChildren |
function | (self, type: Any, name: Any) -> tuple |
X.findChildren(type, name) -> tuple (shared captured text) |
flags |
function | (self) -> Any |
(shared captured text) |
focusInEvent |
function | (self, event: Any) -> Any |
(shared captured text) |
focusItem |
function | (self) -> Any |
X.focusItem() -> PythonQt.QtGui.QGraphicsItem (shared captured text) |
focusOutEvent |
function | (self, event: Any) -> Any |
(shared captured text) |
focusProxy |
function | (self) -> Any |
X.focusProxy() -> PythonQt.QtGui.QGraphicsItem (shared captured text) |
focusScopeItem |
function | (self) -> Any |
X.focusScopeItem() -> PythonQt.QtGui.QGraphicsItem (shared captured text) |
grabGesture |
function | (self, type: Any, arg1: flags) -> Any |
X.grabGesture(type, flags) (shared captured text) |
grabKeyboard |
function | (self) -> Any |
(shared captured text) |
grabMouse |
function | (self) -> Any |
(shared captured text) |
graphicsEffect |
function | (self) -> Any |
X.graphicsEffect() -> PythonQt.QtGui.QGraphicsEffect (shared captured text) |
group |
function | (self) -> Any |
X.group() -> PythonQt.QtGui.QGraphicsItemGroup (shared captured text) |
handlesChildEvents |
function | (self) -> bool |
X.handlesChildEvents() -> bool (shared captured text) |
hasCursor |
function | (self) -> bool |
X.hasCursor() -> bool (shared captured text) |
hasFocus |
function | (self) -> bool |
X.hasFocus() -> bool (shared captured text) |
height |
attribute | Any |
(shared captured text) |
heightChanged |
function | (self, *args: Any, **kwargs: Any) -> Any |
Native PythonQt.QtSvg.QGraphicsSvgItem.heightChanged; argument details are not documented. |
help |
function | (self, *args: Any, **kwargs: Any) -> Any |
Shows the help of available methods for this class (shared captured text) |
hide |
function | (self) -> Any |
(shared captured text) |
hoverEnterEvent |
function | (self, event: Any) -> Any |
(shared captured text) |
hoverLeaveEvent |
function | (self, event: Any) -> Any |
(shared captured text) |
hoverMoveEvent |
function | (self, event: Any) -> Any |
(shared captured text) |
inherits |
function | (self, *args: Any, **kwargs: Any) -> Any |
Returns if the class inherits or is of given type name (shared captured text) |
inputMethodEvent |
function | (self, event: Any) -> Any |
(shared captured text) |
inputMethodHints |
function | (self) -> Any |
(shared captured text) |
inputMethodQuery |
function | (self, query: Any) -> Any |
X.inputMethodQuery(query) -> object (shared captured text) |
installEventFilter |
function | (self, filterObj: Any) -> Any |
(shared captured text) |
installSceneEventFilter |
function | (self, filterItem: Any) -> Any |
(shared captured text) |
isActive |
function | (self) -> bool |
X.isActive() -> bool (shared captured text) |
isAncestorOf |
function | (self, child: Any) -> bool |
X.isAncestorOf(child) -> bool (shared captured text) |
isBlockedByModalPanel |
function | (self, blockingPanel: Any) -> bool |
X.isBlockedByModalPanel(blockingPanel) -> bool (shared captured text) |
isCachingEnabled |
function | (self) -> bool |
X.isCachingEnabled() -> bool |
isClipped |
function | (self) -> bool |
X.isClipped() -> bool (shared captured text) |
isEnabled |
function | (self) -> bool |
X.isEnabled() -> bool (shared captured text) |
isObscured |
function | (self, x: Any, y: Any, w: Any, h: Any) -> bool |
X.isObscured(x, y, w, h) -> bool (shared captured text) |
isObscuredBy |
function | (self, item: Any) -> bool |
X.isObscuredBy(item) -> bool (shared captured text) |
isPanel |
function | (self) -> bool |
X.isPanel() -> bool (shared captured text) |
isSelected |
function | (self) -> bool |
X.isSelected() -> bool (shared captured text) |
isSignalConnected |
function | (self, signal: Any) -> bool |
X.isSignalConnected(signal) -> bool (shared captured text) |
isUnderMouse |
function | (self) -> bool |
X.isUnderMouse() -> bool (shared captured text) |
isVisible |
function | (self) -> bool |
X.isVisible() -> bool (shared captured text) |
isVisibleTo |
function | (self, parent: Any) -> bool |
X.isVisibleTo(parent) -> bool (shared captured text) |
isWidget |
function | (self) -> bool |
X.isWidget() -> bool (shared captured text) |
isWidgetType |
function | (self) -> bool |
X.isWidgetType() -> bool (shared captured text) |
isWindow |
function | (self) -> bool |
X.isWindow() -> bool (shared captured text) |
isWindowType |
function | (self) -> bool |
X.isWindowType() -> bool (shared captured text) |
itemChange |
function | (self, change: Any, value: Any) -> Any |
X.itemChange(change, value) -> object (shared captured text) |
itemTransform |
function | (self, other: Any, ok: Any) -> Any |
X.itemTransform(other, ok) -> PythonQt.QtGui.QTransform (shared captured text) |
keyPressEvent |
function | (self, event: Any) -> Any |
(shared captured text) |
keyReleaseEvent |
function | (self, event: Any) -> Any |
(shared captured text) |
killTimer |
function | (self, id: Any) -> Any |
(shared captured text) |
mapFromItem |
function | (self, item: Any, x: Any, y: Any, w: Any, h: Any) -> Any |
X.mapFromItem(item, x, y, w, h) -> PythonQt.QtGui.QPainterPath (shared captured text) |
mapFromParent |
function | (self, x: Any, y: Any, w: Any, h: Any) -> Any |
X.mapFromParent(x, y, w, h) -> PythonQt.QtGui.QPainterPath (shared captured text) |
mapFromScene |
function | (self, x: Any, y: Any, w: Any, h: Any) -> Any |
X.mapFromScene(x, y, w, h) -> PythonQt.QtGui.QPainterPath (shared captured text) |
mapRectFromItem |
function | (self, item: Any, x: Any, y: Any, w: Any, h: Any) -> Any |
X.mapRectFromItem(item, x, y, w, h) -> PythonQt.QtCore.QRectF (shared captured text) |
mapRectFromParent |
function | (self, x: Any, y: Any, w: Any, h: Any) -> Any |
X.mapRectFromParent(x, y, w, h) -> PythonQt.QtCore.QRectF (shared captured text) |
mapRectFromScene |
function | (self, x: Any, y: Any, w: Any, h: Any) -> Any |
X.mapRectFromScene(x, y, w, h) -> PythonQt.QtCore.QRectF (shared captured text) |
mapRectToItem |
function | (self, item: Any, x: Any, y: Any, w: Any, h: Any) -> Any |
X.mapRectToItem(item, x, y, w, h) -> PythonQt.QtCore.QRectF (shared captured text) |
mapRectToParent |
function | (self, x: Any, y: Any, w: Any, h: Any) -> Any |
X.mapRectToParent(x, y, w, h) -> PythonQt.QtCore.QRectF (shared captured text) |
mapRectToScene |
function | (self, x: Any, y: Any, w: Any, h: Any) -> Any |
X.mapRectToScene(x, y, w, h) -> PythonQt.QtCore.QRectF (shared captured text) |
mapToItem |
function | (self, item: Any, x: Any, y: Any, w: Any, h: Any) -> Any |
X.mapToItem(item, x, y, w, h) -> PythonQt.QtGui.QPainterPath (shared captured text) |
mapToParent |
function | (self, x: Any, y: Any, w: Any, h: Any) -> Any |
X.mapToParent(x, y, w, h) -> PythonQt.QtGui.QPainterPath (shared captured text) |
mapToScene |
function | (self, x: Any, y: Any, w: Any, h: Any) -> Any |
X.mapToScene(x, y, w, h) -> PythonQt.QtGui.QPainterPath (shared captured text) |
maximumCacheSize |
attribute | QSize |
This property holds the maximum size of the device coordinate cache for this item. |
metaObject |
function | (self) -> Any |
X.metaObject() -> PythonQt.QtCore.QMetaObject (shared captured text) |
mouseDoubleClickEvent |
function | (self, event: Any) -> Any |
(shared captured text) |
mouseMoveEvent |
function | (self, event: Any) -> Any |
(shared captured text) |
mousePressEvent |
function | (self, event: Any) -> Any |
(shared captured text) |
mouseReleaseEvent |
function | (self, event: Any) -> Any |
(shared captured text) |
moveBy |
function | (self, dx: Any, dy: Any) -> Any |
X.moveBy(dx, dy) (shared captured text) |
moveToThread |
function | (self, thread: Any) -> Any |
(shared captured text) |
objectName |
attribute | Any |
(shared captured text) |
objectNameChanged |
function | (self, *args: Any, **kwargs: Any) -> Any |
Native PythonQt.QtSvg.QGraphicsSvgItem.objectNameChanged; argument details are not documented. |
opacity |
attribute | Any |
(shared captured text) |
opacityChanged |
function | (self, *args: Any, **kwargs: Any) -> Any |
Native PythonQt.QtSvg.QGraphicsSvgItem.opacityChanged; argument details are not documented. |
opaqueArea |
function | (self) -> Any |
X.opaqueArea() -> PythonQt.QtGui.QPainterPath (shared captured text) |
paint |
function | (self, painter: Any, option: Any, widget: Any) -> None |
X.paint(painter, option, widget) |
panel |
function | (self) -> Any |
X.panel() -> PythonQt.QtGui.QGraphicsItem (shared captured text) |
panelModality |
function | (self) -> Any |
(shared captured text) |
parent |
attribute | QGraphicsObject |
(shared captured text) |
parentChanged |
function | (self, *args: Any, **kwargs: Any) -> Any |
Native PythonQt.QtSvg.QGraphicsSvgItem.parentChanged; argument details are not documented. |
parentItem |
function | (self) -> Any |
X.parentItem() -> PythonQt.QtGui.QGraphicsItem (shared captured text) |
parentObject |
function | (self) -> Any |
X.parentObject() -> PythonQt.QtGui.QGraphicsObject (shared captured text) |
parentWidget |
function | (self) -> Any |
X.parentWidget() -> PythonQt.QtGui.QGraphicsWidget (shared captured text) |
pos |
attribute | QPointF |
(shared captured text) |
prepareGeometryChange |
function | (self) -> Any |
(shared captured text) |
property |
function | (self, name: Any) -> Any |
X.property(name) -> object (shared captured text) |
removeEventFilter |
function | (self, obj: Any) -> Any |
(shared captured text) |
removeFromIndex |
function | (self) -> Any |
(shared captured text) |
removeSceneEventFilter |
function | (self, filterItem: Any) -> Any |
(shared captured text) |
renderer |
function | (self) -> Any |
X.renderer() -> PythonQt.QtSvg.QSvgRenderer |
resetTransform |
function | (self) -> Any |
(shared captured text) |
rotation |
attribute | Any |
(shared captured text) |
rotationChanged |
function | (self, *args: Any, **kwargs: Any) -> Any |
Native PythonQt.QtSvg.QGraphicsSvgItem.rotationChanged; argument details are not documented. |
scale |
attribute | Any |
(shared captured text) |
scaleChanged |
function | (self, *args: Any, **kwargs: Any) -> Any |
Native PythonQt.QtSvg.QGraphicsSvgItem.scaleChanged; argument details are not documented. |
scene |
function | (self) -> Any |
X.scene() -> PythonQt.QtGui.QGraphicsScene (shared captured text) |
sceneBoundingRect |
function | (self) -> Any |
X.sceneBoundingRect() -> PythonQt.QtCore.QRectF (shared captured text) |
sceneEvent |
function | (self, event: Any) -> bool |
X.sceneEvent(event) -> bool (shared captured text) |
sceneEventFilter |
function | (self, watched: Any, event: Any) -> bool |
X.sceneEventFilter(watched, event) -> bool (shared captured text) |
scenePos |
function | (self) -> Any |
X.scenePos() -> PythonQt.QtCore.QPointF (shared captured text) |
sceneTransform |
function | (self) -> Any |
X.sceneTransform() -> PythonQt.QtGui.QTransform (shared captured text) |
scroll |
function | (self, dx: Any, dy: Any, rect: Any) -> Any |
X.scroll(dx, dy, rect) (shared captured text) |
sender |
function | (self) -> Any |
X.sender() -> PythonQt.private.QObject (shared captured text) |
senderSignalIndex |
function | (self) -> int |
X.senderSignalIndex() -> int (shared captured text) |
setAcceptDrops |
function | (self, on: Any) -> Any |
(shared captured text) |
setAcceptHoverEvents |
function | (self, enabled: Any) -> Any |
(shared captured text) |
setAcceptTouchEvents |
function | (self, enabled: Any) -> Any |
(shared captured text) |
setAcceptedMouseButtons |
function | (self, buttons: Any) -> Any |
(shared captured text) |
setActive |
function | (self, active: Any) -> Any |
(shared captured text) |
setBoundingRegionGranularity |
function | (self, granularity: Any) -> Any |
(shared captured text) |
setCacheMode |
function | (self, mode: Any, cacheSize: Any) -> Any |
X.setCacheMode(mode, cacheSize) (shared captured text) |
setCachingEnabled |
function | (self, arg__1: bool) -> None |
|
setCursor |
function | (self, cursor: Any) -> Any |
(shared captured text) |
setData |
function | (self, key: Any, value: Any) -> Any |
X.setData(key, value) (shared captured text) |
setElementId |
function | (self, id: str) -> None |
Sets the XML ID of the element to id. |
setEnabled |
function | (self, enabled: Any) -> Any |
(shared captured text) |
setExtension |
function | (self, extension: Any, variant: Any) -> Any |
X.setExtension(extension, variant) (shared captured text) |
setFiltersChildEvents |
function | (self, enabled: Any) -> Any |
(shared captured text) |
setFlag |
function | (self, arg0: flag, enabled: Any) -> Any |
X.setFlag(flag, enabled) (shared captured text) |
setFlags |
function | (self, arg0: flags) -> Any |
(shared captured text) |
setFocus |
function | (self, focusReason: Any) -> Any |
(shared captured text) |
setFocusProxy |
function | (self, item: Any) -> Any |
(shared captured text) |
setGraphicsEffect |
function | (self, effect: Any) -> Any |
(shared captured text) |
setGroup |
function | (self, group: Any) -> Any |
(shared captured text) |
setHandlesChildEvents |
function | (self, enabled: Any) -> Any |
(shared captured text) |
setInputMethodHints |
function | (self, hints: Any) -> Any |
(shared captured text) |
setMaximumCacheSize |
function | (self, size: Any) -> None |
Sets the maximum device coordinate cache size of the item to size. |
setObjectName |
function | (self, name: Any) -> Any |
(shared captured text) |
setOpacity |
function | (self, opacity: Any) -> Any |
(shared captured text) |
setPanelModality |
function | (self, panelModality: Any) -> Any |
(shared captured text) |
setParent |
function | (self, parent: Any) -> Any |
(shared captured text) |
setParentItem |
function | (self, parent: Any) -> Any |
(shared captured text) |
setPos |
function | (self, x: Any, y: Any) -> Any |
X.setPos(x, y) (shared captured text) |
setProperty |
function | (self, name: Any, value: Any) -> bool |
X.setProperty(name, value) -> bool (shared captured text) |
setRotation |
function | (self, angle: Any) -> Any |
(shared captured text) |
setScale |
function | (self, scale: Any) -> Any |
(shared captured text) |
setSelected |
function | (self, selected: Any) -> Any |
(shared captured text) |
setSharedRenderer |
function | (self, renderer: Any) -> None |
Sets renderer to be a shared [QSvgRenderer](https://doc.qt.io/archives/qt-5.15/qsvgrenderer.html) on the item. |
setToolTip |
function | (self, toolTip: Any) -> Any |
(shared captured text) |
setTransform |
function | (self, matrix: Any, combine: Any) -> Any |
X.setTransform(matrix, combine) (shared captured text) |
setTransformOriginPoint |
function | (self, ax: Any, ay: Any) -> Any |
X.setTransformOriginPoint(ax, ay) (shared captured text) |
setTransformations |
function | (self, transformations: Any) -> Any |
(shared captured text) |
setVisible |
function | (self, visible: Any) -> Any |
(shared captured text) |
setX |
function | (self, x: Any) -> Any |
(shared captured text) |
setY |
function | (self, y: Any) -> Any |
(shared captured text) |
setZValue |
function | (self, z: Any) -> Any |
(shared captured text) |
shape |
function | (self) -> Any |
X.shape() -> PythonQt.QtGui.QPainterPath (shared captured text) |
show |
function | (self) -> Any |
(shared captured text) |
signalsBlocked |
function | (self) -> bool |
X.signalsBlocked() -> bool (shared captured text) |
stackBefore |
function | (self, sibling: Any) -> Any |
(shared captured text) |
startTimer |
function | (self, interval: Any, timerType: Any) -> int |
X.startTimer(interval, timerType) -> int (shared captured text) |
supportsExtension |
function | (self, extension: Any) -> bool |
X.supportsExtension(extension) -> bool (shared captured text) |
thread |
function | (self) -> Any |
(shared captured text) |
timerEvent |
function | (self, event: Any) -> Any |
(shared captured text) |
toGraphicsObject |
function | (self) -> Any |
X.toGraphicsObject() -> PythonQt.QtGui.QGraphicsObject (shared captured text) |
toolTip |
function | (self) -> str |
X.toolTip() -> str (shared captured text) |
topLevelItem |
function | (self) -> Any |
X.topLevelItem() -> PythonQt.QtGui.QGraphicsItem (shared captured text) |
topLevelWidget |
function | (self) -> Any |
X.topLevelWidget() -> PythonQt.QtGui.QGraphicsWidget (shared captured text) |
tr |
function | (self, text: Any, ambig: Any, n: Any) -> str |
X.tr(text, ambig, n) -> str (shared captured text) |
transform |
function | (self) -> Any |
X.transform() -> PythonQt.QtGui.QTransform (shared captured text) |
transformOriginPoint |
attribute | QPointF |
(shared captured text) |
transformations |
function | (self) -> tuple |
X.transformations() -> tuple (shared captured text) |
type |
function | (self) -> int |
X.type() -> int |
ungrabGesture |
function | (self, type: Any) -> Any |
(shared captured text) |
ungrabKeyboard |
function | (self) -> Any |
(shared captured text) |
ungrabMouse |
function | (self) -> Any |
(shared captured text) |
unsetCursor |
function | (self) -> Any |
(shared captured text) |
update |
function | (self, x: Any, y: Any, width: Any, height: Any) -> Any |
X.update(x, y, width, height) (shared captured text) |
updateMicroFocus |
function | (self) -> Any |
(shared captured text) |
visible |
attribute | Any |
(shared captured text) |
visibleChanged |
function | (self, *args: Any, **kwargs: Any) -> Any |
Native PythonQt.QtSvg.QGraphicsSvgItem.visibleChanged; argument details are not documented. |
wheelEvent |
function | (self, event: Any) -> Any |
(shared captured text) |
width |
attribute | Any |
(shared captured text) |
widthChanged |
function | (self, *args: Any, **kwargs: Any) -> Any |
Native PythonQt.QtSvg.QGraphicsSvgItem.widthChanged; argument details are not documented. |
window |
function | (self) -> Any |
X.window() -> PythonQt.QtGui.QGraphicsWidget (shared captured text) |
x |
attribute | Any |
(shared captured text) |
xChanged |
function | (self, *args: Any, **kwargs: Any) -> Any |
Native PythonQt.QtSvg.QGraphicsSvgItem.xChanged; argument details are not documented. |
y |
attribute | Any |
(shared captured text) |
yChanged |
function | (self, *args: Any, **kwargs: Any) -> Any |
Native PythonQt.QtSvg.QGraphicsSvgItem.yChanged; argument details are not documented. |
z |
attribute | Any |
(shared captured text) |
zChanged |
function | (self, *args: Any, **kwargs: Any) -> Any |
Native PythonQt.QtSvg.QGraphicsSvgItem.zChanged; argument details are not documented. |
zValue |
function | (self) -> float |
X.zValue() -> float (shared captured text) |