- class QBarDataProxy#
-
Inherited by:
QItemModelBarDataProxy
Synopsis#
Properties#
Methods#
def
__init__()
def
addRow()
def
addRows()
def
array()
def
colCount()
def
columnLabels()
def
insertRow()
def
insertRows()
def
itemAt()
def
removeRows()
def
resetArray()
def
rowAt()
def
rowCount()
def
rowLabels()
def
series()
def
setItem()
def
setRow()
def
setRowLabels()
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 colCountᅟ: int#
- Access functions:
Signal
colCountChanged()
- property columnLabelsᅟ: list of strings#
- Access functions:
- property rowCountᅟ: int#
- Access functions:
Signal
rowCountChanged()
- property rowLabelsᅟ: list of strings#
- Access functions:
- property seriesᅟ: QBar3DSeries#
- Access functions:
Signal
seriesChanged()
- addRow(row)#
- Parameters:
row – .list of QBarDataItem
- Return type:
int
- addRow(row, label)
- Parameters:
row – .list of QBarDataItem
label – str
- Return type:
int
- addRows(rows)#
- Parameters:
rows – .list of list of QBarDataItem
- Return type:
int
- addRows(rows, labels)
- Parameters:
rows – .list of list of QBarDataItem
labels – list of strings
- Return type:
int
- array()#
- Return type:
.list of list of QBarDataItem
- arrayReset()#
- colCount()#
- Return type:
int
Getter of property
colCountᅟ
.- colCountChanged(count)#
- Parameters:
count – int
Notification signal of property
colCountᅟ
.- columnLabels()#
- Return type:
list of strings
Getter of property
columnLabelsᅟ
.- columnLabelsChanged()#
Notification signal of property
columnLabelsᅟ
.- insertRow(rowIndex, row)#
- Parameters:
rowIndex – int
row – .list of QBarDataItem
- insertRow(rowIndex, row, label)
- Parameters:
rowIndex – int
row – .list of QBarDataItem
label – str
- insertRows(rowIndex, rows)#
- Parameters:
rowIndex – int
rows – .list of list of QBarDataItem
- insertRows(rowIndex, rows, labels)
- Parameters:
rowIndex – int
rows – .list of list of QBarDataItem
labels – list of strings
- itemAt(rowIndex, columnIndex)
- Parameters:
rowIndex – int
columnIndex – int
- Return type:
- itemChanged(rowIndex, columnIndex)#
- Parameters:
rowIndex – int
columnIndex – int
- removeRows(rowIndex, removeCount[, removeLabels=true])#
- Parameters:
rowIndex – int
removeCount – int
removeLabels – bool
- resetArray(newArray, rowLabels, columnLabels)#
- Parameters:
newArray – .list of list of QBarDataItem
rowLabels – list of strings
columnLabels – list of strings
- resetArray(newArray)
- Parameters:
newArray – .list of list of QBarDataItem
- resetArray()
- rowAt(rowIndex)#
- Parameters:
rowIndex – int
- Return type:
.list of QBarDataItem
- rowCount()#
- Return type:
int
Getter of property
rowCountᅟ
.- rowCountChanged(count)#
- Parameters:
count – int
Notification signal of property
rowCountᅟ
.- rowLabels()#
- Return type:
list of strings
Getter of property
rowLabelsᅟ
.- rowLabelsChanged()#
Notification signal of property
rowLabelsᅟ
.- 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 –
QBar3DSeries
Notification signal of property
seriesᅟ
.- setColumnLabels(labels)#
- Parameters:
labels – list of strings
Setter of property
columnLabelsᅟ
.- setItem(position, item)#
- Parameters:
position –
QPoint
item –
QBarDataItem
- setItem(rowIndex, columnIndex, item)
- Parameters:
rowIndex – int
columnIndex – int
item –
QBarDataItem
- setRow(rowIndex, row)#
- Parameters:
rowIndex – int
row – .list of QBarDataItem
- setRow(rowIndex, row, label)
- Parameters:
rowIndex – int
row – .list of QBarDataItem
label – str
- setRowLabels(labels)#
- Parameters:
labels – list of strings
Setter of property
rowLabelsᅟ
.- setRows(rowIndex, rows)#
- Parameters:
rowIndex – int
rows – .list of list of QBarDataItem
- setRows(rowIndex, rows, labels)
- Parameters:
rowIndex – int
rows – .list of list of QBarDataItem
labels – list of strings