PySide6.Qt3DExtras.Qt3DExtras.QSpriteSheetItem¶
- class QSpriteSheetItem¶
-
概要¶
属性¶
方法¶
def
__init__()def
height()def
width()def
x()def
y()
插槽¶
def
setHeight()def
setWidth()def
setX()def
setY()
信号¶
def
heightChanged()def
widthChanged()def
xChanged()def
yChanged()
注意
本文档可能包含从C++自动翻译到Python的代码片段。我们始终欢迎对代码片段翻译的贡献。如果您发现翻译问题,您也可以通过在我们的https:/bugreports.qt.io/projects/PYSIDE上创建工单来告知我们。
详细描述¶
注意
当使用
from __feature__ import true_property时,属性可以直接使用,否则通过访问器函数使用。- property heightᅟ: int¶
- Access functions:
- property widthᅟ: int¶
- Access functions:
- property xᅟ: int¶
- Access functions:
信号
xChanged()
- property yᅟ: int¶
- Access functions:
信号
yChanged()
- __init__([parent=None])¶
- Parameters:
parent –
QNode
- height()¶
- Return type:
整数
属性
heightᅟ的获取器。- heightChanged(height)¶
- Parameters:
height – int
属性
heightᅟ的通知信号。- setHeight(height)¶
- Parameters:
height – int
属性
heightᅟ的设置器。- setWidth(width)¶
- Parameters:
width – 整数
属性
widthᅟ的设置器。- setX(x)¶
- Parameters:
x – 整数
属性
xᅟ的设置器。- setY(y)¶
- Parameters:
y – 整数
属性
yᅟ的设置器。- width()¶
- Return type:
整数
属性
widthᅟ的获取器。- widthChanged(width)¶
- Parameters:
width – 整数
属性
widthᅟ的通知信号。- x()¶
- Return type:
整数
属性
xᅟ的获取器。- xChanged(x)¶
- Parameters:
x – 整数
属性
xᅟ的通知信号。- y()¶
- Return type:
整数
属性
yᅟ的获取器。- yChanged(y)¶
- Parameters:
y – 整数
属性
yᅟ的通知信号。