QtQuick.pyi 85 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162636465666768697071727374757677787980818283848586878889909192939495969798991001011021031041051061071081091101111121131141151161171181191201211221231241251261271281291301311321331341351361371381391401411421431441451461471481491501511521531541551561571581591601611621631641651661671681691701711721731741751761771781791801811821831841851861871881891901911921931941951961971981992002012022032042052062072082092102112122132142152162172182192202212222232242252262272282292302312322332342352362372382392402412422432442452462472482492502512522532542552562572582592602612622632642652662672682692702712722732742752762772782792802812822832842852862872882892902912922932942952962972982993003013023033043053063073083093103113123133143153163173183193203213223233243253263273283293303313323333343353363373383393403413423433443453463473483493503513523533543553563573583593603613623633643653663673683693703713723733743753763773783793803813823833843853863873883893903913923933943953963973983994004014024034044054064074084094104114124134144154164174184194204214224234244254264274284294304314324334344354364374384394404414424434444454464474484494504514524534544554564574584594604614624634644654664674684694704714724734744754764774784794804814824834844854864874884894904914924934944954964974984995005015025035045055065075085095105115125135145155165175185195205215225235245255265275285295305315325335345355365375385395405415425435445455465475485495505515525535545555565575585595605615625635645655665675685695705715725735745755765775785795805815825835845855865875885895905915925935945955965975985996006016026036046056066076086096106116126136146156166176186196206216226236246256266276286296306316326336346356366376386396406416426436446456466476486496506516526536546556566576586596606616626636646656666676686696706716726736746756766776786796806816826836846856866876886896906916926936946956966976986997007017027037047057067077087097107117127137147157167177187197207217227237247257267277287297307317327337347357367377387397407417427437447457467477487497507517527537547557567577587597607617627637647657667677687697707717727737747757767777787797807817827837847857867877887897907917927937947957967977987998008018028038048058068078088098108118128138148158168178188198208218228238248258268278288298308318328338348358368378388398408418428438448458468478488498508518528538548558568578588598608618628638648658668678688698708718728738748758768778788798808818828838848858868878888898908918928938948958968978988999009019029039049059069079089099109119129139149159169179189199209219229239249259269279289299309319329339349359369379389399409419429439449459469479489499509519529539549559569579589599609619629639649659669679689699709719729739749759769779789799809819829839849859869879889899909919929939949959969979989991000100110021003100410051006100710081009101010111012101310141015101610171018101910201021102210231024102510261027102810291030103110321033103410351036103710381039104010411042104310441045104610471048104910501051105210531054105510561057105810591060106110621063106410651066106710681069107010711072107310741075107610771078107910801081108210831084108510861087108810891090109110921093109410951096109710981099110011011102110311041105110611071108110911101111111211131114111511161117111811191120112111221123112411251126112711281129113011311132113311341135113611371138113911401141114211431144114511461147114811491150115111521153115411551156115711581159116011611162116311641165116611671168116911701171117211731174117511761177117811791180118111821183118411851186118711881189119011911192119311941195119611971198119912001201120212031204120512061207120812091210121112121213121412151216121712181219122012211222122312241225122612271228122912301231123212331234123512361237123812391240124112421243124412451246124712481249125012511252125312541255125612571258125912601261126212631264126512661267126812691270127112721273127412751276127712781279128012811282128312841285128612871288128912901291129212931294129512961297129812991300130113021303130413051306130713081309131013111312131313141315131613171318131913201321132213231324132513261327132813291330133113321333133413351336133713381339134013411342134313441345134613471348134913501351135213531354135513561357135813591360136113621363136413651366136713681369137013711372137313741375137613771378137913801381138213831384138513861387138813891390139113921393139413951396139713981399140014011402140314041405140614071408140914101411141214131414141514161417141814191420142114221423142414251426142714281429143014311432143314341435143614371438143914401441144214431444144514461447144814491450145114521453145414551456145714581459146014611462146314641465146614671468146914701471147214731474147514761477147814791480148114821483148414851486148714881489149014911492149314941495149614971498149915001501150215031504150515061507150815091510151115121513151415151516151715181519152015211522152315241525152615271528152915301531153215331534153515361537153815391540154115421543154415451546154715481549155015511552155315541555155615571558155915601561156215631564156515661567156815691570157115721573157415751576157715781579158015811582158315841585158615871588158915901591159215931594159515961597159815991600160116021603160416051606160716081609161016111612161316141615161616171618161916201621162216231624162516261627162816291630163116321633163416351636163716381639164016411642164316441645164616471648164916501651165216531654165516561657165816591660166116621663166416651666166716681669167016711672167316741675167616771678167916801681168216831684168516861687168816891690169116921693169416951696169716981699170017011702
  1. # Copyright (C) 2022 The Qt Company Ltd.
  2. # SPDX-License-Identifier: LicenseRef-Qt-Commercial OR LGPL-3.0-only OR GPL-2.0-only OR GPL-3.0-only
  3. """
  4. This file contains the exact signatures for all functions in module
  5. PySide6.QtQuick, except for defaults which are replaced by "...".
  6. """
  7. # mypy: disable-error-code="override, overload-overlap"
  8. # Module `PySide6.QtQuick`
  9. import PySide6.QtQuick
  10. import PySide6.QtCore
  11. import PySide6.QtGui
  12. import PySide6.QtOpenGL
  13. import PySide6.QtQml
  14. import enum
  15. import typing
  16. import collections.abc
  17. from PySide6.QtCore import Signal
  18. from shiboken6 import Shiboken
  19. class QIntList: ...
  20. class QQuickAsyncImageProvider(PySide6.QtQuick.QQuickImageProvider):
  21. def __init__(self, /) -> None: ...
  22. def requestImageResponse(self, id: str, requestedSize: PySide6.QtCore.QSize, /) -> PySide6.QtQuick.QQuickImageResponse: ...
  23. class QQuickFramebufferObject(PySide6.QtQuick.QQuickItem):
  24. mirrorVerticallyChanged : typing.ClassVar[Signal] = ... # mirrorVerticallyChanged(bool)
  25. textureFollowsItemSizeChanged: typing.ClassVar[Signal] = ... # textureFollowsItemSizeChanged(bool)
  26. class Renderer(Shiboken.Object):
  27. def __init__(self, /) -> None: ...
  28. def createFramebufferObject(self, size: PySide6.QtCore.QSize, /) -> PySide6.QtOpenGL.QOpenGLFramebufferObject: ...
  29. def framebufferObject(self, /) -> PySide6.QtOpenGL.QOpenGLFramebufferObject: ...
  30. def invalidateFramebufferObject(self, /) -> None: ...
  31. def render(self, /) -> None: ...
  32. def synchronize(self, arg__1: PySide6.QtQuick.QQuickFramebufferObject, /) -> None: ...
  33. def update(self, /) -> None: ...
  34. def __init__(self, /, parent: PySide6.QtQuick.QQuickItem | None = ..., *, textureFollowsItemSize: bool | None = ..., mirrorVertically: bool | None = ...) -> None: ...
  35. def createRenderer(self, /) -> PySide6.QtQuick.QQuickFramebufferObject.Renderer: ...
  36. def geometryChange(self, newGeometry: PySide6.QtCore.QRectF | PySide6.QtCore.QRect, oldGeometry: PySide6.QtCore.QRectF | PySide6.QtCore.QRect, /) -> None: ...
  37. def isTextureProvider(self, /) -> bool: ...
  38. def mirrorVertically(self, /) -> bool: ...
  39. def releaseResources(self, /) -> None: ...
  40. def setMirrorVertically(self, enable: bool, /) -> None: ...
  41. def setTextureFollowsItemSize(self, follows: bool, /) -> None: ...
  42. def textureFollowsItemSize(self, /) -> bool: ...
  43. def textureProvider(self, /) -> PySide6.QtQuick.QSGTextureProvider: ...
  44. def updatePaintNode(self, arg__1: PySide6.QtQuick.QSGNode, arg__2: PySide6.QtQuick.QQuickItem.UpdatePaintNodeData, /) -> PySide6.QtQuick.QSGNode: ...
  45. class QQuickGraphicsConfiguration(Shiboken.Object):
  46. @typing.overload
  47. def __init__(self, /) -> None: ...
  48. @typing.overload
  49. def __init__(self, other: PySide6.QtQuick.QQuickGraphicsConfiguration, /) -> None: ...
  50. def __copy__(self, /) -> typing.Self: ...
  51. def deviceExtensions(self, /) -> typing.List[PySide6.QtCore.QByteArray]: ...
  52. def isAutomaticPipelineCacheEnabled(self, /) -> bool: ...
  53. def isDebugLayerEnabled(self, /) -> bool: ...
  54. def isDebugMarkersEnabled(self, /) -> bool: ...
  55. def isDepthBufferEnabledFor2D(self, /) -> bool: ...
  56. def pipelineCacheLoadFile(self, /) -> str: ...
  57. def pipelineCacheSaveFile(self, /) -> str: ...
  58. @staticmethod
  59. def preferredInstanceExtensions() -> typing.List[PySide6.QtCore.QByteArray]: ...
  60. def prefersSoftwareDevice(self, /) -> bool: ...
  61. def setAutomaticPipelineCache(self, enable: bool, /) -> None: ...
  62. def setDebugLayer(self, enable: bool, /) -> None: ...
  63. def setDebugMarkers(self, enable: bool, /) -> None: ...
  64. def setDepthBufferFor2D(self, enable: bool, /) -> None: ...
  65. def setDeviceExtensions(self, extensions: collections.abc.Sequence[PySide6.QtCore.QByteArray], /) -> None: ...
  66. def setPipelineCacheLoadFile(self, filename: str, /) -> None: ...
  67. def setPipelineCacheSaveFile(self, filename: str, /) -> None: ...
  68. def setPreferSoftwareDevice(self, enable: bool, /) -> None: ...
  69. def setTimestamps(self, enable: bool, /) -> None: ...
  70. def timestampsEnabled(self, /) -> bool: ...
  71. class QQuickGraphicsDevice(Shiboken.Object):
  72. @typing.overload
  73. def __init__(self, /) -> None: ...
  74. @typing.overload
  75. def __init__(self, other: PySide6.QtQuick.QQuickGraphicsDevice, /) -> None: ...
  76. def __copy__(self, /) -> typing.Self: ...
  77. @staticmethod
  78. def fromAdapter(adapterLuidLow: int, adapterLuidHigh: int, /, featureLevel: int | None = ...) -> PySide6.QtQuick.QQuickGraphicsDevice: ...
  79. @staticmethod
  80. def fromDeviceAndContext(device: int, context: int, /) -> PySide6.QtQuick.QQuickGraphicsDevice: ...
  81. @staticmethod
  82. def fromOpenGLContext(context: PySide6.QtGui.QOpenGLContext, /) -> PySide6.QtQuick.QQuickGraphicsDevice: ...
  83. @staticmethod
  84. def fromRhi(rhi: PySide6.QtGui.QRhi, /) -> PySide6.QtQuick.QQuickGraphicsDevice: ...
  85. @staticmethod
  86. def fromRhiAdapter(adapter: PySide6.QtGui.QRhiAdapter, /) -> PySide6.QtQuick.QQuickGraphicsDevice: ...
  87. def isNull(self, /) -> bool: ...
  88. class QQuickImageProvider(PySide6.QtQml.QQmlImageProviderBase):
  89. def __init__(self, type: PySide6.QtQml.QQmlImageProviderBase.ImageType, /, flags: PySide6.QtQml.QQmlImageProviderBase.Flag = ...) -> None: ...
  90. def flags(self, /) -> PySide6.QtQml.QQmlImageProviderBase.Flag: ...
  91. def imageType(self, /) -> PySide6.QtQml.QQmlImageProviderBase.ImageType: ...
  92. def requestImage(self, id: str, size: PySide6.QtCore.QSize, requestedSize: PySide6.QtCore.QSize, /) -> PySide6.QtGui.QImage: ...
  93. def requestPixmap(self, id: str, size: PySide6.QtCore.QSize, requestedSize: PySide6.QtCore.QSize, /) -> PySide6.QtGui.QPixmap: ...
  94. def requestTexture(self, id: str, size: PySide6.QtCore.QSize, requestedSize: PySide6.QtCore.QSize, /) -> PySide6.QtQuick.QQuickTextureFactory: ...
  95. class QQuickImageResponse(PySide6.QtCore.QObject):
  96. finished : typing.ClassVar[Signal] = ... # finished()
  97. def __init__(self, /) -> None: ...
  98. def cancel(self, /) -> None: ...
  99. def errorString(self, /) -> str: ...
  100. def textureFactory(self, /) -> PySide6.QtQuick.QQuickTextureFactory: ...
  101. class QQuickItem(PySide6.QtCore.QObject, PySide6.QtQml.QQmlParserStatus):
  102. activeFocusChanged : typing.ClassVar[Signal] = ... # activeFocusChanged(bool)
  103. activeFocusOnTabChanged : typing.ClassVar[Signal] = ... # activeFocusOnTabChanged(bool)
  104. antialiasingChanged : typing.ClassVar[Signal] = ... # antialiasingChanged(bool)
  105. baselineOffsetChanged : typing.ClassVar[Signal] = ... # baselineOffsetChanged(double)
  106. childrenChanged : typing.ClassVar[Signal] = ... # childrenChanged()
  107. childrenRectChanged : typing.ClassVar[Signal] = ... # childrenRectChanged(QRectF)
  108. clipChanged : typing.ClassVar[Signal] = ... # clipChanged(bool)
  109. containmentMaskChanged : typing.ClassVar[Signal] = ... # containmentMaskChanged()
  110. enabledChanged : typing.ClassVar[Signal] = ... # enabledChanged()
  111. focusChanged : typing.ClassVar[Signal] = ... # focusChanged(bool)
  112. focusPolicyChanged : typing.ClassVar[Signal] = ... # focusPolicyChanged(Qt::FocusPolicy)
  113. heightChanged : typing.ClassVar[Signal] = ... # heightChanged()
  114. implicitHeightChanged : typing.ClassVar[Signal] = ... # implicitHeightChanged()
  115. implicitWidthChanged : typing.ClassVar[Signal] = ... # implicitWidthChanged()
  116. opacityChanged : typing.ClassVar[Signal] = ... # opacityChanged()
  117. paletteChanged : typing.ClassVar[Signal] = ... # paletteChanged()
  118. paletteCreated : typing.ClassVar[Signal] = ... # paletteCreated()
  119. parentChanged : typing.ClassVar[Signal] = ... # parentChanged(QQuickItem*)
  120. rotationChanged : typing.ClassVar[Signal] = ... # rotationChanged()
  121. scaleChanged : typing.ClassVar[Signal] = ... # scaleChanged()
  122. smoothChanged : typing.ClassVar[Signal] = ... # smoothChanged(bool)
  123. stateChanged : typing.ClassVar[Signal] = ... # stateChanged(QString)
  124. transformOriginChanged : typing.ClassVar[Signal] = ... # transformOriginChanged(TransformOrigin)
  125. visibleChanged : typing.ClassVar[Signal] = ... # visibleChanged()
  126. visibleChildrenChanged : typing.ClassVar[Signal] = ... # visibleChildrenChanged()
  127. widthChanged : typing.ClassVar[Signal] = ... # widthChanged()
  128. windowChanged : typing.ClassVar[Signal] = ... # windowChanged(QQuickWindow*)
  129. xChanged : typing.ClassVar[Signal] = ... # xChanged()
  130. yChanged : typing.ClassVar[Signal] = ... # yChanged()
  131. zChanged : typing.ClassVar[Signal] = ... # zChanged()
  132. class Flag(enum.Flag):
  133. ItemClipsChildrenToShape = 0x1
  134. ItemAcceptsInputMethod = 0x2
  135. ItemIsFocusScope = 0x4
  136. ItemHasContents = 0x8
  137. ItemAcceptsDrops = 0x10
  138. ItemIsViewport = 0x20
  139. ItemObservesViewport = 0x40
  140. class ItemChange(enum.Enum):
  141. ItemChildAddedChange = 0x0
  142. ItemChildRemovedChange = 0x1
  143. ItemSceneChange = 0x2
  144. ItemVisibleHasChanged = 0x3
  145. ItemParentHasChanged = 0x4
  146. ItemOpacityHasChanged = 0x5
  147. ItemActiveFocusHasChanged = 0x6
  148. ItemRotationHasChanged = 0x7
  149. ItemAntialiasingHasChanged = 0x8
  150. ItemDevicePixelRatioHasChanged = 0x9
  151. ItemEnabledHasChanged = 0xa
  152. ItemScaleHasChanged = 0xb
  153. ItemTransformHasChanged = 0xc
  154. class TransformOrigin(enum.Enum):
  155. TopLeft = 0x0
  156. Top = 0x1
  157. TopRight = 0x2
  158. Left = 0x3
  159. Center = 0x4
  160. Right = 0x5
  161. BottomLeft = 0x6
  162. Bottom = 0x7
  163. BottomRight = 0x8
  164. class UpdatePaintNodeData(Shiboken.Object):
  165. def __init__(self, UpdatePaintNodeData: PySide6.QtQuick.QQuickItem.UpdatePaintNodeData, /) -> None: ...
  166. def __copy__(self, /) -> typing.Self: ...
  167. def __init__(self, /, parent: PySide6.QtQuick.QQuickItem | None = ..., *, x: float | None = ..., y: float | None = ..., z: float | None = ..., width: float | None = ..., height: float | None = ..., opacity: float | None = ..., enabled: bool | None = ..., visible: bool | None = ..., state: str | None = ..., childrenRect: PySide6.QtCore.QRectF | None = ..., baselineOffset: float | None = ..., clip: bool | None = ..., focus: bool | None = ..., activeFocus: bool | None = ..., activeFocusOnTab: bool | None = ..., focusPolicy: PySide6.QtCore.Qt.FocusPolicy | None = ..., rotation: float | None = ..., scale: float | None = ..., transformOrigin: PySide6.QtQuick.QQuickItem.TransformOrigin | None = ..., transformOriginPoint: PySide6.QtCore.QPointF | None = ..., smooth: bool | None = ..., antialiasing: bool | None = ..., implicitWidth: float | None = ..., implicitHeight: float | None = ..., containmentMask: PySide6.QtCore.QObject | None = ...) -> None: ...
  168. def __repr__(self, /) -> str: ...
  169. def acceptHoverEvents(self, /) -> bool: ...
  170. def acceptTouchEvents(self, /) -> bool: ...
  171. def acceptedMouseButtons(self, /) -> PySide6.QtCore.Qt.MouseButton: ...
  172. def activeFocusOnTab(self, /) -> bool: ...
  173. def antialiasing(self, /) -> bool: ...
  174. def baselineOffset(self, /) -> float: ...
  175. def boundingRect(self, /) -> PySide6.QtCore.QRectF: ...
  176. def childAt(self, x: float, y: float, /) -> PySide6.QtQuick.QQuickItem: ...
  177. def childItems(self, /) -> typing.List[PySide6.QtQuick.QQuickItem]: ...
  178. def childMouseEventFilter(self, arg__1: PySide6.QtQuick.QQuickItem, arg__2: PySide6.QtCore.QEvent, /) -> bool: ...
  179. def childrenRect(self, /) -> PySide6.QtCore.QRectF: ...
  180. def classBegin(self, /) -> None: ...
  181. def clip(self, /) -> bool: ...
  182. def clipRect(self, /) -> PySide6.QtCore.QRectF: ...
  183. def componentComplete(self, /) -> None: ...
  184. def containmentMask(self, /) -> PySide6.QtCore.QObject: ...
  185. def contains(self, point: PySide6.QtCore.QPointF | PySide6.QtCore.QPoint | PySide6.QtGui.QPainterPath.Element, /) -> bool: ...
  186. def cursor(self, /) -> PySide6.QtGui.QCursor: ...
  187. def dragEnterEvent(self, arg__1: PySide6.QtGui.QDragEnterEvent, /) -> None: ...
  188. def dragLeaveEvent(self, arg__1: PySide6.QtGui.QDragLeaveEvent, /) -> None: ...
  189. def dragMoveEvent(self, arg__1: PySide6.QtGui.QDragMoveEvent, /) -> None: ...
  190. def dropEvent(self, arg__1: PySide6.QtGui.QDropEvent, /) -> None: ...
  191. def dumpItemTree(self, /) -> None: ...
  192. def ensurePolished(self, /) -> None: ...
  193. def event(self, arg__1: PySide6.QtCore.QEvent, /) -> bool: ...
  194. def filtersChildMouseEvents(self, /) -> bool: ...
  195. def flags(self, /) -> PySide6.QtQuick.QQuickItem.Flag: ...
  196. def focusInEvent(self, arg__1: PySide6.QtGui.QFocusEvent, /) -> None: ...
  197. def focusOutEvent(self, arg__1: PySide6.QtGui.QFocusEvent, /) -> None: ...
  198. def focusPolicy(self, /) -> PySide6.QtCore.Qt.FocusPolicy: ...
  199. @typing.overload
  200. def forceActiveFocus(self, /) -> None: ...
  201. @typing.overload
  202. def forceActiveFocus(self, reason: PySide6.QtCore.Qt.FocusReason, /) -> None: ...
  203. def geometryChange(self, newGeometry: PySide6.QtCore.QRectF | PySide6.QtCore.QRect, oldGeometry: PySide6.QtCore.QRectF | PySide6.QtCore.QRect, /) -> None: ...
  204. def grabMouse(self, /) -> None: ...
  205. @typing.overload
  206. def grabToImage(self, /, targetSize: PySide6.QtCore.QSize = ...) -> PySide6.QtQuick.QSharedPointer_QQuickItemGrabResult: ...
  207. @typing.overload
  208. def grabToImage(self, callback: PySide6.QtQml.QJSValue | PySide6.QtQml.QJSValue.SpecialValue | bool | str | bytes | bytearray | memoryview | float | int, /, targetSize: PySide6.QtCore.QSize = ...) -> bool: ...
  209. def grabTouchPoints(self, ids: collections.abc.Sequence[int], /) -> None: ...
  210. def hasActiveFocus(self, /) -> bool: ...
  211. def hasFocus(self, /) -> bool: ...
  212. def height(self, /) -> float: ...
  213. def heightValid(self, /) -> bool: ...
  214. def hoverEnterEvent(self, event: PySide6.QtGui.QHoverEvent, /) -> None: ...
  215. def hoverLeaveEvent(self, event: PySide6.QtGui.QHoverEvent, /) -> None: ...
  216. def hoverMoveEvent(self, event: PySide6.QtGui.QHoverEvent, /) -> None: ...
  217. def implicitHeight(self, /) -> float: ...
  218. def implicitWidth(self, /) -> float: ...
  219. def inputMethodEvent(self, arg__1: PySide6.QtGui.QInputMethodEvent, /) -> None: ...
  220. def inputMethodQuery(self, query: PySide6.QtCore.Qt.InputMethodQuery, /) -> typing.Any: ...
  221. def isAncestorOf(self, child: PySide6.QtQuick.QQuickItem, /) -> bool: ...
  222. def isComponentComplete(self, /) -> bool: ...
  223. def isEnabled(self, /) -> bool: ...
  224. def isFocusScope(self, /) -> bool: ...
  225. def isTextureProvider(self, /) -> bool: ...
  226. def isUnderMouse(self, /) -> bool: ...
  227. def isVisible(self, /) -> bool: ...
  228. def itemTransform(self, arg__1: PySide6.QtQuick.QQuickItem, /) -> typing.Tuple[bool, PySide6.QtGui.QTransform]: ...
  229. def keepMouseGrab(self, /) -> bool: ...
  230. def keepTouchGrab(self, /) -> bool: ...
  231. def keyPressEvent(self, event: PySide6.QtGui.QKeyEvent, /) -> None: ...
  232. def keyReleaseEvent(self, event: PySide6.QtGui.QKeyEvent, /) -> None: ...
  233. @typing.overload
  234. def mapFromGlobal(self, point: PySide6.QtCore.QPointF | PySide6.QtCore.QPoint | PySide6.QtGui.QPainterPath.Element, /) -> PySide6.QtCore.QPointF: ...
  235. @typing.overload
  236. def mapFromGlobal(self, x: float, y: float, /) -> PySide6.QtCore.QPointF: ...
  237. @typing.overload
  238. def mapFromItem(self, item: PySide6.QtQuick.QQuickItem, rect: PySide6.QtCore.QRectF | PySide6.QtCore.QRect, /) -> PySide6.QtCore.QRectF: ...
  239. @typing.overload
  240. def mapFromItem(self, item: PySide6.QtQuick.QQuickItem, point: PySide6.QtCore.QPointF | PySide6.QtCore.QPoint | PySide6.QtGui.QPainterPath.Element, /) -> PySide6.QtCore.QPointF: ...
  241. @typing.overload
  242. def mapFromItem(self, item: PySide6.QtQuick.QQuickItem, x: float, y: float, /) -> PySide6.QtCore.QPointF: ...
  243. @typing.overload
  244. def mapFromItem(self, item: PySide6.QtQuick.QQuickItem, x: float, y: float, width: float, height: float, /) -> PySide6.QtCore.QRectF: ...
  245. def mapFromScene(self, point: PySide6.QtCore.QPointF | PySide6.QtCore.QPoint | PySide6.QtGui.QPainterPath.Element, /) -> PySide6.QtCore.QPointF: ...
  246. def mapRectFromItem(self, item: PySide6.QtQuick.QQuickItem, rect: PySide6.QtCore.QRectF | PySide6.QtCore.QRect, /) -> PySide6.QtCore.QRectF: ...
  247. def mapRectFromScene(self, rect: PySide6.QtCore.QRectF | PySide6.QtCore.QRect, /) -> PySide6.QtCore.QRectF: ...
  248. def mapRectToItem(self, item: PySide6.QtQuick.QQuickItem, rect: PySide6.QtCore.QRectF | PySide6.QtCore.QRect, /) -> PySide6.QtCore.QRectF: ...
  249. def mapRectToScene(self, rect: PySide6.QtCore.QRectF | PySide6.QtCore.QRect, /) -> PySide6.QtCore.QRectF: ...
  250. @typing.overload
  251. def mapToGlobal(self, point: PySide6.QtCore.QPointF | PySide6.QtCore.QPoint | PySide6.QtGui.QPainterPath.Element, /) -> PySide6.QtCore.QPointF: ...
  252. @typing.overload
  253. def mapToGlobal(self, x: float, y: float, /) -> PySide6.QtCore.QPointF: ...
  254. @typing.overload
  255. def mapToItem(self, item: PySide6.QtQuick.QQuickItem, rect: PySide6.QtCore.QRectF | PySide6.QtCore.QRect, /) -> PySide6.QtCore.QRectF: ...
  256. @typing.overload
  257. def mapToItem(self, item: PySide6.QtQuick.QQuickItem, point: PySide6.QtCore.QPointF | PySide6.QtCore.QPoint | PySide6.QtGui.QPainterPath.Element, /) -> PySide6.QtCore.QPointF: ...
  258. @typing.overload
  259. def mapToItem(self, item: PySide6.QtQuick.QQuickItem, x: float, y: float, /) -> PySide6.QtCore.QPointF: ...
  260. @typing.overload
  261. def mapToItem(self, item: PySide6.QtQuick.QQuickItem, x: float, y: float, width: float, height: float, /) -> PySide6.QtCore.QRectF: ...
  262. def mapToScene(self, point: PySide6.QtCore.QPointF | PySide6.QtCore.QPoint | PySide6.QtGui.QPainterPath.Element, /) -> PySide6.QtCore.QPointF: ...
  263. def mouseDoubleClickEvent(self, event: PySide6.QtGui.QMouseEvent, /) -> None: ...
  264. def mouseMoveEvent(self, event: PySide6.QtGui.QMouseEvent, /) -> None: ...
  265. def mousePressEvent(self, event: PySide6.QtGui.QMouseEvent, /) -> None: ...
  266. def mouseReleaseEvent(self, event: PySide6.QtGui.QMouseEvent, /) -> None: ...
  267. def mouseUngrabEvent(self, /) -> None: ...
  268. def nextItemInFocusChain(self, /, forward: bool = ...) -> PySide6.QtQuick.QQuickItem: ...
  269. def opacity(self, /) -> float: ...
  270. def parentItem(self, /) -> PySide6.QtQuick.QQuickItem: ...
  271. def polish(self, /) -> None: ...
  272. def position(self, /) -> PySide6.QtCore.QPointF: ...
  273. def releaseResources(self, /) -> None: ...
  274. def resetAntialiasing(self, /) -> None: ...
  275. def resetHeight(self, /) -> None: ...
  276. def resetWidth(self, /) -> None: ...
  277. def rotation(self, /) -> float: ...
  278. def scale(self, /) -> float: ...
  279. def scopedFocusItem(self, /) -> PySide6.QtQuick.QQuickItem: ...
  280. def setAcceptHoverEvents(self, enabled: bool, /) -> None: ...
  281. def setAcceptTouchEvents(self, accept: bool, /) -> None: ...
  282. def setAcceptedMouseButtons(self, buttons: PySide6.QtCore.Qt.MouseButton, /) -> None: ...
  283. def setActiveFocusOnTab(self, arg__1: bool, /) -> None: ...
  284. def setAntialiasing(self, arg__1: bool, /) -> None: ...
  285. def setBaselineOffset(self, arg__1: float, /) -> None: ...
  286. def setClip(self, arg__1: bool, /) -> None: ...
  287. def setContainmentMask(self, mask: PySide6.QtCore.QObject, /) -> None: ...
  288. def setCursor(self, cursor: PySide6.QtGui.QCursor | PySide6.QtCore.Qt.CursorShape | PySide6.QtGui.QPixmap, /) -> None: ...
  289. def setEnabled(self, arg__1: bool, /) -> None: ...
  290. def setFiltersChildMouseEvents(self, filter: bool, /) -> None: ...
  291. def setFlag(self, flag: PySide6.QtQuick.QQuickItem.Flag, /, enabled: bool = ...) -> None: ...
  292. def setFlags(self, flags: PySide6.QtQuick.QQuickItem.Flag, /) -> None: ...
  293. @typing.overload
  294. def setFocus(self, arg__1: bool, /) -> None: ...
  295. @typing.overload
  296. def setFocus(self, focus: bool, reason: PySide6.QtCore.Qt.FocusReason, /) -> None: ...
  297. def setFocusPolicy(self, policy: PySide6.QtCore.Qt.FocusPolicy, /) -> None: ...
  298. def setHeight(self, arg__1: float, /) -> None: ...
  299. def setImplicitHeight(self, arg__1: float, /) -> None: ...
  300. def setImplicitSize(self, arg__1: float, arg__2: float, /) -> None: ...
  301. def setImplicitWidth(self, arg__1: float, /) -> None: ...
  302. def setKeepMouseGrab(self, arg__1: bool, /) -> None: ...
  303. def setKeepTouchGrab(self, arg__1: bool, /) -> None: ...
  304. def setOpacity(self, arg__1: float, /) -> None: ...
  305. def setParentItem(self, parent: PySide6.QtQuick.QQuickItem, /) -> None: ...
  306. def setPosition(self, arg__1: PySide6.QtCore.QPointF | PySide6.QtCore.QPoint | PySide6.QtGui.QPainterPath.Element, /) -> None: ...
  307. def setRotation(self, arg__1: float, /) -> None: ...
  308. def setScale(self, arg__1: float, /) -> None: ...
  309. def setSize(self, size: PySide6.QtCore.QSizeF | PySide6.QtCore.QSize, /) -> None: ...
  310. def setSmooth(self, arg__1: bool, /) -> None: ...
  311. def setState(self, arg__1: str, /) -> None: ...
  312. def setTransformOrigin(self, arg__1: PySide6.QtQuick.QQuickItem.TransformOrigin, /) -> None: ...
  313. def setTransformOriginPoint(self, arg__1: PySide6.QtCore.QPointF | PySide6.QtCore.QPoint | PySide6.QtGui.QPainterPath.Element, /) -> None: ...
  314. def setVisible(self, arg__1: bool, /) -> None: ...
  315. def setWidth(self, arg__1: float, /) -> None: ...
  316. def setX(self, arg__1: float, /) -> None: ...
  317. def setY(self, arg__1: float, /) -> None: ...
  318. def setZ(self, arg__1: float, /) -> None: ...
  319. def size(self, /) -> PySide6.QtCore.QSizeF: ...
  320. def smooth(self, /) -> bool: ...
  321. def stackAfter(self, arg__1: PySide6.QtQuick.QQuickItem, /) -> None: ...
  322. def stackBefore(self, arg__1: PySide6.QtQuick.QQuickItem, /) -> None: ...
  323. def state(self, /) -> str: ...
  324. def textureProvider(self, /) -> PySide6.QtQuick.QSGTextureProvider: ...
  325. def touchEvent(self, event: PySide6.QtGui.QTouchEvent, /) -> None: ...
  326. def touchUngrabEvent(self, /) -> None: ...
  327. def transformOrigin(self, /) -> PySide6.QtQuick.QQuickItem.TransformOrigin: ...
  328. def transformOriginPoint(self, /) -> PySide6.QtCore.QPointF: ...
  329. def ungrabMouse(self, /) -> None: ...
  330. def ungrabTouchPoints(self, /) -> None: ...
  331. def unsetCursor(self, /) -> None: ...
  332. def update(self, /) -> None: ...
  333. def updateInputMethod(self, /, queries: PySide6.QtCore.Qt.InputMethodQuery = ...) -> None: ...
  334. def updatePaintNode(self, arg__1: PySide6.QtQuick.QSGNode, arg__2: PySide6.QtQuick.QQuickItem.UpdatePaintNodeData, /) -> PySide6.QtQuick.QSGNode: ...
  335. def updatePolish(self, /) -> None: ...
  336. def viewportItem(self, /) -> PySide6.QtQuick.QQuickItem: ...
  337. def wheelEvent(self, event: PySide6.QtGui.QWheelEvent, /) -> None: ...
  338. def width(self, /) -> float: ...
  339. def widthValid(self, /) -> bool: ...
  340. def window(self, /) -> PySide6.QtQuick.QQuickWindow: ...
  341. def x(self, /) -> float: ...
  342. def y(self, /) -> float: ...
  343. def z(self, /) -> float: ...
  344. class QQuickItemGrabResult(PySide6.QtCore.QObject):
  345. ready : typing.ClassVar[Signal] = ... # ready()
  346. def event(self, arg__1: PySide6.QtCore.QEvent, /) -> bool: ...
  347. def image(self, /) -> PySide6.QtGui.QImage: ...
  348. @typing.overload
  349. def saveToFile(self, fileName: str, /) -> bool: ...
  350. @typing.overload
  351. def saveToFile(self, fileName: PySide6.QtCore.QUrl | str, /) -> bool: ...
  352. def url(self, /) -> PySide6.QtCore.QUrl: ...
  353. class QQuickOpenGLUtils(Shiboken.Object):
  354. @staticmethod
  355. def resetOpenGLState() -> None: ...
  356. class QQuickPaintedItem(PySide6.QtQuick.QQuickItem):
  357. contentsScaleChanged : typing.ClassVar[Signal] = ... # contentsScaleChanged()
  358. contentsSizeChanged : typing.ClassVar[Signal] = ... # contentsSizeChanged()
  359. fillColorChanged : typing.ClassVar[Signal] = ... # fillColorChanged()
  360. renderTargetChanged : typing.ClassVar[Signal] = ... # renderTargetChanged()
  361. textureSizeChanged : typing.ClassVar[Signal] = ... # textureSizeChanged()
  362. class PerformanceHint(enum.Flag):
  363. FastFBOResizing = 0x1
  364. class RenderTarget(enum.Enum):
  365. Image = 0x0
  366. FramebufferObject = 0x1
  367. InvertedYFramebufferObject = 0x2
  368. def __init__(self, /, parent: PySide6.QtQuick.QQuickItem | None = ..., *, contentsSize: PySide6.QtCore.QSize | None = ..., fillColor: PySide6.QtGui.QColor | None = ..., contentsScale: float | None = ..., renderTarget: PySide6.QtQuick.QQuickPaintedItem.RenderTarget | None = ..., textureSize: PySide6.QtCore.QSize | None = ...) -> None: ...
  369. def antialiasing(self, /) -> bool: ...
  370. def contentsBoundingRect(self, /) -> PySide6.QtCore.QRectF: ...
  371. def contentsScale(self, /) -> float: ...
  372. def contentsSize(self, /) -> PySide6.QtCore.QSize: ...
  373. def fillColor(self, /) -> PySide6.QtGui.QColor: ...
  374. def isTextureProvider(self, /) -> bool: ...
  375. def mipmap(self, /) -> bool: ...
  376. def opaquePainting(self, /) -> bool: ...
  377. def paint(self, painter: PySide6.QtGui.QPainter, /) -> None: ...
  378. def performanceHints(self, /) -> PySide6.QtQuick.QQuickPaintedItem.PerformanceHint: ...
  379. def releaseResources(self, /) -> None: ...
  380. def renderTarget(self, /) -> PySide6.QtQuick.QQuickPaintedItem.RenderTarget: ...
  381. def resetContentsSize(self, /) -> None: ...
  382. def setAntialiasing(self, enable: bool, /) -> None: ...
  383. def setContentsScale(self, arg__1: float, /) -> None: ...
  384. def setContentsSize(self, arg__1: PySide6.QtCore.QSize, /) -> None: ...
  385. def setFillColor(self, arg__1: typing.Union[PySide6.QtGui.QColor, str, PySide6.QtGui.QRgba64, typing.Any, PySide6.QtCore.Qt.GlobalColor, int], /) -> None: ...
  386. def setMipmap(self, enable: bool, /) -> None: ...
  387. def setOpaquePainting(self, opaque: bool, /) -> None: ...
  388. def setPerformanceHint(self, hint: PySide6.QtQuick.QQuickPaintedItem.PerformanceHint, /, enabled: bool = ...) -> None: ...
  389. def setPerformanceHints(self, hints: PySide6.QtQuick.QQuickPaintedItem.PerformanceHint, /) -> None: ...
  390. def setRenderTarget(self, target: PySide6.QtQuick.QQuickPaintedItem.RenderTarget, /) -> None: ...
  391. def setTextureSize(self, size: PySide6.QtCore.QSize, /) -> None: ...
  392. def textureProvider(self, /) -> PySide6.QtQuick.QSGTextureProvider: ...
  393. def textureSize(self, /) -> PySide6.QtCore.QSize: ...
  394. def update(self, /, rect: PySide6.QtCore.QRect = ...) -> None: ...
  395. def updatePaintNode(self, arg__1: PySide6.QtQuick.QSGNode, arg__2: PySide6.QtQuick.QQuickItem.UpdatePaintNodeData, /) -> PySide6.QtQuick.QSGNode: ...
  396. class QQuickRenderControl(PySide6.QtCore.QObject):
  397. renderRequested : typing.ClassVar[Signal] = ... # renderRequested()
  398. sceneChanged : typing.ClassVar[Signal] = ... # sceneChanged()
  399. def __init__(self, /, parent: PySide6.QtCore.QObject | None = ...) -> None: ...
  400. def beginFrame(self, /) -> None: ...
  401. def commandBuffer(self, /) -> PySide6.QtGui.QRhiCommandBuffer: ...
  402. def endFrame(self, /) -> None: ...
  403. def initialize(self, /) -> bool: ...
  404. def invalidate(self, /) -> None: ...
  405. def polishItems(self, /) -> None: ...
  406. def prepareThread(self, targetThread: PySide6.QtCore.QThread, /) -> None: ...
  407. def render(self, /) -> None: ...
  408. def renderWindow(self, offset: PySide6.QtCore.QPoint, /) -> PySide6.QtGui.QWindow: ...
  409. @staticmethod
  410. def renderWindowFor(win: PySide6.QtQuick.QQuickWindow, /, offset: PySide6.QtCore.QPoint | None = ...) -> PySide6.QtGui.QWindow: ...
  411. def rhi(self, /) -> PySide6.QtGui.QRhi: ...
  412. def samples(self, /) -> int: ...
  413. def setSamples(self, sampleCount: int, /) -> None: ...
  414. def sync(self, /) -> bool: ...
  415. def window(self, /) -> PySide6.QtQuick.QQuickWindow: ...
  416. class QQuickRenderTarget(Shiboken.Object):
  417. class Flag(enum.Flag):
  418. MultisampleResolve = 0x1
  419. @typing.overload
  420. def __init__(self, /) -> None: ...
  421. @typing.overload
  422. def __init__(self, other: PySide6.QtQuick.QQuickRenderTarget, /) -> None: ...
  423. def __copy__(self, /) -> typing.Self: ...
  424. def __eq__(self, rhs: PySide6.QtQuick.QQuickRenderTarget, /) -> bool: ...
  425. def __ne__(self, rhs: PySide6.QtQuick.QQuickRenderTarget, /) -> bool: ...
  426. def depthTexture(self, /) -> PySide6.QtGui.QRhiTexture: ...
  427. def devicePixelRatio(self, /) -> float: ...
  428. @typing.overload
  429. @staticmethod
  430. def fromD3D11Texture(texture: int, pixelSize: PySide6.QtCore.QSize, /, sampleCount: int = ...) -> PySide6.QtQuick.QQuickRenderTarget: ...
  431. @typing.overload
  432. @staticmethod
  433. def fromD3D11Texture(texture: int, format: int, pixelSize: PySide6.QtCore.QSize, /, sampleCount: int = ...) -> PySide6.QtQuick.QQuickRenderTarget: ...
  434. @typing.overload
  435. @staticmethod
  436. def fromD3D11Texture(texture: int, format: int, pixelSize: PySide6.QtCore.QSize, sampleCount: int, flags: PySide6.QtQuick.QQuickRenderTarget.Flag, /) -> PySide6.QtQuick.QQuickRenderTarget: ...
  437. @typing.overload
  438. @staticmethod
  439. def fromD3D12Texture(texture: int, resourceState: int, format: int, pixelSize: PySide6.QtCore.QSize, /, sampleCount: int = ...) -> PySide6.QtQuick.QQuickRenderTarget: ...
  440. @typing.overload
  441. @staticmethod
  442. def fromD3D12Texture(texture: int, resourceState: int, format: int, viewFormat: int, pixelSize: PySide6.QtCore.QSize, sampleCount: int, arraySize: int, flags: PySide6.QtQuick.QQuickRenderTarget.Flag, /) -> PySide6.QtQuick.QQuickRenderTarget: ...
  443. @staticmethod
  444. def fromOpenGLRenderBuffer(renderbufferId: int, pixelSize: PySide6.QtCore.QSize, /, sampleCount: int = ...) -> PySide6.QtQuick.QQuickRenderTarget: ...
  445. @typing.overload
  446. @staticmethod
  447. def fromOpenGLTexture(textureId: int, pixelSize: PySide6.QtCore.QSize, /, sampleCount: int = ...) -> PySide6.QtQuick.QQuickRenderTarget: ...
  448. @typing.overload
  449. @staticmethod
  450. def fromOpenGLTexture(textureId: int, format: int, pixelSize: PySide6.QtCore.QSize, /, sampleCount: int = ...) -> PySide6.QtQuick.QQuickRenderTarget: ...
  451. @typing.overload
  452. @staticmethod
  453. def fromOpenGLTexture(textureId: int, format: int, pixelSize: PySide6.QtCore.QSize, sampleCount: int, arraySize: int, flags: PySide6.QtQuick.QQuickRenderTarget.Flag, /) -> PySide6.QtQuick.QQuickRenderTarget: ...
  454. @staticmethod
  455. def fromPaintDevice(device: PySide6.QtGui.QPaintDevice, /) -> PySide6.QtQuick.QQuickRenderTarget: ...
  456. @staticmethod
  457. def fromRhiRenderTarget(renderTarget: PySide6.QtGui.QRhiRenderTarget, /) -> PySide6.QtQuick.QQuickRenderTarget: ...
  458. def isNull(self, /) -> bool: ...
  459. def mirrorVertically(self, /) -> bool: ...
  460. def setDepthTexture(self, texture: PySide6.QtGui.QRhiTexture, /) -> None: ...
  461. def setDevicePixelRatio(self, ratio: float, /) -> None: ...
  462. def setMirrorVertically(self, enable: bool, /) -> None: ...
  463. class QQuickRhiItem(PySide6.QtQuick.QQuickItem):
  464. alphaBlendingChanged : typing.ClassVar[Signal] = ... # alphaBlendingChanged()
  465. autoRenderTargetChanged : typing.ClassVar[Signal] = ... # autoRenderTargetChanged()
  466. colorBufferFormatChanged : typing.ClassVar[Signal] = ... # colorBufferFormatChanged()
  467. effectiveColorBufferSizeChanged: typing.ClassVar[Signal] = ... # effectiveColorBufferSizeChanged()
  468. fixedColorBufferHeightChanged: typing.ClassVar[Signal] = ... # fixedColorBufferHeightChanged()
  469. fixedColorBufferWidthChanged: typing.ClassVar[Signal] = ... # fixedColorBufferWidthChanged()
  470. mirrorVerticallyChanged : typing.ClassVar[Signal] = ... # mirrorVerticallyChanged()
  471. sampleCountChanged : typing.ClassVar[Signal] = ... # sampleCountChanged()
  472. class TextureFormat(enum.Enum):
  473. RGBA8 = 0x0
  474. RGBA16F = 0x1
  475. RGBA32F = 0x2
  476. RGB10A2 = 0x3
  477. def __init__(self, /, parent: PySide6.QtQuick.QQuickItem | None = ..., *, sampleCount: int | None = ..., colorBufferFormat: PySide6.QtQuick.QQuickRhiItem.TextureFormat | None = ..., mirrorVertically: bool | None = ..., alphaBlending: bool | None = ..., fixedColorBufferWidth: int | None = ..., fixedColorBufferHeight: int | None = ..., effectiveColorBufferSize: PySide6.QtCore.QSize | None = ...) -> None: ...
  478. def alphaBlending(self, /) -> bool: ...
  479. def colorBufferFormat(self, /) -> PySide6.QtQuick.QQuickRhiItem.TextureFormat: ...
  480. def createRenderer(self, /) -> PySide6.QtQuick.QQuickRhiItemRenderer: ...
  481. def effectiveColorBufferSize(self, /) -> PySide6.QtCore.QSize: ...
  482. def event(self, arg__1: PySide6.QtCore.QEvent, /) -> bool: ...
  483. def fixedColorBufferHeight(self, /) -> int: ...
  484. def fixedColorBufferWidth(self, /) -> int: ...
  485. def geometryChange(self, newGeometry: PySide6.QtCore.QRectF | PySide6.QtCore.QRect, oldGeometry: PySide6.QtCore.QRectF | PySide6.QtCore.QRect, /) -> None: ...
  486. def isAutoRenderTargetEnabled(self, /) -> bool: ...
  487. def isMirrorVerticallyEnabled(self, /) -> bool: ...
  488. def isTextureProvider(self, /) -> bool: ...
  489. def releaseResources(self, /) -> None: ...
  490. def sampleCount(self, /) -> int: ...
  491. def setAlphaBlending(self, enable: bool, /) -> None: ...
  492. def setAutoRenderTarget(self, enabled: bool, /) -> None: ...
  493. def setColorBufferFormat(self, format: PySide6.QtQuick.QQuickRhiItem.TextureFormat, /) -> None: ...
  494. def setFixedColorBufferHeight(self, height: int, /) -> None: ...
  495. def setFixedColorBufferWidth(self, width: int, /) -> None: ...
  496. def setMirrorVertically(self, enable: bool, /) -> None: ...
  497. def setSampleCount(self, samples: int, /) -> None: ...
  498. def textureProvider(self, /) -> PySide6.QtQuick.QSGTextureProvider: ...
  499. def updatePaintNode(self, arg__1: PySide6.QtQuick.QSGNode, arg__2: PySide6.QtQuick.QQuickItem.UpdatePaintNodeData, /) -> PySide6.QtQuick.QSGNode: ...
  500. class QQuickRhiItemRenderer(Shiboken.Object):
  501. def __init__(self, /) -> None: ...
  502. def colorTexture(self, /) -> PySide6.QtGui.QRhiTexture: ...
  503. def depthStencilBuffer(self, /) -> PySide6.QtGui.QRhiRenderBuffer: ...
  504. def initialize(self, cb: PySide6.QtGui.QRhiCommandBuffer, /) -> None: ...
  505. def msaaColorBuffer(self, /) -> PySide6.QtGui.QRhiRenderBuffer: ...
  506. def render(self, cb: PySide6.QtGui.QRhiCommandBuffer, /) -> None: ...
  507. def renderTarget(self, /) -> PySide6.QtGui.QRhiRenderTarget: ...
  508. def resolveTexture(self, /) -> PySide6.QtGui.QRhiTexture: ...
  509. def rhi(self, /) -> PySide6.QtGui.QRhi: ...
  510. def synchronize(self, item: PySide6.QtQuick.QQuickRhiItem, /) -> None: ...
  511. def update(self, /) -> None: ...
  512. class QQuickTextDocument(PySide6.QtCore.QObject):
  513. errorStringChanged : typing.ClassVar[Signal] = ... # errorStringChanged()
  514. modifiedChanged : typing.ClassVar[Signal] = ... # modifiedChanged()
  515. sourceChanged : typing.ClassVar[Signal] = ... # sourceChanged()
  516. statusChanged : typing.ClassVar[Signal] = ... # statusChanged()
  517. textDocumentChanged : typing.ClassVar[Signal] = ... # textDocumentChanged()
  518. class Status(enum.Enum):
  519. Null = 0x0
  520. Loading = 0x1
  521. Loaded = 0x2
  522. Saving = 0x3
  523. Saved = 0x4
  524. ReadError = 0x5
  525. WriteError = 0x6
  526. NonLocalFileError = 0x7
  527. def __init__(self, parent: PySide6.QtQuick.QQuickItem, /, *, source: PySide6.QtCore.QUrl | None = ..., modified: bool | None = ..., status: PySide6.QtQuick.QQuickTextDocument.Status | None = ..., errorString: str | None = ...) -> None: ...
  528. def errorString(self, /) -> str: ...
  529. def isModified(self, /) -> bool: ...
  530. def save(self, /) -> None: ...
  531. def saveAs(self, url: PySide6.QtCore.QUrl | str, /) -> None: ...
  532. def setModified(self, modified: bool, /) -> None: ...
  533. def setSource(self, url: PySide6.QtCore.QUrl | str, /) -> None: ...
  534. def setTextDocument(self, document: PySide6.QtGui.QTextDocument, /) -> None: ...
  535. def source(self, /) -> PySide6.QtCore.QUrl: ...
  536. def status(self, /) -> PySide6.QtQuick.QQuickTextDocument.Status: ...
  537. def textDocument(self, /) -> PySide6.QtGui.QTextDocument: ...
  538. class QQuickTextureFactory(PySide6.QtCore.QObject):
  539. def __init__(self, /) -> None: ...
  540. def createTexture(self, window: PySide6.QtQuick.QQuickWindow, /) -> PySide6.QtQuick.QSGTexture: ...
  541. def image(self, /) -> PySide6.QtGui.QImage: ...
  542. def textureByteCount(self, /) -> int: ...
  543. @staticmethod
  544. def textureFactoryForImage(image: PySide6.QtGui.QImage, /) -> PySide6.QtQuick.QQuickTextureFactory: ...
  545. def textureSize(self, /) -> PySide6.QtCore.QSize: ...
  546. class QQuickTransform(PySide6.QtCore.QObject):
  547. def __init__(self, /, parent: PySide6.QtCore.QObject | None = ...) -> None: ...
  548. def appendToItem(self, arg__1: PySide6.QtQuick.QQuickItem, /) -> None: ...
  549. def applyTo(self, matrix: PySide6.QtGui.QMatrix4x4 | PySide6.QtGui.QTransform, /) -> None: ...
  550. def prependToItem(self, arg__1: PySide6.QtQuick.QQuickItem, /) -> None: ...
  551. def update(self, /) -> None: ...
  552. class QQuickView(PySide6.QtQuick.QQuickWindow):
  553. statusChanged : typing.ClassVar[Signal] = ... # statusChanged(QQuickView::Status)
  554. class ResizeMode(enum.Enum):
  555. SizeViewToRootObject = 0x0
  556. SizeRootObjectToView = 0x1
  557. class Status(enum.Enum):
  558. Null = 0x0
  559. Ready = 0x1
  560. Loading = 0x2
  561. Error = 0x3
  562. @typing.overload
  563. def __init__(self, engine: PySide6.QtQml.QQmlEngine, parent: PySide6.QtGui.QWindow, /, *, resizeMode: PySide6.QtQuick.QQuickView.ResizeMode | None = ..., status: PySide6.QtQuick.QQuickView.Status | None = ..., source: PySide6.QtCore.QUrl | None = ...) -> None: ...
  564. @typing.overload
  565. def __init__(self, uri: str, typeName: str, /, parent: PySide6.QtGui.QWindow | None = ..., *, resizeMode: PySide6.QtQuick.QQuickView.ResizeMode | None = ..., status: PySide6.QtQuick.QQuickView.Status | None = ..., source: PySide6.QtCore.QUrl | None = ...) -> None: ...
  566. @typing.overload
  567. def __init__(self, /, parent: PySide6.QtGui.QWindow | None = ..., *, resizeMode: PySide6.QtQuick.QQuickView.ResizeMode | None = ..., status: PySide6.QtQuick.QQuickView.Status | None = ..., source: PySide6.QtCore.QUrl | None = ...) -> None: ...
  568. @typing.overload
  569. def __init__(self, source: PySide6.QtCore.QUrl | str, renderControl: PySide6.QtQuick.QQuickRenderControl, /, *, resizeMode: PySide6.QtQuick.QQuickView.ResizeMode | None = ..., status: PySide6.QtQuick.QQuickView.Status | None = ...) -> None: ...
  570. @typing.overload
  571. def __init__(self, source: PySide6.QtCore.QUrl | str, /, parent: PySide6.QtGui.QWindow | None = ..., *, resizeMode: PySide6.QtQuick.QQuickView.ResizeMode | None = ..., status: PySide6.QtQuick.QQuickView.Status | None = ...) -> None: ...
  572. def engine(self, /) -> PySide6.QtQml.QQmlEngine: ...
  573. def errors(self, /) -> typing.List[PySide6.QtQml.QQmlError]: ...
  574. def initialSize(self, /) -> PySide6.QtCore.QSize: ...
  575. def keyPressEvent(self, arg__1: PySide6.QtGui.QKeyEvent, /) -> None: ...
  576. def keyReleaseEvent(self, arg__1: PySide6.QtGui.QKeyEvent, /) -> None: ...
  577. def loadFromModule(self, uri: str, typeName: str, /) -> None: ...
  578. def mouseMoveEvent(self, arg__1: PySide6.QtGui.QMouseEvent, /) -> None: ...
  579. def mousePressEvent(self, arg__1: PySide6.QtGui.QMouseEvent, /) -> None: ...
  580. def mouseReleaseEvent(self, arg__1: PySide6.QtGui.QMouseEvent, /) -> None: ...
  581. def resizeEvent(self, arg__1: PySide6.QtGui.QResizeEvent, /) -> None: ...
  582. def resizeMode(self, /) -> PySide6.QtQuick.QQuickView.ResizeMode: ...
  583. def rootContext(self, /) -> PySide6.QtQml.QQmlContext: ...
  584. def rootObject(self, /) -> PySide6.QtQuick.QQuickItem: ...
  585. def setContent(self, url: PySide6.QtCore.QUrl | str, component: PySide6.QtQml.QQmlComponent, item: PySide6.QtCore.QObject, /) -> None: ...
  586. def setInitialProperties(self, initialProperties: typing.Dict[str, typing.Any], /) -> None: ...
  587. def setResizeMode(self, arg__1: PySide6.QtQuick.QQuickView.ResizeMode, /) -> None: ...
  588. def setSource(self, arg__1: PySide6.QtCore.QUrl | str, /) -> None: ...
  589. def sizeHint(self, /) -> PySide6.QtCore.QSize: ...
  590. def source(self, /) -> PySide6.QtCore.QUrl: ...
  591. def status(self, /) -> PySide6.QtQuick.QQuickView.Status: ...
  592. def timerEvent(self, arg__1: PySide6.QtCore.QTimerEvent, /) -> None: ...
  593. class QQuickWindow(PySide6.QtGui.QWindow):
  594. activeFocusItemChanged : typing.ClassVar[Signal] = ... # activeFocusItemChanged()
  595. afterAnimating : typing.ClassVar[Signal] = ... # afterAnimating()
  596. afterFrameEnd : typing.ClassVar[Signal] = ... # afterFrameEnd()
  597. afterRenderPassRecording : typing.ClassVar[Signal] = ... # afterRenderPassRecording()
  598. afterRendering : typing.ClassVar[Signal] = ... # afterRendering()
  599. afterSynchronizing : typing.ClassVar[Signal] = ... # afterSynchronizing()
  600. beforeFrameBegin : typing.ClassVar[Signal] = ... # beforeFrameBegin()
  601. beforeRenderPassRecording: typing.ClassVar[Signal] = ... # beforeRenderPassRecording()
  602. beforeRendering : typing.ClassVar[Signal] = ... # beforeRendering()
  603. beforeSynchronizing : typing.ClassVar[Signal] = ... # beforeSynchronizing()
  604. closing : typing.ClassVar[Signal] = ... # closing(QQuickCloseEvent*)
  605. colorChanged : typing.ClassVar[Signal] = ... # colorChanged(QColor)
  606. frameSwapped : typing.ClassVar[Signal] = ... # frameSwapped()
  607. paletteChanged : typing.ClassVar[Signal] = ... # paletteChanged()
  608. paletteCreated : typing.ClassVar[Signal] = ... # paletteCreated()
  609. sceneGraphAboutToStop : typing.ClassVar[Signal] = ... # sceneGraphAboutToStop()
  610. sceneGraphError : typing.ClassVar[Signal] = ... # sceneGraphError(QQuickWindow::SceneGraphError,QString)
  611. sceneGraphInitialized : typing.ClassVar[Signal] = ... # sceneGraphInitialized()
  612. sceneGraphInvalidated : typing.ClassVar[Signal] = ... # sceneGraphInvalidated()
  613. class CreateTextureOption(enum.Flag):
  614. TextureHasAlphaChannel = 0x1
  615. TextureHasMipmaps = 0x2
  616. TextureOwnsGLTexture = 0x4
  617. TextureCanUseAtlas = 0x8
  618. TextureIsOpaque = 0x10
  619. class GraphicsStateInfo(Shiboken.Object):
  620. @typing.overload
  621. def __init__(self, /) -> None: ...
  622. @typing.overload
  623. def __init__(self, GraphicsStateInfo: PySide6.QtQuick.QQuickWindow.GraphicsStateInfo, /) -> None: ...
  624. def __copy__(self, /) -> typing.Self: ...
  625. class RenderStage(enum.Enum):
  626. BeforeSynchronizingStage = 0x0
  627. AfterSynchronizingStage = 0x1
  628. BeforeRenderingStage = 0x2
  629. AfterRenderingStage = 0x3
  630. AfterSwapStage = 0x4
  631. NoStage = 0x5
  632. class SceneGraphError(enum.Enum):
  633. ContextNotAvailable = 0x1
  634. class TextRenderType(enum.Enum):
  635. QtTextRendering = 0x0
  636. NativeTextRendering = 0x1
  637. CurveTextRendering = 0x2
  638. @typing.overload
  639. def __init__(self, renderControl: PySide6.QtQuick.QQuickRenderControl, /, *, color: PySide6.QtGui.QColor | None = ..., contentItem: PySide6.QtQuick.QQuickItem | None = ..., activeFocusItem: PySide6.QtQuick.QQuickItem | None = ...) -> None: ...
  640. @typing.overload
  641. def __init__(self, /, parent: PySide6.QtGui.QWindow | None = ..., *, color: PySide6.QtGui.QColor | None = ..., contentItem: PySide6.QtQuick.QQuickItem | None = ..., activeFocusItem: PySide6.QtQuick.QQuickItem | None = ...) -> None: ...
  642. def __repr__(self, /) -> str: ...
  643. def accessibleRoot(self, /) -> PySide6.QtGui.QAccessibleInterface: ...
  644. def activeFocusItem(self, /) -> PySide6.QtQuick.QQuickItem: ...
  645. def beginExternalCommands(self, /) -> None: ...
  646. def closeEvent(self, arg__1: PySide6.QtGui.QCloseEvent, /) -> None: ...
  647. def color(self, /) -> PySide6.QtGui.QColor: ...
  648. def contentItem(self, /) -> PySide6.QtQuick.QQuickItem: ...
  649. def createImageNode(self, /) -> PySide6.QtQuick.QSGImageNode: ...
  650. def createNinePatchNode(self, /) -> PySide6.QtQuick.QSGNinePatchNode: ...
  651. def createRectangleNode(self, /) -> PySide6.QtQuick.QSGRectangleNode: ...
  652. def createTextNode(self, /) -> PySide6.QtQuick.QSGTextNode: ...
  653. @typing.overload
  654. def createTextureFromImage(self, image: PySide6.QtGui.QImage, /) -> PySide6.QtQuick.QSGTexture: ...
  655. @typing.overload
  656. def createTextureFromImage(self, image: PySide6.QtGui.QImage, options: PySide6.QtQuick.QQuickWindow.CreateTextureOption, /) -> PySide6.QtQuick.QSGTexture: ...
  657. def createTextureFromRhiTexture(self, texture: PySide6.QtGui.QRhiTexture, /, options: PySide6.QtQuick.QQuickWindow.CreateTextureOption = ...) -> PySide6.QtQuick.QSGTexture: ...
  658. def effectiveDevicePixelRatio(self, /) -> float: ...
  659. def endExternalCommands(self, /) -> None: ...
  660. def event(self, arg__1: PySide6.QtCore.QEvent, /) -> bool: ...
  661. def exposeEvent(self, arg__1: PySide6.QtGui.QExposeEvent, /) -> None: ...
  662. def focusInEvent(self, arg__1: PySide6.QtGui.QFocusEvent, /) -> None: ...
  663. def focusObject(self, /) -> PySide6.QtCore.QObject: ...
  664. def focusOutEvent(self, arg__1: PySide6.QtGui.QFocusEvent, /) -> None: ...
  665. def grabWindow(self, /) -> PySide6.QtGui.QImage: ...
  666. @staticmethod
  667. def graphicsApi() -> PySide6.QtQuick.QSGRendererInterface.GraphicsApi: ...
  668. def graphicsConfiguration(self, /) -> PySide6.QtQuick.QQuickGraphicsConfiguration: ...
  669. def graphicsDevice(self, /) -> PySide6.QtQuick.QQuickGraphicsDevice: ...
  670. def graphicsStateInfo(self, /) -> PySide6.QtQuick.QQuickWindow.GraphicsStateInfo: ...
  671. @staticmethod
  672. def hasDefaultAlphaBuffer() -> bool: ...
  673. def hideEvent(self, arg__1: PySide6.QtGui.QHideEvent, /) -> None: ...
  674. def incubationController(self, /) -> PySide6.QtQml.QQmlIncubationController: ...
  675. def isPersistentGraphics(self, /) -> bool: ...
  676. def isPersistentSceneGraph(self, /) -> bool: ...
  677. def isSceneGraphInitialized(self, /) -> bool: ...
  678. def keyPressEvent(self, arg__1: PySide6.QtGui.QKeyEvent, /) -> None: ...
  679. def keyReleaseEvent(self, arg__1: PySide6.QtGui.QKeyEvent, /) -> None: ...
  680. def mouseDoubleClickEvent(self, arg__1: PySide6.QtGui.QMouseEvent, /) -> None: ...
  681. def mouseGrabberItem(self, /) -> PySide6.QtQuick.QQuickItem: ...
  682. def mouseMoveEvent(self, arg__1: PySide6.QtGui.QMouseEvent, /) -> None: ...
  683. def mousePressEvent(self, arg__1: PySide6.QtGui.QMouseEvent, /) -> None: ...
  684. def mouseReleaseEvent(self, arg__1: PySide6.QtGui.QMouseEvent, /) -> None: ...
  685. def releaseResources(self, /) -> None: ...
  686. def renderTarget(self, /) -> PySide6.QtQuick.QQuickRenderTarget: ...
  687. def rendererInterface(self, /) -> PySide6.QtQuick.QSGRendererInterface: ...
  688. def resizeEvent(self, arg__1: PySide6.QtGui.QResizeEvent, /) -> None: ...
  689. def rhi(self, /) -> PySide6.QtGui.QRhi: ...
  690. @staticmethod
  691. def sceneGraphBackend() -> str: ...
  692. def scheduleRenderJob(self, job: PySide6.QtCore.QRunnable, schedule: PySide6.QtQuick.QQuickWindow.RenderStage, /) -> None: ...
  693. def setColor(self, color: typing.Union[PySide6.QtGui.QColor, str, PySide6.QtGui.QRgba64, typing.Any, PySide6.QtCore.Qt.GlobalColor, int], /) -> None: ...
  694. @staticmethod
  695. def setDefaultAlphaBuffer(useAlpha: bool, /) -> None: ...
  696. @staticmethod
  697. def setGraphicsApi(api: PySide6.QtQuick.QSGRendererInterface.GraphicsApi, /) -> None: ...
  698. def setGraphicsConfiguration(self, config: PySide6.QtQuick.QQuickGraphicsConfiguration, /) -> None: ...
  699. def setGraphicsDevice(self, device: PySide6.QtQuick.QQuickGraphicsDevice, /) -> None: ...
  700. def setPersistentGraphics(self, persistent: bool, /) -> None: ...
  701. def setPersistentSceneGraph(self, persistent: bool, /) -> None: ...
  702. def setRenderTarget(self, target: PySide6.QtQuick.QQuickRenderTarget, /) -> None: ...
  703. @staticmethod
  704. def setSceneGraphBackend(backend: str, /) -> None: ...
  705. @staticmethod
  706. def setTextRenderType(renderType: PySide6.QtQuick.QQuickWindow.TextRenderType, /) -> None: ...
  707. def showEvent(self, arg__1: PySide6.QtGui.QShowEvent, /) -> None: ...
  708. def swapChain(self, /) -> PySide6.QtGui.QRhiSwapChain: ...
  709. def tabletEvent(self, arg__1: PySide6.QtGui.QTabletEvent, /) -> None: ...
  710. @staticmethod
  711. def textRenderType() -> PySide6.QtQuick.QQuickWindow.TextRenderType: ...
  712. def update(self, /) -> None: ...
  713. def wheelEvent(self, arg__1: PySide6.QtGui.QWheelEvent, /) -> None: ...
  714. class QSGBasicGeometryNode(PySide6.QtQuick.QSGNode):
  715. def __init__(self, type: PySide6.QtQuick.QSGNode.NodeType, /) -> None: ...
  716. def clipList(self, /) -> PySide6.QtQuick.QSGClipNode: ...
  717. def geometry(self, /) -> PySide6.QtQuick.QSGGeometry: ...
  718. def matrix(self, /) -> PySide6.QtGui.QMatrix4x4: ...
  719. def setGeometry(self, geometry: PySide6.QtQuick.QSGGeometry, /) -> None: ...
  720. def setRendererClipList(self, c: PySide6.QtQuick.QSGClipNode, /) -> None: ...
  721. def setRendererMatrix(self, m: PySide6.QtGui.QMatrix4x4 | PySide6.QtGui.QTransform, /) -> None: ...
  722. class QSGClipNode(PySide6.QtQuick.QSGBasicGeometryNode):
  723. def __init__(self, /) -> None: ...
  724. def clipRect(self, /) -> PySide6.QtCore.QRectF: ...
  725. def isRectangular(self, /) -> bool: ...
  726. def setClipRect(self, arg__1: PySide6.QtCore.QRectF | PySide6.QtCore.QRect, /) -> None: ...
  727. def setIsRectangular(self, rectHint: bool, /) -> None: ...
  728. class QSGDynamicTexture(PySide6.QtQuick.QSGTexture):
  729. def __init__(self, /) -> None: ...
  730. def updateTexture(self, /) -> bool: ...
  731. class QSGFlatColorMaterial(PySide6.QtQuick.QSGMaterial):
  732. def __init__(self, /) -> None: ...
  733. def color(self, /) -> PySide6.QtGui.QColor: ...
  734. def compare(self, other: PySide6.QtQuick.QSGMaterial, /) -> int: ...
  735. def createShader(self, renderMode: PySide6.QtQuick.QSGRendererInterface.RenderMode, /) -> PySide6.QtQuick.QSGMaterialShader: ...
  736. def setColor(self, color: typing.Union[PySide6.QtGui.QColor, str, PySide6.QtGui.QRgba64, typing.Any, PySide6.QtCore.Qt.GlobalColor, int], /) -> None: ...
  737. def type(self, /) -> PySide6.QtQuick.QSGMaterialType: ...
  738. class QSGGeometry(Shiboken.Object):
  739. class Attribute(Shiboken.Object):
  740. @typing.overload
  741. def __init__(self, /) -> None: ...
  742. @typing.overload
  743. def __init__(self, Attribute: PySide6.QtQuick.QSGGeometry.Attribute, /) -> None: ...
  744. def __copy__(self, /) -> typing.Self: ...
  745. @staticmethod
  746. def create(pos: int, tupleSize: int, primitiveType: int, /, isPosition: bool = ...) -> PySide6.QtQuick.QSGGeometry.Attribute: ...
  747. @staticmethod
  748. def createWithAttributeType(pos: int, tupleSize: int, primitiveType: int, attributeType: PySide6.QtQuick.QSGGeometry.AttributeType, /) -> PySide6.QtQuick.QSGGeometry.Attribute: ...
  749. class AttributeSet(Shiboken.Object):
  750. @typing.overload
  751. def __init__(self, /) -> None: ...
  752. @typing.overload
  753. def __init__(self, AttributeSet: PySide6.QtQuick.QSGGeometry.AttributeSet, /) -> None: ...
  754. def __copy__(self, /) -> typing.Self: ...
  755. class AttributeType(enum.Enum):
  756. UnknownAttribute = 0x0
  757. PositionAttribute = 0x1
  758. ColorAttribute = 0x2
  759. TexCoordAttribute = 0x3
  760. TexCoord1Attribute = 0x4
  761. TexCoord2Attribute = 0x5
  762. class ColoredPoint2D(Shiboken.Object):
  763. @typing.overload
  764. def __init__(self, /) -> None: ...
  765. @typing.overload
  766. def __init__(self, ColoredPoint2D: PySide6.QtQuick.QSGGeometry.ColoredPoint2D, /) -> None: ...
  767. def __copy__(self, /) -> typing.Self: ...
  768. def set(self, nx: float, ny: float, nr: int, ng: int, nb: int, na: int, /) -> None: ...
  769. class DataPattern(enum.Enum):
  770. AlwaysUploadPattern = 0x0
  771. StreamPattern = 0x1
  772. DynamicPattern = 0x2
  773. StaticPattern = 0x3
  774. class DrawingMode(enum.IntEnum):
  775. DrawPoints = 0x0
  776. DrawLines = 0x1
  777. DrawLineLoop = 0x2
  778. DrawLineStrip = 0x3
  779. DrawTriangles = 0x4
  780. DrawTriangleStrip = 0x5
  781. DrawTriangleFan = 0x6
  782. class Point2D(Shiboken.Object):
  783. @typing.overload
  784. def __init__(self, /) -> None: ...
  785. @typing.overload
  786. def __init__(self, Point2D: PySide6.QtQuick.QSGGeometry.Point2D, /) -> None: ...
  787. def __copy__(self, /) -> typing.Self: ...
  788. def set(self, nx: float, ny: float, /) -> None: ...
  789. class TexturedPoint2D(Shiboken.Object):
  790. @typing.overload
  791. def __init__(self, /) -> None: ...
  792. @typing.overload
  793. def __init__(self, TexturedPoint2D: PySide6.QtQuick.QSGGeometry.TexturedPoint2D, /) -> None: ...
  794. def __copy__(self, /) -> typing.Self: ...
  795. def set(self, nx: float, ny: float, ntx: float, nty: float, /) -> None: ...
  796. class Type(enum.Enum):
  797. ByteType = 0x1400
  798. UnsignedByteType = 0x1401
  799. ShortType = 0x1402
  800. UnsignedShortType = 0x1403
  801. IntType = 0x1404
  802. UnsignedIntType = 0x1405
  803. FloatType = 0x1406
  804. Bytes2Type = 0x1407
  805. Bytes3Type = 0x1408
  806. Bytes4Type = 0x1409
  807. DoubleType = 0x140a
  808. def __init__(self, attribs: PySide6.QtQuick.QSGGeometry.AttributeSet, vertexCount: int, /, indexCount: int | None = ..., indexType: int = ...) -> None: ...
  809. def allocate(self, vertexCount: int, /, indexCount: int | None = ...) -> None: ...
  810. def attributeCount(self, /) -> int: ...
  811. def attributes(self, /) -> PySide6.QtQuick.QSGGeometry.Attribute: ...
  812. @staticmethod
  813. def defaultAttributes_ColoredPoint2D() -> PySide6.QtQuick.QSGGeometry.AttributeSet: ...
  814. @staticmethod
  815. def defaultAttributes_Point2D() -> PySide6.QtQuick.QSGGeometry.AttributeSet: ...
  816. @staticmethod
  817. def defaultAttributes_TexturedPoint2D() -> PySide6.QtQuick.QSGGeometry.AttributeSet: ...
  818. def drawingMode(self, /) -> int: ...
  819. def indexCount(self, /) -> int: ...
  820. def indexData(self, /) -> int: ...
  821. def indexDataAsUInt(self, /) -> typing.List[int]: ...
  822. def indexDataAsUShort(self, /) -> typing.List[int]: ...
  823. def indexDataPattern(self, /) -> PySide6.QtQuick.QSGGeometry.DataPattern: ...
  824. def indexType(self, /) -> int: ...
  825. def lineWidth(self, /) -> float: ...
  826. def markIndexDataDirty(self, /) -> None: ...
  827. def markVertexDataDirty(self, /) -> None: ...
  828. def setDrawingMode(self, mode: int, /) -> None: ...
  829. def setIndexCount(self, count: int, /) -> None: ...
  830. def setIndexDataPattern(self, p: PySide6.QtQuick.QSGGeometry.DataPattern, /) -> None: ...
  831. def setLineWidth(self, w: float, /) -> None: ...
  832. def setVertexCount(self, count: int, /) -> None: ...
  833. def setVertexDataAsPoint2D(self, points: collections.abc.Sequence[PySide6.QtQuick.QSGGeometry.Point2D], /) -> None: ...
  834. def setVertexDataPattern(self, p: PySide6.QtQuick.QSGGeometry.DataPattern, /) -> None: ...
  835. def sizeOfIndex(self, /) -> int: ...
  836. def sizeOfVertex(self, /) -> int: ...
  837. @staticmethod
  838. def updateColoredRectGeometry(g: PySide6.QtQuick.QSGGeometry, rect: PySide6.QtCore.QRectF | PySide6.QtCore.QRect, /) -> None: ...
  839. @staticmethod
  840. def updateRectGeometry(g: PySide6.QtQuick.QSGGeometry, rect: PySide6.QtCore.QRectF | PySide6.QtCore.QRect, /) -> None: ...
  841. @staticmethod
  842. def updateTexturedRectGeometry(g: PySide6.QtQuick.QSGGeometry, rect: PySide6.QtCore.QRectF | PySide6.QtCore.QRect, sourceRect: PySide6.QtCore.QRectF | PySide6.QtCore.QRect, /) -> None: ...
  843. def vertexCount(self, /) -> int: ...
  844. def vertexData(self, /) -> int: ...
  845. def vertexDataAsColoredPoint2D(self, /) -> PySide6.QtQuick.QSGGeometry.ColoredPoint2D: ...
  846. def vertexDataAsPoint2D(self, /) -> object: ...
  847. def vertexDataAsTexturedPoint2D(self, /) -> PySide6.QtQuick.QSGGeometry.TexturedPoint2D: ...
  848. def vertexDataPattern(self, /) -> PySide6.QtQuick.QSGGeometry.DataPattern: ...
  849. class QSGGeometryNode(PySide6.QtQuick.QSGBasicGeometryNode):
  850. def __init__(self, /) -> None: ...
  851. def __repr__(self, /) -> str: ...
  852. def activeMaterial(self, /) -> PySide6.QtQuick.QSGMaterial: ...
  853. def inheritedOpacity(self, /) -> float: ...
  854. def material(self, /) -> PySide6.QtQuick.QSGMaterial: ...
  855. def opaqueMaterial(self, /) -> PySide6.QtQuick.QSGMaterial: ...
  856. def renderOrder(self, /) -> int: ...
  857. def setInheritedOpacity(self, opacity: float, /) -> None: ...
  858. def setMaterial(self, material: PySide6.QtQuick.QSGMaterial, /) -> None: ...
  859. def setOpaqueMaterial(self, material: PySide6.QtQuick.QSGMaterial, /) -> None: ...
  860. def setRenderOrder(self, order: int, /) -> None: ...
  861. class QSGImageNode(PySide6.QtQuick.QSGGeometryNode):
  862. class TextureCoordinatesTransformFlag(enum.Flag):
  863. NoTransform = 0x0
  864. MirrorHorizontally = 0x1
  865. MirrorVertically = 0x2
  866. def __init__(self, /) -> None: ...
  867. def anisotropyLevel(self, /) -> PySide6.QtQuick.QSGTexture.AnisotropyLevel: ...
  868. def filtering(self, /) -> PySide6.QtQuick.QSGTexture.Filtering: ...
  869. def mipmapFiltering(self, /) -> PySide6.QtQuick.QSGTexture.Filtering: ...
  870. def ownsTexture(self, /) -> bool: ...
  871. @staticmethod
  872. def rebuildGeometry(g: PySide6.QtQuick.QSGGeometry, texture: PySide6.QtQuick.QSGTexture, rect: PySide6.QtCore.QRectF | PySide6.QtCore.QRect, sourceRect: PySide6.QtCore.QRectF | PySide6.QtCore.QRect, texCoordMode: PySide6.QtQuick.QSGImageNode.TextureCoordinatesTransformFlag, /) -> None: ...
  873. def rect(self, /) -> PySide6.QtCore.QRectF: ...
  874. def setAnisotropyLevel(self, level: PySide6.QtQuick.QSGTexture.AnisotropyLevel, /) -> None: ...
  875. def setFiltering(self, filtering: PySide6.QtQuick.QSGTexture.Filtering, /) -> None: ...
  876. def setMipmapFiltering(self, filtering: PySide6.QtQuick.QSGTexture.Filtering, /) -> None: ...
  877. def setOwnsTexture(self, owns: bool, /) -> None: ...
  878. @typing.overload
  879. def setRect(self, rect: PySide6.QtCore.QRectF | PySide6.QtCore.QRect, /) -> None: ...
  880. @typing.overload
  881. def setRect(self, x: float, y: float, w: float, h: float, /) -> None: ...
  882. @typing.overload
  883. def setSourceRect(self, r: PySide6.QtCore.QRectF | PySide6.QtCore.QRect, /) -> None: ...
  884. @typing.overload
  885. def setSourceRect(self, x: float, y: float, w: float, h: float, /) -> None: ...
  886. def setTexture(self, texture: PySide6.QtQuick.QSGTexture, /) -> None: ...
  887. def setTextureCoordinatesTransform(self, mode: PySide6.QtQuick.QSGImageNode.TextureCoordinatesTransformFlag, /) -> None: ...
  888. def sourceRect(self, /) -> PySide6.QtCore.QRectF: ...
  889. def texture(self, /) -> PySide6.QtQuick.QSGTexture: ...
  890. def textureCoordinatesTransform(self, /) -> PySide6.QtQuick.QSGImageNode.TextureCoordinatesTransformFlag: ...
  891. class QSGMaterial(Shiboken.Object):
  892. class Flag(enum.Flag):
  893. Blending = 0x1
  894. RequiresDeterminant = 0x2
  895. RequiresFullMatrixExceptTranslate = 0x6
  896. RequiresFullMatrix = 0xe
  897. CustomCompileStep = 0x10
  898. NoBatching = 0x10
  899. MultiView2 = 0x10000
  900. MultiView3 = 0x20000
  901. MultiView4 = 0x40000
  902. def __init__(self, /) -> None: ...
  903. def compare(self, other: PySide6.QtQuick.QSGMaterial, /) -> int: ...
  904. def createShader(self, renderMode: PySide6.QtQuick.QSGRendererInterface.RenderMode, /) -> PySide6.QtQuick.QSGMaterialShader: ...
  905. def flags(self, /) -> PySide6.QtQuick.QSGMaterial.Flag: ...
  906. def setFlag(self, flags: PySide6.QtQuick.QSGMaterial.Flag, /, on: bool = ...) -> None: ...
  907. def type(self, /) -> PySide6.QtQuick.QSGMaterialType: ...
  908. def viewCount(self, /) -> int: ...
  909. class QSGMaterialShader(Shiboken.Object):
  910. class Flag(enum.Flag):
  911. UpdatesGraphicsPipelineState = 0x1
  912. class GraphicsPipelineState(Shiboken.Object):
  913. class BlendFactor(enum.Enum):
  914. Zero = 0x0
  915. One = 0x1
  916. SrcColor = 0x2
  917. OneMinusSrcColor = 0x3
  918. DstColor = 0x4
  919. OneMinusDstColor = 0x5
  920. SrcAlpha = 0x6
  921. OneMinusSrcAlpha = 0x7
  922. DstAlpha = 0x8
  923. OneMinusDstAlpha = 0x9
  924. ConstantColor = 0xa
  925. OneMinusConstantColor = 0xb
  926. ConstantAlpha = 0xc
  927. OneMinusConstantAlpha = 0xd
  928. SrcAlphaSaturate = 0xe
  929. Src1Color = 0xf
  930. OneMinusSrc1Color = 0x10
  931. Src1Alpha = 0x11
  932. OneMinusSrc1Alpha = 0x12
  933. class BlendOp(enum.Enum):
  934. Add = 0x0
  935. Subtract = 0x1
  936. ReverseSubtract = 0x2
  937. Min = 0x3
  938. Max = 0x4
  939. class ColorMaskComponent(enum.Flag):
  940. R = 0x1
  941. G = 0x2
  942. B = 0x4
  943. A = 0x8
  944. class CullMode(enum.Enum):
  945. CullNone = 0x0
  946. CullFront = 0x1
  947. CullBack = 0x2
  948. class PolygonMode(enum.Enum):
  949. Fill = 0x0
  950. Line = 0x1
  951. @typing.overload
  952. def __init__(self, /) -> None: ...
  953. @typing.overload
  954. def __init__(self, GraphicsPipelineState: PySide6.QtQuick.QSGMaterialShader.GraphicsPipelineState, /) -> None: ...
  955. def __copy__(self, /) -> typing.Self: ...
  956. class RenderState(Shiboken.Object):
  957. class DirtyState(enum.Flag):
  958. DirtyMatrix = 0x1
  959. DirtyOpacity = 0x2
  960. DirtyCachedMaterialData = 0x4
  961. DirtyAll = 0xffff
  962. @typing.overload
  963. def __init__(self, /) -> None: ...
  964. @typing.overload
  965. def __init__(self, RenderState: PySide6.QtQuick.QSGMaterialShader.RenderState, /) -> None: ...
  966. def __copy__(self, /) -> typing.Self: ...
  967. @typing.overload
  968. def combinedMatrix(self, /) -> PySide6.QtGui.QMatrix4x4: ...
  969. @typing.overload
  970. def combinedMatrix(self, index: int, /) -> PySide6.QtGui.QMatrix4x4: ...
  971. def determinant(self, /) -> float: ...
  972. def devicePixelRatio(self, /) -> float: ...
  973. def deviceRect(self, /) -> PySide6.QtCore.QRect: ...
  974. def dirtyStates(self, /) -> PySide6.QtQuick.QSGMaterialShader.RenderState.DirtyState: ...
  975. def isMatrixDirty(self, /) -> bool: ...
  976. def isOpacityDirty(self, /) -> bool: ...
  977. def modelViewMatrix(self, /) -> PySide6.QtGui.QMatrix4x4: ...
  978. def opacity(self, /) -> float: ...
  979. @typing.overload
  980. def projectionMatrix(self, /) -> PySide6.QtGui.QMatrix4x4: ...
  981. @typing.overload
  982. def projectionMatrix(self, index: int, /) -> PySide6.QtGui.QMatrix4x4: ...
  983. def projectionMatrixCount(self, /) -> int: ...
  984. def resourceUpdateBatch(self, /) -> PySide6.QtGui.QRhiResourceUpdateBatch: ...
  985. def rhi(self, /) -> PySide6.QtGui.QRhi: ...
  986. def uniformData(self, /) -> PySide6.QtCore.QByteArray: ...
  987. def viewportRect(self, /) -> PySide6.QtCore.QRect: ...
  988. class Stage(enum.Enum):
  989. VertexStage = 0x0
  990. FragmentStage = 0x1
  991. def __init__(self, /) -> None: ...
  992. def combinedImageSamplerCount(self, binding: int, /) -> int: ...
  993. def flags(self, /) -> PySide6.QtQuick.QSGMaterialShader.Flag: ...
  994. def setFlag(self, flags: PySide6.QtQuick.QSGMaterialShader.Flag, /, on: bool = ...) -> None: ...
  995. def setFlags(self, flags: PySide6.QtQuick.QSGMaterialShader.Flag, /) -> None: ...
  996. @typing.overload
  997. def setShaderFileName(self, stage: PySide6.QtQuick.QSGMaterialShader.Stage, filename: str, /) -> None: ...
  998. @typing.overload
  999. def setShaderFileName(self, stage: PySide6.QtQuick.QSGMaterialShader.Stage, filename: str, viewCount: int, /) -> None: ...
  1000. def updateGraphicsPipelineState(self, state: PySide6.QtQuick.QSGMaterialShader.RenderState, ps: PySide6.QtQuick.QSGMaterialShader.GraphicsPipelineState, newMaterial: PySide6.QtQuick.QSGMaterial, oldMaterial: PySide6.QtQuick.QSGMaterial, /) -> bool: ...
  1001. def updateUniformData(self, state: PySide6.QtQuick.QSGMaterialShader.RenderState, newMaterial: PySide6.QtQuick.QSGMaterial, oldMaterial: PySide6.QtQuick.QSGMaterial, /) -> bool: ...
  1002. class QSGMaterialType(Shiboken.Object):
  1003. def __init__(self, /) -> None: ...
  1004. class QSGNinePatchNode(PySide6.QtQuick.QSGGeometryNode):
  1005. def __init__(self, /) -> None: ...
  1006. @staticmethod
  1007. def rebuildGeometry(texture: PySide6.QtQuick.QSGTexture, geometry: PySide6.QtQuick.QSGGeometry, padding: PySide6.QtGui.QVector4D, bounds: PySide6.QtCore.QRectF | PySide6.QtCore.QRect, dpr: float, /) -> None: ...
  1008. def setBounds(self, bounds: PySide6.QtCore.QRectF | PySide6.QtCore.QRect, /) -> None: ...
  1009. def setDevicePixelRatio(self, ratio: float, /) -> None: ...
  1010. def setPadding(self, left: float, top: float, right: float, bottom: float, /) -> None: ...
  1011. def setTexture(self, texture: PySide6.QtQuick.QSGTexture, /) -> None: ...
  1012. def update(self, /) -> None: ...
  1013. class QSGNode(Shiboken.Object):
  1014. class DirtyStateBit(enum.Flag):
  1015. DirtyUsePreprocess = 0x2
  1016. DirtySubtreeBlocked = 0x80
  1017. DirtyMatrix = 0x100
  1018. DirtyNodeAdded = 0x400
  1019. DirtyNodeRemoved = 0x800
  1020. DirtyGeometry = 0x1000
  1021. DirtyMaterial = 0x2000
  1022. DirtyOpacity = 0x4000
  1023. DirtyForceUpdate = 0x8000
  1024. DirtyPropagationMask = 0xc500
  1025. class Flag(enum.Flag):
  1026. OwnedByParent = 0x1
  1027. UsePreprocess = 0x2
  1028. OwnsGeometry = 0x10000
  1029. OwnsMaterial = 0x20000
  1030. OwnsOpaqueMaterial = 0x40000
  1031. IsVisitableNode = 0x1000000
  1032. class NodeType(enum.Enum):
  1033. BasicNodeType = 0x0
  1034. GeometryNodeType = 0x1
  1035. TransformNodeType = 0x2
  1036. ClipNodeType = 0x3
  1037. OpacityNodeType = 0x4
  1038. RootNodeType = 0x5
  1039. RenderNodeType = 0x6
  1040. @typing.overload
  1041. def __init__(self, /) -> None: ...
  1042. @typing.overload
  1043. def __init__(self, type: PySide6.QtQuick.QSGNode.NodeType, /) -> None: ...
  1044. def __repr__(self, /) -> str: ...
  1045. def appendChildNode(self, node: PySide6.QtQuick.QSGNode, /) -> None: ...
  1046. def childAtIndex(self, i: int, /) -> PySide6.QtQuick.QSGNode: ...
  1047. def childCount(self, /) -> int: ...
  1048. def clearDirty(self, /) -> None: ...
  1049. def dirtyState(self, /) -> PySide6.QtQuick.QSGNode.DirtyStateBit: ...
  1050. def firstChild(self, /) -> PySide6.QtQuick.QSGNode: ...
  1051. def flags(self, /) -> PySide6.QtQuick.QSGNode.Flag: ...
  1052. def insertChildNodeAfter(self, node: PySide6.QtQuick.QSGNode, after: PySide6.QtQuick.QSGNode, /) -> None: ...
  1053. def insertChildNodeBefore(self, node: PySide6.QtQuick.QSGNode, before: PySide6.QtQuick.QSGNode, /) -> None: ...
  1054. def isSubtreeBlocked(self, /) -> bool: ...
  1055. def lastChild(self, /) -> PySide6.QtQuick.QSGNode: ...
  1056. def markDirty(self, bits: PySide6.QtQuick.QSGNode.DirtyStateBit, /) -> None: ...
  1057. def nextSibling(self, /) -> PySide6.QtQuick.QSGNode: ...
  1058. def parent(self, /) -> PySide6.QtQuick.QSGNode: ...
  1059. def prependChildNode(self, node: PySide6.QtQuick.QSGNode, /) -> None: ...
  1060. def preprocess(self, /) -> None: ...
  1061. def previousSibling(self, /) -> PySide6.QtQuick.QSGNode: ...
  1062. def removeAllChildNodes(self, /) -> None: ...
  1063. def removeChildNode(self, node: PySide6.QtQuick.QSGNode, /) -> None: ...
  1064. def reparentChildNodesTo(self, newParent: PySide6.QtQuick.QSGNode, /) -> None: ...
  1065. def setFlag(self, arg__1: PySide6.QtQuick.QSGNode.Flag, /, arg__2: bool = ...) -> None: ...
  1066. def setFlags(self, arg__1: PySide6.QtQuick.QSGNode.Flag, /, arg__2: bool = ...) -> None: ...
  1067. def type(self, /) -> PySide6.QtQuick.QSGNode.NodeType: ...
  1068. class QSGNodeVisitor(Shiboken.Object):
  1069. def __init__(self, /) -> None: ...
  1070. def enterClipNode(self, arg__1: PySide6.QtQuick.QSGClipNode, /) -> None: ...
  1071. def enterGeometryNode(self, arg__1: PySide6.QtQuick.QSGGeometryNode, /) -> None: ...
  1072. def enterOpacityNode(self, arg__1: PySide6.QtQuick.QSGOpacityNode, /) -> None: ...
  1073. def enterTransformNode(self, arg__1: PySide6.QtQuick.QSGTransformNode, /) -> None: ...
  1074. def leaveClipNode(self, arg__1: PySide6.QtQuick.QSGClipNode, /) -> None: ...
  1075. def leaveGeometryNode(self, arg__1: PySide6.QtQuick.QSGGeometryNode, /) -> None: ...
  1076. def leaveOpacityNode(self, arg__1: PySide6.QtQuick.QSGOpacityNode, /) -> None: ...
  1077. def leaveTransformNode(self, arg__1: PySide6.QtQuick.QSGTransformNode, /) -> None: ...
  1078. def visitChildren(self, n: PySide6.QtQuick.QSGNode, /) -> None: ...
  1079. def visitNode(self, n: PySide6.QtQuick.QSGNode, /) -> None: ...
  1080. class QSGOpacityNode(PySide6.QtQuick.QSGNode):
  1081. def __init__(self, /) -> None: ...
  1082. def __repr__(self, /) -> str: ...
  1083. def combinedOpacity(self, /) -> float: ...
  1084. def isSubtreeBlocked(self, /) -> bool: ...
  1085. def opacity(self, /) -> float: ...
  1086. def setCombinedOpacity(self, opacity: float, /) -> None: ...
  1087. def setOpacity(self, opacity: float, /) -> None: ...
  1088. class QSGOpaqueTextureMaterial(PySide6.QtQuick.QSGMaterial):
  1089. def __init__(self, /) -> None: ...
  1090. def anisotropyLevel(self, /) -> PySide6.QtQuick.QSGTexture.AnisotropyLevel: ...
  1091. def compare(self, other: PySide6.QtQuick.QSGMaterial, /) -> int: ...
  1092. def createShader(self, renderMode: PySide6.QtQuick.QSGRendererInterface.RenderMode, /) -> PySide6.QtQuick.QSGMaterialShader: ...
  1093. def filtering(self, /) -> PySide6.QtQuick.QSGTexture.Filtering: ...
  1094. def horizontalWrapMode(self, /) -> PySide6.QtQuick.QSGTexture.WrapMode: ...
  1095. def mipmapFiltering(self, /) -> PySide6.QtQuick.QSGTexture.Filtering: ...
  1096. def setAnisotropyLevel(self, level: PySide6.QtQuick.QSGTexture.AnisotropyLevel, /) -> None: ...
  1097. def setFiltering(self, filteringType: PySide6.QtQuick.QSGTexture.Filtering, /) -> None: ...
  1098. def setHorizontalWrapMode(self, mode: PySide6.QtQuick.QSGTexture.WrapMode, /) -> None: ...
  1099. def setMipmapFiltering(self, filteringType: PySide6.QtQuick.QSGTexture.Filtering, /) -> None: ...
  1100. def setTexture(self, texture: PySide6.QtQuick.QSGTexture, /) -> None: ...
  1101. def setVerticalWrapMode(self, mode: PySide6.QtQuick.QSGTexture.WrapMode, /) -> None: ...
  1102. def texture(self, /) -> PySide6.QtQuick.QSGTexture: ...
  1103. def type(self, /) -> PySide6.QtQuick.QSGMaterialType: ...
  1104. def verticalWrapMode(self, /) -> PySide6.QtQuick.QSGTexture.WrapMode: ...
  1105. class QSGRectangleNode(PySide6.QtQuick.QSGGeometryNode):
  1106. def __init__(self, /) -> None: ...
  1107. def color(self, /) -> PySide6.QtGui.QColor: ...
  1108. def rect(self, /) -> PySide6.QtCore.QRectF: ...
  1109. def setColor(self, color: typing.Union[PySide6.QtGui.QColor, str, PySide6.QtGui.QRgba64, typing.Any, PySide6.QtCore.Qt.GlobalColor, int], /) -> None: ...
  1110. @typing.overload
  1111. def setRect(self, rect: PySide6.QtCore.QRectF | PySide6.QtCore.QRect, /) -> None: ...
  1112. @typing.overload
  1113. def setRect(self, x: float, y: float, w: float, h: float, /) -> None: ...
  1114. class QSGRenderNode(PySide6.QtQuick.QSGNode):
  1115. class RenderState(Shiboken.Object):
  1116. def __init__(self, /) -> None: ...
  1117. def clipRegion(self, /) -> PySide6.QtGui.QRegion: ...
  1118. def get(self, state: bytes | bytearray | memoryview, /) -> int: ...
  1119. def projectionMatrix(self, /) -> PySide6.QtGui.QMatrix4x4: ...
  1120. def scissorEnabled(self, /) -> bool: ...
  1121. def scissorRect(self, /) -> PySide6.QtCore.QRect: ...
  1122. def stencilEnabled(self, /) -> bool: ...
  1123. def stencilValue(self, /) -> int: ...
  1124. class RenderingFlag(enum.Flag):
  1125. BoundedRectRendering = 0x1
  1126. DepthAwareRendering = 0x2
  1127. OpaqueRendering = 0x4
  1128. NoExternalRendering = 0x8
  1129. class StateFlag(enum.Flag):
  1130. DepthState = 0x1
  1131. StencilState = 0x2
  1132. ScissorState = 0x4
  1133. ColorState = 0x8
  1134. BlendState = 0x10
  1135. CullState = 0x20
  1136. ViewportState = 0x40
  1137. RenderTargetState = 0x80
  1138. def __init__(self, /) -> None: ...
  1139. def changedStates(self, /) -> PySide6.QtQuick.QSGRenderNode.StateFlag: ...
  1140. def clipList(self, /) -> PySide6.QtQuick.QSGClipNode: ...
  1141. def commandBuffer(self, /) -> PySide6.QtGui.QRhiCommandBuffer: ...
  1142. def flags(self, /) -> PySide6.QtQuick.QSGRenderNode.RenderingFlag: ...
  1143. def inheritedOpacity(self, /) -> float: ...
  1144. def matrix(self, /) -> PySide6.QtGui.QMatrix4x4: ...
  1145. def prepare(self, /) -> None: ...
  1146. @typing.overload
  1147. def projectionMatrix(self, /) -> PySide6.QtGui.QMatrix4x4: ...
  1148. @typing.overload
  1149. def projectionMatrix(self, index: int, /) -> PySide6.QtGui.QMatrix4x4: ...
  1150. def rect(self, /) -> PySide6.QtCore.QRectF: ...
  1151. def releaseResources(self, /) -> None: ...
  1152. def render(self, state: PySide6.QtQuick.QSGRenderNode.RenderState, /) -> None: ...
  1153. def renderTarget(self, /) -> PySide6.QtGui.QRhiRenderTarget: ...
  1154. class QSGRendererInterface(Shiboken.Object):
  1155. class GraphicsApi(enum.Enum):
  1156. Unknown = 0x0
  1157. Software = 0x1
  1158. OpenVG = 0x2
  1159. OpenGL = 0x3
  1160. OpenGLRhi = 0x3
  1161. Direct3D11 = 0x4
  1162. Direct3D11Rhi = 0x4
  1163. Vulkan = 0x5
  1164. VulkanRhi = 0x5
  1165. Metal = 0x6
  1166. MetalRhi = 0x6
  1167. Null = 0x7
  1168. NullRhi = 0x7
  1169. Direct3D12 = 0x8
  1170. class RenderMode(enum.Enum):
  1171. RenderMode2D = 0x0
  1172. RenderMode2DNoDepthBuffer = 0x1
  1173. RenderMode3D = 0x2
  1174. class Resource(enum.Enum):
  1175. DeviceResource = 0x0
  1176. CommandQueueResource = 0x1
  1177. CommandListResource = 0x2
  1178. PainterResource = 0x3
  1179. RhiResource = 0x4
  1180. RhiSwapchainResource = 0x5
  1181. RhiRedirectCommandBuffer = 0x6
  1182. RhiRedirectRenderTarget = 0x7
  1183. PhysicalDeviceResource = 0x8
  1184. OpenGLContextResource = 0x9
  1185. DeviceContextResource = 0xa
  1186. CommandEncoderResource = 0xb
  1187. VulkanInstanceResource = 0xc
  1188. RenderPassResource = 0xd
  1189. RedirectPaintDevice = 0xe
  1190. GraphicsQueueFamilyIndexResource = 0xf
  1191. GraphicsQueueIndexResource = 0x10
  1192. class ShaderCompilationType(enum.Flag):
  1193. RuntimeCompilation = 0x1
  1194. OfflineCompilation = 0x2
  1195. class ShaderSourceType(enum.Flag):
  1196. ShaderSourceString = 0x1
  1197. ShaderSourceFile = 0x2
  1198. ShaderByteCode = 0x4
  1199. class ShaderType(enum.Enum):
  1200. UnknownShadingLanguage = 0x0
  1201. GLSL = 0x1
  1202. HLSL = 0x2
  1203. RhiShader = 0x3
  1204. def __init__(self, /) -> None: ...
  1205. @typing.overload
  1206. def getResource(self, window: PySide6.QtQuick.QQuickWindow, resource: PySide6.QtQuick.QSGRendererInterface.Resource, /) -> int: ...
  1207. @typing.overload
  1208. def getResource(self, window: PySide6.QtQuick.QQuickWindow, resource: bytes | bytearray | memoryview, /) -> int: ...
  1209. def graphicsApi(self, /) -> PySide6.QtQuick.QSGRendererInterface.GraphicsApi: ...
  1210. @staticmethod
  1211. def isApiRhiBased(api: PySide6.QtQuick.QSGRendererInterface.GraphicsApi, /) -> bool: ...
  1212. def shaderCompilationType(self, /) -> PySide6.QtQuick.QSGRendererInterface.ShaderCompilationType: ...
  1213. def shaderSourceType(self, /) -> PySide6.QtQuick.QSGRendererInterface.ShaderSourceType: ...
  1214. def shaderType(self, /) -> PySide6.QtQuick.QSGRendererInterface.ShaderType: ...
  1215. class QSGRootNode(PySide6.QtQuick.QSGNode):
  1216. def __init__(self, /) -> None: ...
  1217. def __repr__(self, /) -> str: ...
  1218. class QSGSimpleRectNode(PySide6.QtQuick.QSGGeometryNode):
  1219. @typing.overload
  1220. def __init__(self, /) -> None: ...
  1221. @typing.overload
  1222. def __init__(self, rect: PySide6.QtCore.QRectF | PySide6.QtCore.QRect, color: typing.Union[PySide6.QtGui.QColor, str, PySide6.QtGui.QRgba64, typing.Any, PySide6.QtCore.Qt.GlobalColor, int], /) -> None: ...
  1223. def color(self, /) -> PySide6.QtGui.QColor: ...
  1224. def rect(self, /) -> PySide6.QtCore.QRectF: ...
  1225. def setColor(self, color: typing.Union[PySide6.QtGui.QColor, str, PySide6.QtGui.QRgba64, typing.Any, PySide6.QtCore.Qt.GlobalColor, int], /) -> None: ...
  1226. @typing.overload
  1227. def setRect(self, rect: PySide6.QtCore.QRectF | PySide6.QtCore.QRect, /) -> None: ...
  1228. @typing.overload
  1229. def setRect(self, x: float, y: float, w: float, h: float, /) -> None: ...
  1230. class QSGSimpleTextureNode(PySide6.QtQuick.QSGGeometryNode):
  1231. class TextureCoordinatesTransformFlag(enum.Flag):
  1232. NoTransform = 0x0
  1233. MirrorHorizontally = 0x1
  1234. MirrorVertically = 0x2
  1235. def __init__(self, /) -> None: ...
  1236. def filtering(self, /) -> PySide6.QtQuick.QSGTexture.Filtering: ...
  1237. def ownsTexture(self, /) -> bool: ...
  1238. def rect(self, /) -> PySide6.QtCore.QRectF: ...
  1239. def setFiltering(self, filtering: PySide6.QtQuick.QSGTexture.Filtering, /) -> None: ...
  1240. def setOwnsTexture(self, owns: bool, /) -> None: ...
  1241. @typing.overload
  1242. def setRect(self, rect: PySide6.QtCore.QRectF | PySide6.QtCore.QRect, /) -> None: ...
  1243. @typing.overload
  1244. def setRect(self, x: float, y: float, w: float, h: float, /) -> None: ...
  1245. @typing.overload
  1246. def setSourceRect(self, r: PySide6.QtCore.QRectF | PySide6.QtCore.QRect, /) -> None: ...
  1247. @typing.overload
  1248. def setSourceRect(self, x: float, y: float, w: float, h: float, /) -> None: ...
  1249. def setTexture(self, texture: PySide6.QtQuick.QSGTexture, /) -> None: ...
  1250. def setTextureCoordinatesTransform(self, mode: PySide6.QtQuick.QSGSimpleTextureNode.TextureCoordinatesTransformFlag, /) -> None: ...
  1251. def sourceRect(self, /) -> PySide6.QtCore.QRectF: ...
  1252. def texture(self, /) -> PySide6.QtQuick.QSGTexture: ...
  1253. def textureCoordinatesTransform(self, /) -> PySide6.QtQuick.QSGSimpleTextureNode.TextureCoordinatesTransformFlag: ...
  1254. class QSGTextNode(PySide6.QtQuick.QSGTransformNode):
  1255. class RenderType(enum.Enum):
  1256. QtRendering = 0x0
  1257. NativeRendering = 0x1
  1258. CurveRendering = 0x2
  1259. class TextStyle(enum.Enum):
  1260. Normal = 0x0
  1261. Outline = 0x1
  1262. Raised = 0x2
  1263. Sunken = 0x3
  1264. def __init__(self, /) -> None: ...
  1265. def addTextDocument(self, position: PySide6.QtCore.QPointF | PySide6.QtCore.QPoint | PySide6.QtGui.QPainterPath.Element, document: PySide6.QtGui.QTextDocument, /, selectionStart: int = ..., selectionCount: int = ...) -> None: ...
  1266. def addTextLayout(self, position: PySide6.QtCore.QPointF | PySide6.QtCore.QPoint | PySide6.QtGui.QPainterPath.Element, layout: PySide6.QtGui.QTextLayout, /, selectionStart: int = ..., selectionCount: int = ..., lineStart: int | None = ..., lineCount: int = ...) -> None: ...
  1267. def clear(self, /) -> None: ...
  1268. def color(self, /) -> PySide6.QtGui.QColor: ...
  1269. def filtering(self, /) -> PySide6.QtQuick.QSGTexture.Filtering: ...
  1270. def linkColor(self, /) -> PySide6.QtGui.QColor: ...
  1271. def renderType(self, /) -> PySide6.QtQuick.QSGTextNode.RenderType: ...
  1272. def renderTypeQuality(self, /) -> int: ...
  1273. def selectionColor(self, /) -> PySide6.QtGui.QColor: ...
  1274. def selectionTextColor(self, /) -> PySide6.QtGui.QColor: ...
  1275. def setColor(self, color: typing.Union[PySide6.QtGui.QColor, str, PySide6.QtGui.QRgba64, typing.Any, PySide6.QtCore.Qt.GlobalColor, int], /) -> None: ...
  1276. def setFiltering(self, arg__1: PySide6.QtQuick.QSGTexture.Filtering, /) -> None: ...
  1277. def setLinkColor(self, linkColor: typing.Union[PySide6.QtGui.QColor, str, PySide6.QtGui.QRgba64, typing.Any, PySide6.QtCore.Qt.GlobalColor, int], /) -> None: ...
  1278. def setRenderType(self, renderType: PySide6.QtQuick.QSGTextNode.RenderType, /) -> None: ...
  1279. def setRenderTypeQuality(self, renderTypeQuality: int, /) -> None: ...
  1280. def setSelectionColor(self, selectionColor: typing.Union[PySide6.QtGui.QColor, str, PySide6.QtGui.QRgba64, typing.Any, PySide6.QtCore.Qt.GlobalColor, int], /) -> None: ...
  1281. def setSelectionTextColor(self, selectionTextColor: typing.Union[PySide6.QtGui.QColor, str, PySide6.QtGui.QRgba64, typing.Any, PySide6.QtCore.Qt.GlobalColor, int], /) -> None: ...
  1282. def setStyleColor(self, styleColor: typing.Union[PySide6.QtGui.QColor, str, PySide6.QtGui.QRgba64, typing.Any, PySide6.QtCore.Qt.GlobalColor, int], /) -> None: ...
  1283. def setTextStyle(self, textStyle: PySide6.QtQuick.QSGTextNode.TextStyle, /) -> None: ...
  1284. def setViewport(self, viewport: PySide6.QtCore.QRectF | PySide6.QtCore.QRect, /) -> None: ...
  1285. def styleColor(self, /) -> PySide6.QtGui.QColor: ...
  1286. def textStyle(self, /) -> PySide6.QtQuick.QSGTextNode.TextStyle: ...
  1287. def viewport(self, /) -> PySide6.QtCore.QRectF: ...
  1288. class QSGTexture(PySide6.QtCore.QObject):
  1289. class AnisotropyLevel(enum.Enum):
  1290. AnisotropyNone = 0x0
  1291. Anisotropy2x = 0x1
  1292. Anisotropy4x = 0x2
  1293. Anisotropy8x = 0x3
  1294. Anisotropy16x = 0x4
  1295. class Filtering(enum.Enum):
  1296. None_ = 0x0
  1297. Nearest = 0x1
  1298. Linear = 0x2
  1299. class WrapMode(enum.Enum):
  1300. Repeat = 0x0
  1301. ClampToEdge = 0x1
  1302. MirroredRepeat = 0x2
  1303. def __init__(self, /) -> None: ...
  1304. def anisotropyLevel(self, /) -> PySide6.QtQuick.QSGTexture.AnisotropyLevel: ...
  1305. def commitTextureOperations(self, rhi: PySide6.QtGui.QRhi, resourceUpdates: PySide6.QtGui.QRhiResourceUpdateBatch, /) -> None: ...
  1306. def comparisonKey(self, /) -> int: ...
  1307. def convertToNormalizedSourceRect(self, rect: PySide6.QtCore.QRectF | PySide6.QtCore.QRect, /) -> PySide6.QtCore.QRectF: ...
  1308. def filtering(self, /) -> PySide6.QtQuick.QSGTexture.Filtering: ...
  1309. def hasAlphaChannel(self, /) -> bool: ...
  1310. def hasMipmaps(self, /) -> bool: ...
  1311. def horizontalWrapMode(self, /) -> PySide6.QtQuick.QSGTexture.WrapMode: ...
  1312. def isAtlasTexture(self, /) -> bool: ...
  1313. def mipmapFiltering(self, /) -> PySide6.QtQuick.QSGTexture.Filtering: ...
  1314. def normalizedTextureSubRect(self, /) -> PySide6.QtCore.QRectF: ...
  1315. def removedFromAtlas(self, /, resourceUpdates: PySide6.QtGui.QRhiResourceUpdateBatch | None = ...) -> PySide6.QtQuick.QSGTexture: ...
  1316. def resolveInterface(self, name: bytes | bytearray | memoryview, revision: int, /) -> int: ...
  1317. def rhiTexture(self, /) -> PySide6.QtGui.QRhiTexture: ...
  1318. def setAnisotropyLevel(self, level: PySide6.QtQuick.QSGTexture.AnisotropyLevel, /) -> None: ...
  1319. def setFiltering(self, filter: PySide6.QtQuick.QSGTexture.Filtering, /) -> None: ...
  1320. def setHorizontalWrapMode(self, hwrap: PySide6.QtQuick.QSGTexture.WrapMode, /) -> None: ...
  1321. def setMipmapFiltering(self, filter: PySide6.QtQuick.QSGTexture.Filtering, /) -> None: ...
  1322. def setVerticalWrapMode(self, vwrap: PySide6.QtQuick.QSGTexture.WrapMode, /) -> None: ...
  1323. def textureSize(self, /) -> PySide6.QtCore.QSize: ...
  1324. def verticalWrapMode(self, /) -> PySide6.QtQuick.QSGTexture.WrapMode: ...
  1325. class QSGTextureMaterial(PySide6.QtQuick.QSGOpaqueTextureMaterial):
  1326. def __init__(self, /) -> None: ...
  1327. def createShader(self, renderMode: PySide6.QtQuick.QSGRendererInterface.RenderMode, /) -> PySide6.QtQuick.QSGMaterialShader: ...
  1328. def type(self, /) -> PySide6.QtQuick.QSGMaterialType: ...
  1329. class QSGTextureProvider(PySide6.QtCore.QObject):
  1330. textureChanged : typing.ClassVar[Signal] = ... # textureChanged()
  1331. def __init__(self, /) -> None: ...
  1332. def texture(self, /) -> PySide6.QtQuick.QSGTexture: ...
  1333. class QSGTransformNode(PySide6.QtQuick.QSGNode):
  1334. def __init__(self, /) -> None: ...
  1335. def __repr__(self, /) -> str: ...
  1336. def combinedMatrix(self, /) -> PySide6.QtGui.QMatrix4x4: ...
  1337. def matrix(self, /) -> PySide6.QtGui.QMatrix4x4: ...
  1338. def setCombinedMatrix(self, matrix: PySide6.QtGui.QMatrix4x4 | PySide6.QtGui.QTransform, /) -> None: ...
  1339. def setMatrix(self, matrix: PySide6.QtGui.QMatrix4x4 | PySide6.QtGui.QTransform, /) -> None: ...
  1340. class QSGVertexColorMaterial(PySide6.QtQuick.QSGMaterial):
  1341. def __init__(self, /) -> None: ...
  1342. def compare(self, other: PySide6.QtQuick.QSGMaterial, /) -> int: ...
  1343. def createShader(self, renderMode: PySide6.QtQuick.QSGRendererInterface.RenderMode, /) -> PySide6.QtQuick.QSGMaterialShader: ...
  1344. def type(self, /) -> PySide6.QtQuick.QSGMaterialType: ...
  1345. class QSharedPointer_QQuickItemGrabResult(Shiboken.Object):
  1346. @typing.overload
  1347. def __init__(self, /) -> None: ...
  1348. @typing.overload
  1349. def __init__(self, pointee: PySide6.QtQuick.QQuickItemGrabResult, /) -> None: ...
  1350. def __copy__(self, /) -> typing.Self: ...
  1351. def __dir__(self, /) -> collections.abc.Iterable[str]: ...
  1352. def __repr__(self, /) -> str: ...
  1353. def data(self, /) -> PySide6.QtQuick.QQuickItemGrabResult: ...
  1354. @typing.overload
  1355. def reset(self, /) -> None: ...
  1356. @typing.overload
  1357. def reset(self, t: PySide6.QtQuick.QQuickItemGrabResult, /) -> None: ...
  1358. # eof