class QBarSet

Inheritance diagram of PySide6.QtGraphs.QBarSet

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 borderColorᅟ: QColor
Access functions:
property brushᅟ: QBrush
Access functions:
property colorᅟ: QColor
Access functions:
property labelᅟ: str
Access functions:
property labelBrushᅟ: QBrush
Access functions:
property labelColorᅟ: QColor
Access functions:
property labelFontᅟ: QFont
Access functions:
property penᅟ: QPen
Access functions:
__init__(label[, parent=None])
Parameters:
append(values)
Parameters:

values – .list of qreal

append(value)
Parameters:

value – float

at(index)
Parameters:

index – int

Return type:

float

borderColor()
Return type:

QColor

Getter of property borderColorᅟ .

borderColorChanged(color)
Parameters:

colorQColor

Notification signal of property borderColorᅟ .

brush()
Return type:

QBrush

Getter of property brushᅟ .

brushChanged()

Notification signal of property brushᅟ .

clicked(index)
Parameters:

index – int

color()
Return type:

QColor

Getter of property colorᅟ .

colorChanged(color)
Parameters:

colorQColor

Notification signal of property colorᅟ .

count()
Return type:

int

deselectAllBars()
deselectBar(index)
Parameters:

index – int

deselectBars(indexes)
Parameters:

indexes – .list of int

doubleClicked(index)
Parameters:

index – int

hovered(status, index)
Parameters:
  • status – bool

  • index – int

insert(index, value)
Parameters:
  • index – int

  • value – float

isBarSelected(index)
Parameters:

index – int

Return type:

bool

label()
Return type:

str

Getter of property labelᅟ .

labelBrush()
Return type:

QBrush

Getter of property labelBrushᅟ .

labelBrushChanged()

Notification signal of property labelBrushᅟ .

labelChanged()

Notification signal of property labelᅟ .

labelColor()
Return type:

QColor

Getter of property labelColorᅟ .

labelColorChanged(color)
Parameters:

colorQColor

Notification signal of property labelColorᅟ .

labelFont()
Return type:

QFont

Getter of property labelFontᅟ .

labelFontChanged()

Notification signal of property labelFontᅟ .

operator(index)
Parameters:

index – int

Return type:

float

pen()
Return type:

QPen

Getter of property penᅟ .

penChanged()

Notification signal of property penᅟ .

pressed(index)
Parameters:

index – int

released(index)
Parameters:

index – int

remove(index[, count=1])
Parameters:
  • index – int

  • count – int

replace(index, value)
Parameters:
  • index – int

  • value – float

selectAllBars()
selectBar(index)
Parameters:

index – int

selectBars(indexes)
Parameters:

indexes – .list of int

selectedBars()
Return type:

.list of int

selectedBarsChanged(indexes)
Parameters:

indexes – .list of int

selectedColor()
Return type:

QColor

selectedColorChanged(color)
Parameters:

colorQColor

setBarSelected(index, selected)
Parameters:
  • index – int

  • selected – bool

setBorderColor(color)
Parameters:

colorQColor

Setter of property borderColorᅟ .

setBrush(brush)
Parameters:

brushQBrush

Setter of property brushᅟ .

setColor(color)
Parameters:

colorQColor

Setter of property colorᅟ .

setLabel(label)
Parameters:

label – str

Setter of property labelᅟ .

setLabelBrush(brush)
Parameters:

brushQBrush

Setter of property labelBrushᅟ .

setLabelColor(color)
Parameters:

colorQColor

Setter of property labelColorᅟ .

setLabelFont(font)
Parameters:

fontQFont

Setter of property labelFontᅟ .

setPen(pen)
Parameters:

penQPen

Setter of property penᅟ .

setSelectedColor(color)
Parameters:

colorQColor

sum()
Return type:

float

toggleSelection(indexes)
Parameters:

indexes – .list of int

valueChanged(index)
Parameters:

index – int

valuesAdded(index, count)
Parameters:
  • index – int

  • count – int

valuesRemoved(index, count)
Parameters:
  • index – int

  • count – int