PySide6.QtCharts.QLegend¶
- class QLegend¶
-
Synopsis¶
Properties¶
Methods¶
def
alignment()
def
attachToChart()
def
borderColor()
def
brush()
def
color()
def
isInteractive()
def
labelBrush()
def
labelColor()
def
markerShape()
def
markers()
def
pen()
def
reverseMarkers()
def
setAlignment()
def
setBorderColor()
def
setBrush()
def
setColor()
def
setInteractive()
def
setLabelBrush()
def
setLabelColor()
def
setMarkerShape()
def
setPen()
def
showToolTips()
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 MarkerShape¶
Note
Properties can be used directly when
from __feature__ import true_property
is used or via accessor functions otherwise.- property alignmentᅟ: Combination of Qt.AlignmentFlag¶
- Access functions:
- property backgroundVisibleᅟ: bool¶
- Access functions:
- Access functions:
- Access functions:
Signal
colorChanged()
- Access functions:
Signal
fontChanged()
- Access functions:
- property markerShapeᅟ: QLegend.MarkerShape¶
- Access functions:
- property reverseMarkersᅟ: bool¶
- Access functions:
- property showToolTipsᅟ: bool¶
- Access functions:
- alignment()¶
- Return type:
Combination of
AlignmentFlag
Getter of property
alignmentᅟ
.- attachToChart()¶
- attachedToChartChanged(attachedToChart)¶
- Parameters:
attachedToChart – bool
- backgroundVisibleChanged(visible)¶
- Parameters:
visible – bool
Notification signal of property
backgroundVisibleᅟ
.Getter of property
borderColorᅟ
.Notification signal of property
borderColorᅟ
.Getter of property
colorᅟ
.Notification signal of property
colorᅟ
.- detachFromChart()¶
Notification signal of property
fontᅟ
.- interactiveChanged(interactive)¶
- Parameters:
interactive – bool
- isAttachedToChart()¶
- Return type:
bool
- isBackgroundVisible()¶
- Return type:
bool
Getter of property
backgroundVisibleᅟ
.- isInteractive()¶
- Return type:
bool
Getter of property
labelColorᅟ
.Notification signal of property
labelColorᅟ
.- markerShape()¶
- Return type:
Getter of property
markerShapeᅟ
.- markerShapeChanged(shape)¶
- Parameters:
shape –
MarkerShape
Notification signal of property
markerShapeᅟ
.- markers()¶
- Return type:
.list of QLegendMarker
- reverseMarkers()¶
- Return type:
bool
Getter of property
reverseMarkersᅟ
.- reverseMarkersChanged(reverseMarkers)¶
- Parameters:
reverseMarkers – bool
Notification signal of property
reverseMarkersᅟ
.- setAlignment(alignment)¶
- Parameters:
alignment – Combination of
AlignmentFlag
Setter of property
alignmentᅟ
.- setBackgroundVisible([visible=true])¶
- Parameters:
visible – bool
Setter of property
backgroundVisibleᅟ
.Setter of property
borderColorᅟ
.Setter of property
colorᅟ
.- setInteractive(interactive)¶
- Parameters:
interactive – bool
Setter of property
labelColorᅟ
.- setMarkerShape(shape)¶
- Parameters:
shape –
MarkerShape
Setter of property
markerShapeᅟ
.- setReverseMarkers([reverseMarkers=true])¶
- Parameters:
reverseMarkers – bool
Setter of property
reverseMarkersᅟ
.- setShowToolTips(show)¶
- Parameters:
show – bool
Setter of property
showToolTipsᅟ
.- showToolTips()¶
- Return type:
bool
Getter of property
showToolTipsᅟ
.- showToolTipsChanged(showToolTips)¶
- Parameters:
showToolTips – bool
Notification signal of property
showToolTipsᅟ
.