class QPieSeries

Inheritance diagram of PySide6.QtCharts.QPieSeries

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 countᅟ: int
Access functions:
property endAngleᅟ: float
Access functions:
property holeSizeᅟ: float
Access functions:
property horizontalPositionᅟ: float
Access functions:
property sizeᅟ: float
Access functions:
property startAngleᅟ: float
Access functions:
property sumᅟ: float
Access functions:
property verticalPositionᅟ: float
Access functions:
__init__([parent=None])
Parameters:

parentQObject

added(slices)
Parameters:

slices – .list of QPieSlice

append(slice)
Parameters:

sliceQPieSlice

Return type:

bool

append(slices)
Parameters:

slices – .list of QPieSlice

Return type:

bool

append(label, value)
Parameters:
  • label – str

  • value – float

Return type:

QPieSlice

clear()
clicked(slice)
Parameters:

sliceQPieSlice

count()
Return type:

int

Getter of property countᅟ .

countChanged()

Notification signal of property countᅟ .

doubleClicked(slice)
Parameters:

sliceQPieSlice

holeSize()
Return type:

float

Getter of property holeSizeᅟ .

horizontalPosition()
Return type:

float

Getter of property horizontalPositionᅟ .

hovered(slice, state)
Parameters:
insert(index, slice)
Parameters:
Return type:

bool

isEmpty()
Return type:

bool

__lshift__(slice)
Parameters:

sliceQPieSlice

Return type:

QPieSeries

pieEndAngle()
Return type:

float

Getter of property endAngleᅟ .

pieSize()
Return type:

float

Getter of property sizeᅟ .

pieStartAngle()
Return type:

float

Getter of property startAngleᅟ .

pressed(slice)
Parameters:

sliceQPieSlice

released(slice)
Parameters:

sliceQPieSlice

remove(slice)
Parameters:

sliceQPieSlice

Return type:

bool

removed(slices)
Parameters:

slices – .list of QPieSlice

setHoleSize(holeSize)
Parameters:

holeSize – float

Setter of property holeSizeᅟ .

setHorizontalPosition(relativePosition)
Parameters:

relativePosition – float

Setter of property horizontalPositionᅟ .

setLabelsPosition(position)
Parameters:

positionLabelPosition

setLabelsVisible([visible=true])
Parameters:

visible – bool

setPieEndAngle(endAngle)
Parameters:

endAngle – float

Setter of property endAngleᅟ .

setPieSize(relativeSize)
Parameters:

relativeSize – float

Setter of property sizeᅟ .

setPieStartAngle(startAngle)
Parameters:

startAngle – float

Setter of property startAngleᅟ .

setVerticalPosition(relativePosition)
Parameters:

relativePosition – float

Setter of property verticalPositionᅟ .

slices()
Return type:

.list of QPieSlice

sum()
Return type:

float

Getter of property sumᅟ .

sumChanged()

Notification signal of property sumᅟ .

take(slice)
Parameters:

sliceQPieSlice

Return type:

bool

verticalPosition()
Return type:

float

Getter of property verticalPositionᅟ .