class QPieSlice

Inheritance diagram of PySide6.QtCharts.QPieSlice

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

class LabelPosition

Note

Properties can be used directly when from __feature__ import true_property is used or via accessor functions otherwise.

property angleSpanᅟ: float
Access functions:
property borderColorᅟ: QColor
Access functions:
property borderWidthᅟ: int
Access functions:
property brushᅟ: QBrush
Access functions:
property colorᅟ: QColor
Access functions:
property explodeDistanceFactorᅟ: float
Access functions:
property explodedᅟ: bool
Access functions:
property labelᅟ: str
Access functions:
property labelArmLengthFactorᅟ: float
Access functions:
property labelBrushᅟ: QBrush
Access functions:
property labelColorᅟ: QColor
Access functions:
property labelFontᅟ: QFont
Access functions:
property labelPositionᅟ: QPieSlice.LabelPosition
Access functions:
property labelVisibleᅟ: bool
Access functions:
property penᅟ: QPen
Access functions:
property percentageᅟ: float
Access functions:
property startAngleᅟ: float
Access functions:
property valueᅟ: float
Access functions:
__init__([parent=None])
Parameters:

parentQObject

__init__(label, value[, parent=None])
Parameters:
  • label – str

  • value – float

  • parentQObject

angleSpan()
Return type:

float

Getter of property angleSpanᅟ .

angleSpanChanged()

Notification signal of property angleSpanᅟ .

borderColor()
Return type:

QColor

Getter of property borderColorᅟ .

borderColorChanged()

Notification signal of property borderColorᅟ .

borderWidth()
Return type:

int

Getter of property borderWidthᅟ .

borderWidthChanged()

Notification signal of property borderWidthᅟ .

brush()
Return type:

QBrush

Getter of property brushᅟ .

brushChanged()

Notification signal of property brushᅟ .

clicked()
color()
Return type:

QColor

Getter of property colorᅟ .

colorChanged()

Notification signal of property colorᅟ .

doubleClicked()
explodeDistanceFactor()
Return type:

float

Getter of property explodeDistanceFactorᅟ .

hovered(state)
Parameters:

state – bool

isExploded()
Return type:

bool

Getter of property explodedᅟ .

isLabelVisible()
Return type:

bool

Getter of property labelVisibleᅟ .

label()
Return type:

str

Getter of property labelᅟ .

labelArmLengthFactor()
Return type:

float

Getter of property labelArmLengthFactorᅟ .

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()

Notification signal of property labelColorᅟ .

labelFont()
Return type:

QFont

Getter of property labelFontᅟ .

labelFontChanged()

Notification signal of property labelFontᅟ .

labelPosition()
Return type:

LabelPosition

Getter of property labelPositionᅟ .

labelVisibleChanged()

Notification signal of property labelVisibleᅟ .

pen()
Return type:

QPen

Getter of property penᅟ .

penChanged()

Notification signal of property penᅟ .

percentage()
Return type:

float

Getter of property percentageᅟ .

percentageChanged()

Notification signal of property percentageᅟ .

pressed()
released()
series()
Return type:

QPieSeries

setBorderColor(color)
Parameters:

colorQColor

Setter of property borderColorᅟ .

setBorderWidth(width)
Parameters:

width – int

Setter of property borderWidthᅟ .

setBrush(brush)
Parameters:

brushQBrush

Setter of property brushᅟ .

setColor(color)
Parameters:

colorQColor

Setter of property colorᅟ .

setExplodeDistanceFactor(factor)
Parameters:

factor – float

Setter of property explodeDistanceFactorᅟ .

setExploded([exploded=true])
Parameters:

exploded – bool

Setter of property explodedᅟ .

setLabel(label)
Parameters:

label – str

Setter of property labelᅟ .

setLabelArmLengthFactor(factor)
Parameters:

factor – float

Setter of property labelArmLengthFactorᅟ .

setLabelBrush(brush)
Parameters:

brushQBrush

Setter of property labelBrushᅟ .

setLabelColor(color)
Parameters:

colorQColor

Setter of property labelColorᅟ .

setLabelFont(font)
Parameters:

fontQFont

Setter of property labelFontᅟ .

setLabelPosition(position)
Parameters:

positionLabelPosition

Setter of property labelPositionᅟ .

setLabelVisible([visible=true])
Parameters:

visible – bool

Setter of property labelVisibleᅟ .

setPen(pen)
Parameters:

penQPen

Setter of property penᅟ .

setValue(value)
Parameters:

value – float

Setter of property valueᅟ .

startAngle()
Return type:

float

Getter of property startAngleᅟ .

startAngleChanged()

Notification signal of property startAngleᅟ .

value()
Return type:

float

Getter of property valueᅟ .

valueChanged()

Notification signal of property valueᅟ .