- class QPieSlice¶
-
Added in version 6.8.
Synopsis¶
Properties¶
Methods¶
def
__init__()
def
angleSpan()
def
borderColor()
def
borderWidth()
def
brush()
def
color()
def
isExploded()
def
isLabelVisible()
def
label()
def
labelBrush()
def
labelColor()
def
labelFont()
def
pen()
def
percentage()
def
setBorderColor()
def
setBorderWidth()
def
setBrush()
def
setColor()
def
setExploded()
def
setLabel()
def
setLabelBrush()
def
setLabelColor()
def
setLabelFont()
def
setPen()
def
setValue()
def
startAngle()
def
value()
Signals¶
def
brushChanged()
def
clicked()
def
colorChanged()
def
doubleClicked()
def
hovered()
def
labelChanged()
def
penChanged()
def
pressed()
def
released()
def
valueChanged()
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:
Signal
angleSpanChanged()
- Access functions:
- property borderWidthᅟ: int¶
- Access functions:
- Access functions:
Signal
brushChanged()
- Access functions:
Signal
colorChanged()
- property explodeDistanceFactorᅟ: float¶
- Access functions:
- property explodedᅟ: bool¶
- Access functions:
- property labelᅟ: str¶
- Access functions:
Signal
labelChanged()
- property labelArmLengthFactorᅟ: float¶
- Access functions:
- Access functions:
- Access functions:
- Access functions:
- property labelPositionᅟ: QPieSlice.LabelPosition¶
Access functions:
- property labelVisibleᅟ: bool¶
- Access functions:
- Access functions:
Signal
penChanged()
- property percentageᅟ: float¶
- Access functions:
Signal
percentageChanged()
- property startAngleᅟ: float¶
- Access functions:
Signal
startAngleChanged()
- property valueᅟ: float¶
- Access functions:
Signal
valueChanged()
- __init__(label, value[, parent=None])
- Parameters:
label – str
value – float
parent –
QObject
- angleSpan()¶
- Return type:
float
Getter of property
angleSpanᅟ
.- angleSpanChanged()¶
Notification signal of property
angleSpanᅟ
.Getter of property
borderColorᅟ
.- borderColorChanged()¶
Notification signal of property
borderColorᅟ
.- borderWidth()¶
- Return type:
int
Getter of property
borderWidthᅟ
.- borderWidthChanged()¶
Notification signal of property
borderWidthᅟ
.Getter of property
brushᅟ
.- brushChanged()¶
Notification signal of property
brushᅟ
.- clicked()¶
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ᅟ
.Getter of property
labelBrushᅟ
.- labelBrushChanged()¶
Notification signal of property
labelBrushᅟ
.- labelChanged()¶
Notification signal of property
labelᅟ
.Getter of property
labelColorᅟ
.- labelColorChanged()¶
Notification signal of property
labelColorᅟ
.Getter of property
labelFontᅟ
.- labelFontChanged()¶
Notification signal of property
labelFontᅟ
.- labelVisibleChanged()¶
Notification signal of property
labelVisibleᅟ
.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()¶
Setter of property
borderColorᅟ
.- setBorderWidth(width)¶
- Parameters:
width – int
Setter of property
borderWidthᅟ
.Setter of property
brushᅟ
.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ᅟ
.Setter of property
labelBrushᅟ
.Setter of property
labelColorᅟ
.Setter of property
labelFontᅟ
.- setLabelVisible([visible=true])¶
- Parameters:
visible – bool
Setter of property
labelVisibleᅟ
.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ᅟ
.