class QBarDataProxy#

Inheritance diagram of PySide6.QtGraphs.QBarDataProxy

Inherited by: QItemModelBarDataProxy

Synopsis#

Properties#

Methods#

Signals#

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:
property columnLabelsᅟ: list of strings#
Access functions:
property rowCountᅟ: int#
Access functions:
property rowLabelsᅟ: list of strings#
Access functions:
property seriesᅟ: QBar3DSeries#
Access functions:
__init__([parent=None])#
Parameters:

parentQObject

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(position)#
Parameters:

positionQPoint

Return type:

QBarDataItem

itemAt(rowIndex, columnIndex)
Parameters:
  • rowIndex – int

  • columnIndex – int

Return type:

QBarDataItem

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:

QBar3DSeries

Getter of property seriesᅟ .

seriesChanged(series)#
Parameters:

seriesQBar3DSeries

Notification signal of property seriesᅟ .

setColumnLabels(labels)#
Parameters:

labels – list of strings

Setter of property columnLabelsᅟ .

setItem(position, item)#
Parameters:
setItem(rowIndex, columnIndex, item)
Parameters:
  • rowIndex – int

  • columnIndex – int

  • itemQBarDataItem

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