Qt3DInput.pyi 23 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400
  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.Qt3DInput, except for defaults which are replaced by "...".
  6. """
  7. # mypy: disable-error-code="override, overload-overlap"
  8. # Module `PySide6.Qt3DInput`
  9. import PySide6.Qt3DInput
  10. import PySide6.QtCore
  11. import PySide6.QtGui
  12. import PySide6.Qt3DCore
  13. import enum
  14. import typing
  15. import collections.abc
  16. from PySide6.QtCore import Signal
  17. from shiboken6 import Shiboken
  18. class QIntList: ...
  19. class Qt3DInput(Shiboken.Object):
  20. class QAbstractActionInput(PySide6.Qt3DCore.Qt3DCore.QNode): ...
  21. class QAbstractAxisInput(PySide6.Qt3DCore.Qt3DCore.QNode):
  22. sourceDeviceChanged : typing.ClassVar[Signal] = ... # sourceDeviceChanged(QAbstractPhysicalDevice*)
  23. def setSourceDevice(self, sourceDevice: PySide6.Qt3DInput.Qt3DInput.QAbstractPhysicalDevice, /) -> None: ...
  24. def sourceDevice(self, /) -> PySide6.Qt3DInput.Qt3DInput.QAbstractPhysicalDevice: ...
  25. class QAbstractPhysicalDevice(PySide6.Qt3DCore.Qt3DCore.QNode):
  26. def __init__(self, /, parent: PySide6.Qt3DCore.Qt3DCore.QNode | None = ...) -> None: ...
  27. def addAxisSetting(self, axisSetting: PySide6.Qt3DInput.Qt3DInput.QAxisSetting, /) -> None: ...
  28. def axisCount(self, /) -> int: ...
  29. def axisIdentifier(self, name: str, /) -> int: ...
  30. def axisNames(self, /) -> typing.List[str]: ...
  31. def axisSettings(self, /) -> typing.List[PySide6.Qt3DInput.Qt3DInput.QAxisSetting]: ...
  32. def buttonCount(self, /) -> int: ...
  33. def buttonIdentifier(self, name: str, /) -> int: ...
  34. def buttonNames(self, /) -> typing.List[str]: ...
  35. def removeAxisSetting(self, axisSetting: PySide6.Qt3DInput.Qt3DInput.QAxisSetting, /) -> None: ...
  36. class QAction(PySide6.Qt3DCore.Qt3DCore.QNode):
  37. activeChanged : typing.ClassVar[Signal] = ... # activeChanged(bool)
  38. def __init__(self, /, parent: PySide6.Qt3DCore.Qt3DCore.QNode | None = ..., *, active: bool | None = ...) -> None: ...
  39. def addInput(self, input: PySide6.Qt3DInput.Qt3DInput.QAbstractActionInput, /) -> None: ...
  40. def inputs(self, /) -> typing.List[PySide6.Qt3DInput.Qt3DInput.QAbstractActionInput]: ...
  41. def isActive(self, /) -> bool: ...
  42. def removeInput(self, input: PySide6.Qt3DInput.Qt3DInput.QAbstractActionInput, /) -> None: ...
  43. class QActionInput(PySide6.Qt3DInput.Qt3DInput.QAbstractActionInput):
  44. buttonsChanged : typing.ClassVar[Signal] = ... # buttonsChanged(QList<int>)
  45. sourceDeviceChanged : typing.ClassVar[Signal] = ... # sourceDeviceChanged(QAbstractPhysicalDevice*)
  46. def __init__(self, /, parent: PySide6.Qt3DCore.Qt3DCore.QNode | None = ..., *, sourceDevice: PySide6.Qt3DInput.Qt3DInput.QAbstractPhysicalDevice | None = ..., buttons: collections.abc.Sequence[int] | None = ...) -> None: ...
  47. def buttons(self, /) -> typing.List[int]: ...
  48. def setButtons(self, buttons: collections.abc.Sequence[int], /) -> None: ...
  49. def setSourceDevice(self, sourceDevice: PySide6.Qt3DInput.Qt3DInput.QAbstractPhysicalDevice, /) -> None: ...
  50. def sourceDevice(self, /) -> PySide6.Qt3DInput.Qt3DInput.QAbstractPhysicalDevice: ...
  51. class QAnalogAxisInput(PySide6.Qt3DInput.Qt3DInput.QAbstractAxisInput):
  52. axisChanged : typing.ClassVar[Signal] = ... # axisChanged(int)
  53. def __init__(self, /, parent: PySide6.Qt3DCore.Qt3DCore.QNode | None = ..., *, axis: int | None = ...) -> None: ...
  54. def axis(self, /) -> int: ...
  55. def setAxis(self, axis: int, /) -> None: ...
  56. class QAxis(PySide6.Qt3DCore.Qt3DCore.QNode):
  57. valueChanged : typing.ClassVar[Signal] = ... # valueChanged(float)
  58. def __init__(self, /, parent: PySide6.Qt3DCore.Qt3DCore.QNode | None = ..., *, value: float | None = ...) -> None: ...
  59. def addInput(self, input: PySide6.Qt3DInput.Qt3DInput.QAbstractAxisInput, /) -> None: ...
  60. def inputs(self, /) -> typing.List[PySide6.Qt3DInput.Qt3DInput.QAbstractAxisInput]: ...
  61. def removeInput(self, input: PySide6.Qt3DInput.Qt3DInput.QAbstractAxisInput, /) -> None: ...
  62. def value(self, /) -> float: ...
  63. class QAxisAccumulator(PySide6.Qt3DCore.Qt3DCore.QComponent):
  64. scaleChanged : typing.ClassVar[Signal] = ... # scaleChanged(float)
  65. sourceAxisChanged : typing.ClassVar[Signal] = ... # sourceAxisChanged(Qt3DInput::QAxis*)
  66. sourceAxisTypeChanged : typing.ClassVar[Signal] = ... # sourceAxisTypeChanged(QAxisAccumulator::SourceAxisType)
  67. valueChanged : typing.ClassVar[Signal] = ... # valueChanged(float)
  68. velocityChanged : typing.ClassVar[Signal] = ... # velocityChanged(float)
  69. class SourceAxisType(enum.Enum):
  70. Velocity = 0x0
  71. Acceleration = 0x1
  72. def __init__(self, /, parent: PySide6.Qt3DCore.Qt3DCore.QNode | None = ..., *, sourceAxis: PySide6.Qt3DInput.Qt3DInput.QAxis | None = ..., sourceAxisType: PySide6.Qt3DInput.Qt3DInput.QAxisAccumulator.SourceAxisType | None = ..., scale: float | None = ..., value: float | None = ..., velocity: float | None = ...) -> None: ...
  73. def scale(self, /) -> float: ...
  74. def setScale(self, scale: float, /) -> None: ...
  75. def setSourceAxis(self, sourceAxis: PySide6.Qt3DInput.Qt3DInput.QAxis, /) -> None: ...
  76. def setSourceAxisType(self, sourceAxisType: PySide6.Qt3DInput.Qt3DInput.QAxisAccumulator.SourceAxisType, /) -> None: ...
  77. def sourceAxis(self, /) -> PySide6.Qt3DInput.Qt3DInput.QAxis: ...
  78. def sourceAxisType(self, /) -> PySide6.Qt3DInput.Qt3DInput.QAxisAccumulator.SourceAxisType: ...
  79. def value(self, /) -> float: ...
  80. def velocity(self, /) -> float: ...
  81. class QAxisSetting(PySide6.Qt3DCore.Qt3DCore.QNode):
  82. axesChanged : typing.ClassVar[Signal] = ... # axesChanged(QList<int>)
  83. deadZoneRadiusChanged : typing.ClassVar[Signal] = ... # deadZoneRadiusChanged(float)
  84. smoothChanged : typing.ClassVar[Signal] = ... # smoothChanged(bool)
  85. def __init__(self, /, parent: PySide6.Qt3DCore.Qt3DCore.QNode | None = ..., *, deadZoneRadius: float | None = ..., axes: collections.abc.Sequence[int] | None = ..., smooth: bool | None = ...) -> None: ...
  86. def axes(self, /) -> typing.List[int]: ...
  87. def deadZoneRadius(self, /) -> float: ...
  88. def isSmoothEnabled(self, /) -> bool: ...
  89. def setAxes(self, axes: collections.abc.Sequence[int], /) -> None: ...
  90. def setDeadZoneRadius(self, deadZoneRadius: float, /) -> None: ...
  91. def setSmoothEnabled(self, enabled: bool, /) -> None: ...
  92. class QButtonAxisInput(PySide6.Qt3DInput.Qt3DInput.QAbstractAxisInput):
  93. accelerationChanged : typing.ClassVar[Signal] = ... # accelerationChanged(float)
  94. buttonsChanged : typing.ClassVar[Signal] = ... # buttonsChanged(QList<int>)
  95. decelerationChanged : typing.ClassVar[Signal] = ... # decelerationChanged(float)
  96. scaleChanged : typing.ClassVar[Signal] = ... # scaleChanged(float)
  97. def __init__(self, /, parent: PySide6.Qt3DCore.Qt3DCore.QNode | None = ..., *, scale: float | None = ..., buttons: collections.abc.Sequence[int] | None = ..., acceleration: float | None = ..., deceleration: float | None = ...) -> None: ...
  98. def acceleration(self, /) -> float: ...
  99. def buttons(self, /) -> typing.List[int]: ...
  100. def deceleration(self, /) -> float: ...
  101. def scale(self, /) -> float: ...
  102. def setAcceleration(self, acceleration: float, /) -> None: ...
  103. def setButtons(self, buttons: collections.abc.Sequence[int], /) -> None: ...
  104. def setDeceleration(self, deceleration: float, /) -> None: ...
  105. def setScale(self, scale: float, /) -> None: ...
  106. class QInputAspect(PySide6.Qt3DCore.Qt3DCore.QAbstractAspect):
  107. def __init__(self, /, parent: PySide6.QtCore.QObject | None = ...) -> None: ...
  108. def availablePhysicalDevices(self, /) -> typing.List[str]: ...
  109. def createPhysicalDevice(self, name: str, /) -> PySide6.Qt3DInput.Qt3DInput.QAbstractPhysicalDevice: ...
  110. class QInputChord(PySide6.Qt3DInput.Qt3DInput.QAbstractActionInput):
  111. timeoutChanged : typing.ClassVar[Signal] = ... # timeoutChanged(int)
  112. def __init__(self, /, parent: PySide6.Qt3DCore.Qt3DCore.QNode | None = ..., *, timeout: int | None = ...) -> None: ...
  113. def addChord(self, input: PySide6.Qt3DInput.Qt3DInput.QAbstractActionInput, /) -> None: ...
  114. def chords(self, /) -> typing.List[PySide6.Qt3DInput.Qt3DInput.QAbstractActionInput]: ...
  115. def removeChord(self, input: PySide6.Qt3DInput.Qt3DInput.QAbstractActionInput, /) -> None: ...
  116. def setTimeout(self, timeout: int, /) -> None: ...
  117. def timeout(self, /) -> int: ...
  118. class QInputSequence(PySide6.Qt3DInput.Qt3DInput.QAbstractActionInput):
  119. buttonIntervalChanged : typing.ClassVar[Signal] = ... # buttonIntervalChanged(int)
  120. timeoutChanged : typing.ClassVar[Signal] = ... # timeoutChanged(int)
  121. def __init__(self, /, parent: PySide6.Qt3DCore.Qt3DCore.QNode | None = ..., *, timeout: int | None = ..., buttonInterval: int | None = ...) -> None: ...
  122. def addSequence(self, input: PySide6.Qt3DInput.Qt3DInput.QAbstractActionInput, /) -> None: ...
  123. def buttonInterval(self, /) -> int: ...
  124. def removeSequence(self, input: PySide6.Qt3DInput.Qt3DInput.QAbstractActionInput, /) -> None: ...
  125. def sequences(self, /) -> typing.List[PySide6.Qt3DInput.Qt3DInput.QAbstractActionInput]: ...
  126. def setButtonInterval(self, buttonInterval: int, /) -> None: ...
  127. def setTimeout(self, timeout: int, /) -> None: ...
  128. def timeout(self, /) -> int: ...
  129. class QInputSettings(PySide6.Qt3DCore.Qt3DCore.QComponent):
  130. eventSourceChanged : typing.ClassVar[Signal] = ... # eventSourceChanged(QObject*)
  131. def __init__(self, /, parent: PySide6.Qt3DCore.Qt3DCore.QNode | None = ..., *, eventSource: PySide6.QtCore.QObject | None = ...) -> None: ...
  132. def eventSource(self, /) -> PySide6.QtCore.QObject: ...
  133. def setEventSource(self, eventSource: PySide6.QtCore.QObject, /) -> None: ...
  134. class QKeyEvent(PySide6.QtCore.QObject):
  135. @typing.overload
  136. def __init__(self, ke: PySide6.QtGui.QKeyEvent, /, *, key: int | None = ..., text: str | None = ..., modifiers: int | None = ..., isAutoRepeat: bool | None = ..., count: int | None = ..., nativeScanCode: int | None = ..., accepted: bool | None = ...) -> None: ...
  137. @typing.overload
  138. def __init__(self, type: PySide6.QtCore.QEvent.Type, key: int, modifiers: PySide6.QtCore.Qt.KeyboardModifier, /, text: str = ..., autorep: bool = ..., count: int = ..., *, isAutoRepeat: bool | None = ..., nativeScanCode: int | None = ..., accepted: bool | None = ...) -> None: ...
  139. def count(self, /) -> int: ...
  140. def isAccepted(self, /) -> bool: ...
  141. def isAutoRepeat(self, /) -> bool: ...
  142. def key(self, /) -> int: ...
  143. def matches(self, key_: PySide6.QtGui.QKeySequence.StandardKey, /) -> bool: ...
  144. def modifiers(self, /) -> int: ...
  145. def nativeScanCode(self, /) -> int: ...
  146. def setAccepted(self, accepted: bool, /) -> None: ...
  147. def text(self, /) -> str: ...
  148. def type(self, /) -> PySide6.QtCore.QEvent.Type: ...
  149. class QKeyboardDevice(PySide6.Qt3DInput.Qt3DInput.QAbstractPhysicalDevice):
  150. activeInputChanged : typing.ClassVar[Signal] = ... # activeInputChanged(QKeyboardHandler*)
  151. def __init__(self, /, parent: PySide6.Qt3DCore.Qt3DCore.QNode | None = ..., *, activeInput: PySide6.Qt3DInput.Qt3DInput.QKeyboardHandler | None = ...) -> None: ...
  152. def activeInput(self, /) -> PySide6.Qt3DInput.Qt3DInput.QKeyboardHandler: ...
  153. def axisCount(self, /) -> int: ...
  154. def axisIdentifier(self, name: str, /) -> int: ...
  155. def axisNames(self, /) -> typing.List[str]: ...
  156. def buttonCount(self, /) -> int: ...
  157. def buttonIdentifier(self, name: str, /) -> int: ...
  158. def buttonNames(self, /) -> typing.List[str]: ...
  159. class QKeyboardHandler(PySide6.Qt3DCore.Qt3DCore.QComponent):
  160. asteriskPressed : typing.ClassVar[Signal] = ... # asteriskPressed(Qt3DInput::QKeyEvent*)
  161. backPressed : typing.ClassVar[Signal] = ... # backPressed(Qt3DInput::QKeyEvent*)
  162. backtabPressed : typing.ClassVar[Signal] = ... # backtabPressed(Qt3DInput::QKeyEvent*)
  163. callPressed : typing.ClassVar[Signal] = ... # callPressed(Qt3DInput::QKeyEvent*)
  164. cancelPressed : typing.ClassVar[Signal] = ... # cancelPressed(Qt3DInput::QKeyEvent*)
  165. context1Pressed : typing.ClassVar[Signal] = ... # context1Pressed(Qt3DInput::QKeyEvent*)
  166. context2Pressed : typing.ClassVar[Signal] = ... # context2Pressed(Qt3DInput::QKeyEvent*)
  167. context3Pressed : typing.ClassVar[Signal] = ... # context3Pressed(Qt3DInput::QKeyEvent*)
  168. context4Pressed : typing.ClassVar[Signal] = ... # context4Pressed(Qt3DInput::QKeyEvent*)
  169. deletePressed : typing.ClassVar[Signal] = ... # deletePressed(Qt3DInput::QKeyEvent*)
  170. digit0Pressed : typing.ClassVar[Signal] = ... # digit0Pressed(Qt3DInput::QKeyEvent*)
  171. digit1Pressed : typing.ClassVar[Signal] = ... # digit1Pressed(Qt3DInput::QKeyEvent*)
  172. digit2Pressed : typing.ClassVar[Signal] = ... # digit2Pressed(Qt3DInput::QKeyEvent*)
  173. digit3Pressed : typing.ClassVar[Signal] = ... # digit3Pressed(Qt3DInput::QKeyEvent*)
  174. digit4Pressed : typing.ClassVar[Signal] = ... # digit4Pressed(Qt3DInput::QKeyEvent*)
  175. digit5Pressed : typing.ClassVar[Signal] = ... # digit5Pressed(Qt3DInput::QKeyEvent*)
  176. digit6Pressed : typing.ClassVar[Signal] = ... # digit6Pressed(Qt3DInput::QKeyEvent*)
  177. digit7Pressed : typing.ClassVar[Signal] = ... # digit7Pressed(Qt3DInput::QKeyEvent*)
  178. digit8Pressed : typing.ClassVar[Signal] = ... # digit8Pressed(Qt3DInput::QKeyEvent*)
  179. digit9Pressed : typing.ClassVar[Signal] = ... # digit9Pressed(Qt3DInput::QKeyEvent*)
  180. downPressed : typing.ClassVar[Signal] = ... # downPressed(Qt3DInput::QKeyEvent*)
  181. enterPressed : typing.ClassVar[Signal] = ... # enterPressed(Qt3DInput::QKeyEvent*)
  182. escapePressed : typing.ClassVar[Signal] = ... # escapePressed(Qt3DInput::QKeyEvent*)
  183. flipPressed : typing.ClassVar[Signal] = ... # flipPressed(Qt3DInput::QKeyEvent*)
  184. focusChanged : typing.ClassVar[Signal] = ... # focusChanged(bool)
  185. hangupPressed : typing.ClassVar[Signal] = ... # hangupPressed(Qt3DInput::QKeyEvent*)
  186. leftPressed : typing.ClassVar[Signal] = ... # leftPressed(Qt3DInput::QKeyEvent*)
  187. menuPressed : typing.ClassVar[Signal] = ... # menuPressed(Qt3DInput::QKeyEvent*)
  188. noPressed : typing.ClassVar[Signal] = ... # noPressed(Qt3DInput::QKeyEvent*)
  189. numberSignPressed : typing.ClassVar[Signal] = ... # numberSignPressed(Qt3DInput::QKeyEvent*)
  190. pressed : typing.ClassVar[Signal] = ... # pressed(Qt3DInput::QKeyEvent*)
  191. released : typing.ClassVar[Signal] = ... # released(Qt3DInput::QKeyEvent*)
  192. returnPressed : typing.ClassVar[Signal] = ... # returnPressed(Qt3DInput::QKeyEvent*)
  193. rightPressed : typing.ClassVar[Signal] = ... # rightPressed(Qt3DInput::QKeyEvent*)
  194. selectPressed : typing.ClassVar[Signal] = ... # selectPressed(Qt3DInput::QKeyEvent*)
  195. sourceDeviceChanged : typing.ClassVar[Signal] = ... # sourceDeviceChanged(QKeyboardDevice*)
  196. spacePressed : typing.ClassVar[Signal] = ... # spacePressed(Qt3DInput::QKeyEvent*)
  197. tabPressed : typing.ClassVar[Signal] = ... # tabPressed(Qt3DInput::QKeyEvent*)
  198. upPressed : typing.ClassVar[Signal] = ... # upPressed(Qt3DInput::QKeyEvent*)
  199. volumeDownPressed : typing.ClassVar[Signal] = ... # volumeDownPressed(Qt3DInput::QKeyEvent*)
  200. volumeUpPressed : typing.ClassVar[Signal] = ... # volumeUpPressed(Qt3DInput::QKeyEvent*)
  201. yesPressed : typing.ClassVar[Signal] = ... # yesPressed(Qt3DInput::QKeyEvent*)
  202. def __init__(self, /, parent: PySide6.Qt3DCore.Qt3DCore.QNode | None = ..., *, sourceDevice: PySide6.Qt3DInput.Qt3DInput.QKeyboardDevice | None = ..., focus: bool | None = ...) -> None: ...
  203. def focus(self, /) -> bool: ...
  204. def setFocus(self, focus: bool, /) -> None: ...
  205. def setSourceDevice(self, keyboardDevice: PySide6.Qt3DInput.Qt3DInput.QKeyboardDevice, /) -> None: ...
  206. def sourceDevice(self, /) -> PySide6.Qt3DInput.Qt3DInput.QKeyboardDevice: ...
  207. class QLogicalDevice(PySide6.Qt3DCore.Qt3DCore.QComponent):
  208. def __init__(self, /, parent: PySide6.Qt3DCore.Qt3DCore.QNode | None = ...) -> None: ...
  209. def actions(self, /) -> typing.List[PySide6.Qt3DInput.Qt3DInput.QAction]: ...
  210. def addAction(self, action: PySide6.Qt3DInput.Qt3DInput.QAction, /) -> None: ...
  211. def addAxis(self, axis: PySide6.Qt3DInput.Qt3DInput.QAxis, /) -> None: ...
  212. def axes(self, /) -> typing.List[PySide6.Qt3DInput.Qt3DInput.QAxis]: ...
  213. def removeAction(self, action: PySide6.Qt3DInput.Qt3DInput.QAction, /) -> None: ...
  214. def removeAxis(self, axis: PySide6.Qt3DInput.Qt3DInput.QAxis, /) -> None: ...
  215. class QMouseDevice(PySide6.Qt3DInput.Qt3DInput.QAbstractPhysicalDevice):
  216. sensitivityChanged : typing.ClassVar[Signal] = ... # sensitivityChanged(float)
  217. updateAxesContinuouslyChanged: typing.ClassVar[Signal] = ... # updateAxesContinuouslyChanged(bool)
  218. class Axis(enum.Enum):
  219. X = 0x0
  220. Y = 0x1
  221. WheelX = 0x2
  222. WheelY = 0x3
  223. def __init__(self, /, parent: PySide6.Qt3DCore.Qt3DCore.QNode | None = ..., *, sensitivity: float | None = ..., updateAxesContinuously: bool | None = ...) -> None: ...
  224. def axisCount(self, /) -> int: ...
  225. def axisIdentifier(self, name: str, /) -> int: ...
  226. def axisNames(self, /) -> typing.List[str]: ...
  227. def buttonCount(self, /) -> int: ...
  228. def buttonIdentifier(self, name: str, /) -> int: ...
  229. def buttonNames(self, /) -> typing.List[str]: ...
  230. def sensitivity(self, /) -> float: ...
  231. def setSensitivity(self, value: float, /) -> None: ...
  232. def setUpdateAxesContinuously(self, updateAxesContinuously: bool, /) -> None: ...
  233. def updateAxesContinuously(self, /) -> bool: ...
  234. class QMouseEvent(PySide6.QtCore.QObject):
  235. class Buttons(enum.Enum):
  236. NoButton = 0x0
  237. LeftButton = 0x1
  238. RightButton = 0x2
  239. MiddleButton = 0x4
  240. BackButton = 0x8
  241. class Modifiers(enum.Enum):
  242. NoModifier = 0x0
  243. ShiftModifier = 0x2000000
  244. ControlModifier = 0x4000000
  245. AltModifier = 0x8000000
  246. MetaModifier = 0x10000000
  247. KeypadModifier = 0x20000000
  248. def __init__(self, e: PySide6.QtGui.QMouseEvent, /, *, x: int | None = ..., y: int | None = ..., wasHeld: bool | None = ..., button: PySide6.Qt3DInput.Qt3DInput.QMouseEvent.Buttons | None = ..., buttons: int | None = ..., modifiers: PySide6.Qt3DInput.Qt3DInput.QMouseEvent.Modifiers | None = ..., accepted: bool | None = ...) -> None: ...
  249. def button(self, /) -> PySide6.Qt3DInput.Qt3DInput.QMouseEvent.Buttons: ...
  250. def buttons(self, /) -> int: ...
  251. def isAccepted(self, /) -> bool: ...
  252. def modifiers(self, /) -> PySide6.Qt3DInput.Qt3DInput.QMouseEvent.Modifiers: ...
  253. def setAccepted(self, accepted: bool, /) -> None: ...
  254. def type(self, /) -> PySide6.QtCore.QEvent.Type: ...
  255. def wasHeld(self, /) -> bool: ...
  256. def x(self, /) -> int: ...
  257. def y(self, /) -> int: ...
  258. class QMouseHandler(PySide6.Qt3DCore.Qt3DCore.QComponent):
  259. clicked : typing.ClassVar[Signal] = ... # clicked(Qt3DInput::QMouseEvent*)
  260. containsMouseChanged : typing.ClassVar[Signal] = ... # containsMouseChanged(bool)
  261. doubleClicked : typing.ClassVar[Signal] = ... # doubleClicked(Qt3DInput::QMouseEvent*)
  262. entered : typing.ClassVar[Signal] = ... # entered()
  263. exited : typing.ClassVar[Signal] = ... # exited()
  264. positionChanged : typing.ClassVar[Signal] = ... # positionChanged(Qt3DInput::QMouseEvent*)
  265. pressAndHold : typing.ClassVar[Signal] = ... # pressAndHold(Qt3DInput::QMouseEvent*)
  266. pressed : typing.ClassVar[Signal] = ... # pressed(Qt3DInput::QMouseEvent*)
  267. released : typing.ClassVar[Signal] = ... # released(Qt3DInput::QMouseEvent*)
  268. sourceDeviceChanged : typing.ClassVar[Signal] = ... # sourceDeviceChanged(QMouseDevice*)
  269. wheel : typing.ClassVar[Signal] = ... # wheel(Qt3DInput::QWheelEvent*)
  270. def __init__(self, /, parent: PySide6.Qt3DCore.Qt3DCore.QNode | None = ..., *, sourceDevice: PySide6.Qt3DInput.Qt3DInput.QMouseDevice | None = ..., containsMouse: bool | None = ...) -> None: ...
  271. def containsMouse(self, /) -> bool: ...
  272. def setContainsMouse(self, contains: bool, /) -> None: ...
  273. def setSourceDevice(self, mouseDevice: PySide6.Qt3DInput.Qt3DInput.QMouseDevice, /) -> None: ...
  274. def sourceDevice(self, /) -> PySide6.Qt3DInput.Qt3DInput.QMouseDevice: ...
  275. class QWheelEvent(PySide6.QtCore.QObject):
  276. class Buttons(enum.Enum):
  277. NoButton = 0x0
  278. LeftButton = 0x1
  279. RightButton = 0x2
  280. MiddleButton = 0x4
  281. BackButton = 0x8
  282. class Modifiers(enum.Enum):
  283. NoModifier = 0x0
  284. ShiftModifier = 0x2000000
  285. ControlModifier = 0x4000000
  286. AltModifier = 0x8000000
  287. MetaModifier = 0x10000000
  288. KeypadModifier = 0x20000000
  289. def __init__(self, e: PySide6.QtGui.QWheelEvent, /, *, x: int | None = ..., y: int | None = ..., angleDelta: PySide6.QtCore.QPoint | None = ..., buttons: int | None = ..., modifiers: PySide6.Qt3DInput.Qt3DInput.QWheelEvent.Modifiers | None = ..., accepted: bool | None = ...) -> None: ...
  290. def angleDelta(self, /) -> PySide6.QtCore.QPoint: ...
  291. def buttons(self, /) -> int: ...
  292. def isAccepted(self, /) -> bool: ...
  293. def modifiers(self, /) -> PySide6.Qt3DInput.Qt3DInput.QWheelEvent.Modifiers: ...
  294. def setAccepted(self, accepted: bool, /) -> None: ...
  295. def type(self, /) -> PySide6.QtCore.QEvent.Type: ...
  296. def x(self, /) -> int: ...
  297. def y(self, /) -> int: ...
  298. # eof