- class QSpriteGrid¶
-
Synopsis¶
Properties¶
Methods¶
def
__init__()
def
columns()
def
rows()
Slots¶
def
setColumns()
def
setRows()
Signals¶
def
columnsChanged()
def
rowsChanged()
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 columnsᅟ: int¶
- Access functions:
- property rowsᅟ: int¶
- Access functions:
Signal
rowsChanged()
- __init__([parent=None])¶
- Parameters:
parent –
QNode
- columns()¶
- Return type:
int
Getter of property
columnsᅟ
.- columnsChanged(columns)¶
- Parameters:
columns – int
Notification signal of property
columnsᅟ
.- rows()¶
- Return type:
int
Getter of property
rowsᅟ
.- rowsChanged(rows)¶
- Parameters:
rows – int
Notification signal of property
rowsᅟ
.- setColumns(columns)¶
- Parameters:
columns – int
Setter of property
columnsᅟ
.- setRows(rows)¶
- Parameters:
rows – int
Setter of property
rowsᅟ
.