- class QBarSet¶
-
Synopsis¶
Properties¶
Methods¶
def
__init__()
def
append()
def
at()
def
borderColor()
def
brush()
def
color()
def
count()
def
deselectBar()
def
deselectBars()
def
insert()
def
isBarSelected()
def
label()
def
labelBrush()
def
labelColor()
def
labelFont()
def
operator[]()
def
pen()
def
remove()
def
replace()
def
selectAllBars()
def
selectBar()
def
selectBars()
def
selectedBars()
def
selectedColor()
def
setBarSelected()
def
setBorderColor()
def
setBrush()
def
setColor()
def
setLabel()
def
setLabelBrush()
def
setLabelColor()
def
setLabelFont()
def
setPen()
def
sum()
Signals¶
def
brushChanged()
def
clicked()
def
colorChanged()
def
doubleClicked()
def
hovered()
def
labelChanged()
def
penChanged()
def
pressed()
def
released()
def
valueChanged()
def
valuesAdded()
def
valuesRemoved()
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.- Access functions:
- Access functions:
Signal
brushChanged()
- Access functions:
Signal
colorChanged()
- property labelᅟ: str¶
- Access functions:
Signal
labelChanged()
- Access functions:
- Access functions:
- Access functions:
- Access functions:
Signal
penChanged()
- append(values)¶
- Parameters:
values – .list of qreal
- append(value)
- Parameters:
value – float
- at(index)¶
- Parameters:
index – int
- Return type:
float
Getter of property
borderColorᅟ
.Notification signal of property
borderColorᅟ
.Getter of property
brushᅟ
.- brushChanged()¶
Notification signal of property
brushᅟ
.- clicked(index)¶
- Parameters:
index – int
Getter of property
colorᅟ
.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ᅟ
.Getter of property
labelBrushᅟ
.- labelBrushChanged()¶
Notification signal of property
labelBrushᅟ
.- labelChanged()¶
Notification signal of property
labelᅟ
.Getter of property
labelColorᅟ
.Notification signal of property
labelColorᅟ
.Getter of property
labelFontᅟ
.- labelFontChanged()¶
Notification signal of property
labelFontᅟ
.- operator(index)¶
- Parameters:
index – int
- Return type:
float
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
- setBarSelected(index, selected)¶
- Parameters:
index – int
selected – bool
Setter of property
borderColorᅟ
.Setter of property
brushᅟ
.Setter of property
colorᅟ
.- setLabel(label)¶
- Parameters:
label – str
Setter of property
labelᅟ
.Setter of property
labelBrushᅟ
.Setter of property
labelColorᅟ
.Setter of property
labelFontᅟ
.Setter of property
penᅟ
.- 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