- class QAbstractSpriteSheet#
-
继承自:
QSpriteSheet,QSpriteGrid概述#
属性#
方法#
def
currentIndex()def
texture()
槽函数#
def
setTexture()
信号#
注意
本文档可能包含从 C++ 自动翻译到 Python 的代码片段。我们始终欢迎对片段翻译的贡献。如果您看到翻译中的问题,也可以通过在 https:/bugreports.qt.io/projects/PYSIDE 上创建工单来让我们知道
详细描述#
注意
当使用
from __feature__ import true_property时,可以直接使用属性,否则可通过访问函数来使用。- 属性 currentIndexᅟ: int#
- 属性 textureᅟ: QAbstractTexture#
- 访问函数
- 属性 textureTransformᅟ: QMatrix3x3#
- currentIndex()#
- 返回类型:
int
属性的获取器,
currentIndex.- currentIndexChanged(currentIndex)#
- 参数:
currentIndex – int
属性
currentIndex的通知信号。- setCurrentIndex(currentIndex)#
- 参数:
currentIndex – int
属性的设置器,
currentIndex.- setTexture(texture)#
- 参数:
texture –
QAbstractTexture
属性的设置器,
texture.- texture()#
- 返回类型:
QAbstractTexture
属性的获取器,
texture.- textureChanged(texture)#
- 参数:
texture –
QAbstractTexture
属性
texture的通知信号。- textureTransform()#
- 返回类型:
属性的获取器,
textureTransform.- textureTransformChanged(textureTransform)#
- 参数:
textureTransform –
QMatrix3x3
属性
textureTransform的通知信号。