- class QSurfaceDataProxy#
-
Inherited by:
QItemModelSurfaceDataProxy
,QHeightMapSurfaceDataProxy
Synopsis#
Properties#
Methods#
def
__init__()
def
addRow()
def
addRows()
def
array()
def
columnCount()
def
insertRow()
def
insertRows()
def
itemAt()
def
removeRows()
def
resetArray()
def
resetArrayNp()
def
rowCount()
def
series()
def
setItem()
def
setRow()
def
setRows()
Signals#
def
arrayReset()
def
itemChanged()
def
rowsAdded()
def
rowsChanged()
def
rowsInserted()
def
rowsRemoved()
def
seriesChanged()
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 columnCountᅟ: int#
- Access functions:
- property rowCountᅟ: int#
- Access functions:
Signal
rowCountChanged()
- property seriesᅟ: QSurface3DSeries#
- Access functions:
Signal
seriesChanged()
- addRow(row)#
- Parameters:
row – .list of QSurfaceDataItem
- Return type:
int
- addRows(rows)#
- Parameters:
rows – .list of list of QSurfaceDataItem
- Return type:
int
- array()#
- Return type:
.list of list of QSurfaceDataItem
- arrayReset()#
- columnCount()#
- Return type:
int
Getter of property
columnCountᅟ
.- columnCountChanged(count)#
- Parameters:
count – int
Notification signal of property
columnCountᅟ
.- insertRow(rowIndex, row)#
- Parameters:
rowIndex – int
row – .list of QSurfaceDataItem
- insertRows(rowIndex, rows)#
- Parameters:
rowIndex – int
rows – .list of list of QSurfaceDataItem
- itemAt(rowIndex, columnIndex)
- Parameters:
rowIndex – int
columnIndex – int
- Return type:
- itemChanged(rowIndex, columnIndex)#
- Parameters:
rowIndex – int
columnIndex – int
- removeRows(rowIndex, removeCount)#
- Parameters:
rowIndex – int
removeCount – int
- resetArray(newArray)#
- Parameters:
newArray – .list of list of QSurfaceDataItem
- resetArray()
- resetArrayNp(x, deltaX, z, deltaZ, data)#
- Parameters:
x – float
deltaX – float
z – float
deltaZ – float
data –
PyArrayObject
Populates the data from a 2 dimensional numpy array containing the y values for a range starting a
x
,z
with steps ofdeltaX
,deltaZ
, respectively.- rowCount()#
- Return type:
int
Getter of property
rowCountᅟ
.- rowCountChanged(count)#
- Parameters:
count – int
Notification signal of property
rowCountᅟ
.- rowsAdded(startIndex, count)#
- Parameters:
startIndex – int
count – int
- rowsChanged(startIndex, count)#
- Parameters:
startIndex – int
count – int
- rowsInserted(startIndex, count)#
- Parameters:
startIndex – int
count – int
- rowsRemoved(startIndex, count)#
- Parameters:
startIndex – int
count – int
- series()#
- Return type:
Getter of property
seriesᅟ
.- seriesChanged(series)#
- Parameters:
series –
QSurface3DSeries
Notification signal of property
seriesᅟ
.- setItem(position, item)#
- Parameters:
position –
QPoint
item –
QSurfaceDataItem
- setItem(rowIndex, columnIndex, item)
- Parameters:
rowIndex – int
columnIndex – int
item –
QSurfaceDataItem
- setRow(rowIndex, row)#
- Parameters:
rowIndex – int
row – .list of QSurfaceDataItem
- setRows(rowIndex, rows)#
- Parameters:
rowIndex – int
rows – .list of list of QSurfaceDataItem