PieSlice
Qt Base Class: QPieSlice
Signature: QPieSlice(self, label: str, value: float, parent: Optional[PySide6.QtCore.QObject] = None) -> None
QPieSlice(self, parent: Optional[PySide6.QtCore.QObject] = None) -> None
Base classes
Name | Children | Inherits |
---|---|---|
ObjectMixin prettyqt.core.object |
||
QPieSlice PySide6.QtCharts QPieSlice(self, label: str, value: float, parent: Optional[PySide6.QtCore.QObject] \= None) -> None |
⋔ Inheritance diagram
graph TD
1473367653696["charts.PieSlice"]
1473299815024["core.ObjectMixin"]
140713234304496["builtins.object"]
1473367586352["QtCharts.QPieSlice"]
1473288842240["QtCore.QObject"]
1473291690208["Shiboken.Object"]
1473299815024 --> 1473367653696
140713234304496 --> 1473299815024
1473367586352 --> 1473367653696
1473288842240 --> 1473367586352
1473291690208 --> 1473288842240
140713234304496 --> 1473291690208
🛈 DocStrings
Bases: ObjectMixin
, QPieSlice
Source code in prettyqt\charts\pieslice.py
get_label_position() -> LabelPositionStr
set_label_position(position: LabelPositionStr | QtCharts.QPieSlice.LabelPosition)
Set the label position.
Parameters:
Name | Type | Description | Default |
---|---|---|---|
position |
LabelPositionStr | LabelPosition
|
label position |
required |
⌗ Property table
Qt Property | Type | Doc |
---|---|---|
objectName |
QString | |
label |
QString | |
value |
double | |
labelVisible |
bool | |
labelPosition |
QPieSlice::LabelPosition | |
exploded |
bool | |
pen |
QPen | |
borderColor |
QColor | |
borderWidth |
int | |
brush |
QBrush | |
color |
QColor | |
labelBrush |
QBrush | |
labelColor |
QColor | |
labelFont |
QFont | |
labelArmLengthFactor |
double | |
explodeDistanceFactor |
double | |
percentage |
double | |
startAngle |
double | |
angleSpan |
double |