QtCharts.QPieSlice¶
New in version 5.7.
Synopsis¶
Functions¶
def
angleSpan
()def
borderColor
()def
borderWidth
()def
brush
()def
color
()def
explodeDistanceFactor
()def
isExploded
()def
isLabelVisible
()def
label
()def
labelArmLengthFactor
()def
labelBrush
()def
labelColor
()def
labelFont
()def
labelPosition
()def
pen
()def
percentage
()def
series
()def
setBorderColor
(color)def
setBorderWidth
(width)def
setBrush
(brush)def
setColor
(color)def
setExplodeDistanceFactor
(factor)def
setExploded
([exploded=true])def
setLabel
(label)def
setLabelArmLengthFactor
(factor)def
setLabelBrush
(brush)def
setLabelColor
(color)def
setLabelFont
(font)def
setLabelPosition
(position)def
setLabelVisible
([visible=true])def
setPen
(pen)def
setValue
(value)def
startAngle
()def
value
()
Signals¶
def
angleSpanChanged
()def
borderColorChanged
()def
borderWidthChanged
()def
brushChanged
()def
clicked
()def
colorChanged
()def
doubleClicked
()def
hovered
(state)def
labelBrushChanged
()def
labelChanged
()def
labelColorChanged
()def
labelFontChanged
()def
labelVisibleChanged
()def
penChanged
()def
percentageChanged
()def
pressed
()def
released
()def
startAngleChanged
()def
valueChanged
()
Detailed Description¶
-
class
PySide2.QtCharts.QtCharts.
QPieSlice
([parent=None])¶ PySide2.QtCharts.QtCharts.QPieSlice(label, value[, parent=None])
- Parameters
parent –
QObject
value –
qreal
label – unicode
-
PySide2.QtCharts.QtCharts.QPieSlice.
LabelPosition
¶
-
PySide2.QtCharts.QtCharts.QPieSlice.
angleSpan
()¶ - Return type
qreal
-
PySide2.QtCharts.QtCharts.QPieSlice.
angleSpanChanged
()¶
-
PySide2.QtCharts.QtCharts.QPieSlice.
borderColor
()¶ - Return type
QColor
-
PySide2.QtCharts.QtCharts.QPieSlice.
borderColorChanged
()¶
-
PySide2.QtCharts.QtCharts.QPieSlice.
borderWidth
()¶ - Return type
int
-
PySide2.QtCharts.QtCharts.QPieSlice.
borderWidthChanged
()¶
-
PySide2.QtCharts.QtCharts.QPieSlice.
brush
()¶ - Return type
QBrush
-
PySide2.QtCharts.QtCharts.QPieSlice.
brushChanged
()¶
-
PySide2.QtCharts.QtCharts.QPieSlice.
clicked
()¶
-
PySide2.QtCharts.QtCharts.QPieSlice.
color
()¶ - Return type
QColor
-
PySide2.QtCharts.QtCharts.QPieSlice.
colorChanged
()¶
-
PySide2.QtCharts.QtCharts.QPieSlice.
doubleClicked
()¶
-
PySide2.QtCharts.QtCharts.QPieSlice.
explodeDistanceFactor
()¶ - Return type
qreal
-
PySide2.QtCharts.QtCharts.QPieSlice.
hovered
(state)¶ - Parameters
state –
bool
-
PySide2.QtCharts.QtCharts.QPieSlice.
isExploded
()¶ - Return type
bool
-
PySide2.QtCharts.QtCharts.QPieSlice.
isLabelVisible
()¶ - Return type
bool
-
PySide2.QtCharts.QtCharts.QPieSlice.
label
()¶ - Return type
unicode
-
PySide2.QtCharts.QtCharts.QPieSlice.
labelArmLengthFactor
()¶ - Return type
qreal
-
PySide2.QtCharts.QtCharts.QPieSlice.
labelBrush
()¶ - Return type
QBrush
-
PySide2.QtCharts.QtCharts.QPieSlice.
labelBrushChanged
()¶
-
PySide2.QtCharts.QtCharts.QPieSlice.
labelChanged
()¶
-
PySide2.QtCharts.QtCharts.QPieSlice.
labelColor
()¶ - Return type
QColor
-
PySide2.QtCharts.QtCharts.QPieSlice.
labelColorChanged
()¶
-
PySide2.QtCharts.QtCharts.QPieSlice.
labelFont
()¶ - Return type
QFont
-
PySide2.QtCharts.QtCharts.QPieSlice.
labelFontChanged
()¶
-
PySide2.QtCharts.QtCharts.QPieSlice.
labelPosition
()¶ - Return type
-
PySide2.QtCharts.QtCharts.QPieSlice.
labelVisibleChanged
()¶
-
PySide2.QtCharts.QtCharts.QPieSlice.
pen
()¶ - Return type
QPen
-
PySide2.QtCharts.QtCharts.QPieSlice.
penChanged
()¶
-
PySide2.QtCharts.QtCharts.QPieSlice.
percentage
()¶ - Return type
qreal
-
PySide2.QtCharts.QtCharts.QPieSlice.
percentageChanged
()¶
-
PySide2.QtCharts.QtCharts.QPieSlice.
pressed
()¶
-
PySide2.QtCharts.QtCharts.QPieSlice.
released
()¶
-
PySide2.QtCharts.QtCharts.QPieSlice.
series
()¶ - Return type
QPieSeries
-
PySide2.QtCharts.QtCharts.QPieSlice.
setBorderColor
(color)¶ - Parameters
color –
QColor
-
PySide2.QtCharts.QtCharts.QPieSlice.
setBorderWidth
(width)¶ - Parameters
width –
int
-
PySide2.QtCharts.QtCharts.QPieSlice.
setBrush
(brush)¶ - Parameters
brush –
QBrush
-
PySide2.QtCharts.QtCharts.QPieSlice.
setColor
(color)¶ - Parameters
color –
QColor
-
PySide2.QtCharts.QtCharts.QPieSlice.
setExplodeDistanceFactor
(factor)¶ - Parameters
factor –
qreal
-
PySide2.QtCharts.QtCharts.QPieSlice.
setExploded
([exploded=true])¶ - Parameters
exploded –
bool
-
PySide2.QtCharts.QtCharts.QPieSlice.
setLabel
(label)¶ - Parameters
label – unicode
-
PySide2.QtCharts.QtCharts.QPieSlice.
setLabelArmLengthFactor
(factor)¶ - Parameters
factor –
qreal
-
PySide2.QtCharts.QtCharts.QPieSlice.
setLabelBrush
(brush)¶ - Parameters
brush –
QBrush
-
PySide2.QtCharts.QtCharts.QPieSlice.
setLabelColor
(color)¶ - Parameters
color –
QColor
-
PySide2.QtCharts.QtCharts.QPieSlice.
setLabelFont
(font)¶ - Parameters
font –
QFont
-
PySide2.QtCharts.QtCharts.QPieSlice.
setLabelPosition
(position)¶ - Parameters
position –
LabelPosition
-
PySide2.QtCharts.QtCharts.QPieSlice.
setLabelVisible
([visible=true])¶ - Parameters
visible –
bool
-
PySide2.QtCharts.QtCharts.QPieSlice.
setPen
(pen)¶ - Parameters
pen –
QPen
-
PySide2.QtCharts.QtCharts.QPieSlice.
setValue
(value)¶ - Parameters
value –
qreal
-
PySide2.QtCharts.QtCharts.QPieSlice.
startAngle
()¶ - Return type
qreal
-
PySide2.QtCharts.QtCharts.QPieSlice.
startAngleChanged
()¶
-
PySide2.QtCharts.QtCharts.QPieSlice.
value
()¶ - Return type
qreal
-
PySide2.QtCharts.QtCharts.QPieSlice.
valueChanged
()¶
© 2018 The Qt Company Ltd. Documentation contributions included herein are the copyrights of their respective owners. The documentation provided herein is licensed under the terms of the GNU Free Documentation License version 1.3 as published by the Free Software Foundation. Qt and respective logos are trademarks of The Qt Company Ltd. in Finland and/or other countries worldwide. All other trademarks are property of their respective owners.