- class QSpriteSheetItem#
-
Synopsis#
Properties#
Methods#
def
__init__()
def
height()
def
width()
def
x()
def
y()
Slots#
def
setHeight()
def
setWidth()
def
setX()
def
setY()
Signals#
def
heightChanged()
def
widthChanged()
def
xChanged()
def
yChanged()
Note
This documentation may contain snippets that were automatically translated from C++ to Python. We always welcome contributions to the snippet translation. If you see an issue with the translation, you can also let us know by creating a ticket on https:/bugreports.qt.io/projects/PYSIDE
Detailed Description#
Note
Properties can be used directly when
from __feature__ import true_property
is used or via accessor functions otherwise.- property heightᅟ: int#
- Access functions:
Signal
heightChanged()
- property widthᅟ: int#
- Access functions:
Signal
widthChanged()
- property xᅟ: int#
- Access functions:
Signal
xChanged()
- property yᅟ: int#
- Access functions:
Signal
yChanged()
- __init__([parent=None])#
- Parameters:
parent –
QNode
- height()#
- Return type:
int
Getter of property
heightᅟ
.- heightChanged(height)#
- Parameters:
height – int
Notification signal of property
heightᅟ
.- setHeight(height)#
- Parameters:
height – int
Setter of property
heightᅟ
.- setWidth(width)#
- Parameters:
width – int
Setter of property
widthᅟ
.- setX(x)#
- Parameters:
x – int
Setter of property
xᅟ
.- setY(y)#
- Parameters:
y – int
Setter of property
yᅟ
.- width()#
- Return type:
int
Getter of property
widthᅟ
.- widthChanged(width)#
- Parameters:
width – int
Notification signal of property
widthᅟ
.- x()#
- Return type:
int
Getter of property
xᅟ
.- xChanged(x)#
- Parameters:
x – int
Notification signal of property
xᅟ
.- y()#
- Return type:
int
Getter of property
yᅟ
.- yChanged(y)#
- Parameters:
y – int
Notification signal of property
yᅟ
.