把鼠标事件委托给附加的 MouseHandler 对象。 更多 …
def
sensitivity
()
def
updateAxesContinuously
()
def
setSensitivity
(value)
def
setUpdateAxesContinuously
(updateAxesContinuously)
def
sensitivityChanged
(value)
def
updateAxesContinuouslyChanged
(updateAxesContinuously)
A
QMouseDevicedelegates mouse events from physical mouse device toQMouseHandlerobjects. The sensitivity of the mouse can be controlled with thesensitivityproperty, which specifies the rate in which the logical mouse coordinates change in response to physical movement of the mouse.另请参阅
QMouseHandler
PySide2.Qt3DInput.Qt3DInput.
QMouseDevice
(
[
parent=None
]
)
¶
- param parent
QNode
构造新
QMouseDevice
instance with parent
parent
.
PySide2.Qt3DInput.Qt3DInput.QMouseDevice.
Axis
¶
The mouse axis.
|
常量 |
描述 |
|---|---|
|
Qt3DInput.QMouseDevice.X |
|
|
Qt3DInput.QMouseDevice.Y |
|
|
Qt3DInput.QMouseDevice.WheelX |
|
|
Qt3DInput.QMouseDevice.WheelY |
另请参阅
PySide2.Qt3DInput.Qt3DInput.QMouseDevice.
sensitivity
(
)
¶
float
另请参阅
PySide2.Qt3DInput.Qt3DInput.QMouseDevice.
sensitivityChanged
(
value
)
¶
value
–
float
PySide2.Qt3DInput.Qt3DInput.QMouseDevice.
setSensitivity
(
value
)
¶
value
–
float
另请参阅
PySide2.Qt3DInput.Qt3DInput.QMouseDevice.
setUpdateAxesContinuously
(
updateAxesContinuously
)
¶
updateAxesContinuously
–
bool
PySide2.Qt3DInput.Qt3DInput.QMouseDevice.
updateAxesContinuously
(
)
¶
bool
PySide2.Qt3DInput.Qt3DInput.QMouseDevice.
updateAxesContinuouslyChanged
(
updateAxesContinuously
)
¶
updateAxesContinuously
–
bool