builtins.object Object QGraphicsLayoutItem builtins.object Object QObject builtins.object Object QGraphicsItem QGraphicsObject QGraphicsWidget QLegend
class QLegend(QGraphicsWidget):
Signature du constructeur | Description |
---|---|
__new__(*args, **kwargs) | Create and return a new object. See help(type) for accurate signature. [extrait de __new__.__doc__] |
__init__(self, parent: Optional[PySide6.QtWidgets.QGraphicsItem] = None, wFlags: PySide6.QtCore.Qt.WindowFlags = Default(Qt.WindowFlags)) -> None | __init__(self, parent: Optional[PySide6.QtWidgets.QGraphicsItem] = None, wFlags: PySide6.QtCore.Qt.WindowFlags = Default(Qt.WindowFlags)) -> None [extrait de __init__.__doc__] |
Nom de l'attribut | Valeur |
---|---|
DeviceCoordinateCache | PySide6.QtWidgets.QGraphicsItem.CacheMode.DeviceCoordinateCache |
ItemAcceptsInputMethod | PySide6.QtWidgets.QGraphicsItem.GraphicsItemFlag.ItemAcceptsInputMethod |
ItemChildAddedChange | PySide6.QtWidgets.QGraphicsItem.GraphicsItemChange.ItemChildAddedChange |
ItemChildRemovedChange | PySide6.QtWidgets.QGraphicsItem.GraphicsItemChange.ItemChildRemovedChange |
ItemClipsChildrenToShape | PySide6.QtWidgets.QGraphicsItem.GraphicsItemFlag.ItemClipsChildrenToShape |
ItemClipsToShape | PySide6.QtWidgets.QGraphicsItem.GraphicsItemFlag.ItemClipsToShape |
ItemContainsChildrenInShape | PySide6.QtWidgets.QGraphicsItem.GraphicsItemFlag.ItemContainsChildrenInShape |
ItemCoordinateCache | PySide6.QtWidgets.QGraphicsItem.CacheMode.ItemCoordinateCache |
ItemCursorChange | PySide6.QtWidgets.QGraphicsItem.GraphicsItemChange.ItemCursorChange |
ItemCursorHasChanged | PySide6.QtWidgets.QGraphicsItem.GraphicsItemChange.ItemCursorHasChanged |
ItemDoesntPropagateOpacityToChildren | PySide6.QtWidgets.QGraphicsItem.GraphicsItemFlag.ItemDoesntPropagateOpacityToChildren |
ItemEnabledChange | PySide6.QtWidgets.QGraphicsItem.GraphicsItemChange.ItemEnabledChange |
ItemEnabledHasChanged | PySide6.QtWidgets.QGraphicsItem.GraphicsItemChange.ItemEnabledHasChanged |
ItemFlagsChange | PySide6.QtWidgets.QGraphicsItem.GraphicsItemChange.ItemFlagsChange |
ItemFlagsHaveChanged | PySide6.QtWidgets.QGraphicsItem.GraphicsItemChange.ItemFlagsHaveChanged |
ItemHasNoContents | PySide6.QtWidgets.QGraphicsItem.GraphicsItemFlag.ItemHasNoContents |
ItemIgnoresParentOpacity | PySide6.QtWidgets.QGraphicsItem.GraphicsItemFlag.ItemIgnoresParentOpacity |
ItemIgnoresTransformations | PySide6.QtWidgets.QGraphicsItem.GraphicsItemFlag.ItemIgnoresTransformations |
ItemIsFocusable | PySide6.QtWidgets.QGraphicsItem.GraphicsItemFlag.ItemIsFocusable |
ItemIsFocusScope | PySide6.QtWidgets.QGraphicsItem.GraphicsItemFlag.ItemIsFocusScope |
ItemIsMovable | PySide6.QtWidgets.QGraphicsItem.GraphicsItemFlag.ItemIsMovable |
ItemIsPanel | PySide6.QtWidgets.QGraphicsItem.GraphicsItemFlag.ItemIsPanel |
ItemIsSelectable | PySide6.QtWidgets.QGraphicsItem.GraphicsItemFlag.ItemIsSelectable |
ItemNegativeZStacksBehindParent | PySide6.QtWidgets.QGraphicsItem.GraphicsItemFlag.ItemNegativeZStacksBehindParent |
ItemOpacityChange | PySide6.QtWidgets.QGraphicsItem.GraphicsItemChange.ItemOpacityChange |
ItemOpacityHasChanged | PySide6.QtWidgets.QGraphicsItem.GraphicsItemChange.ItemOpacityHasChanged |
ItemParentChange | PySide6.QtWidgets.QGraphicsItem.GraphicsItemChange.ItemParentChange |
ItemParentHasChanged | PySide6.QtWidgets.QGraphicsItem.GraphicsItemChange.ItemParentHasChanged |
ItemPositionChange | PySide6.QtWidgets.QGraphicsItem.GraphicsItemChange.ItemPositionChange |
ItemPositionHasChanged | PySide6.QtWidgets.QGraphicsItem.GraphicsItemChange.ItemPositionHasChanged |
ItemRotationChange | PySide6.QtWidgets.QGraphicsItem.GraphicsItemChange.ItemRotationChange |
ItemRotationHasChanged | PySide6.QtWidgets.QGraphicsItem.GraphicsItemChange.ItemRotationHasChanged |
ItemScaleChange | PySide6.QtWidgets.QGraphicsItem.GraphicsItemChange.ItemScaleChange |
ItemScaleHasChanged | PySide6.QtWidgets.QGraphicsItem.GraphicsItemChange.ItemScaleHasChanged |
ItemSceneChange | PySide6.QtWidgets.QGraphicsItem.GraphicsItemChange.ItemSceneChange |
ItemSceneHasChanged | PySide6.QtWidgets.QGraphicsItem.GraphicsItemChange.ItemSceneHasChanged |
ItemScenePositionHasChanged | PySide6.QtWidgets.QGraphicsItem.GraphicsItemChange.ItemScenePositionHasChanged |
ItemSelectedChange | PySide6.QtWidgets.QGraphicsItem.GraphicsItemChange.ItemSelectedChange |
ItemSelectedHasChanged | PySide6.QtWidgets.QGraphicsItem.GraphicsItemChange.ItemSelectedHasChanged |
ItemSendsGeometryChanges | PySide6.QtWidgets.QGraphicsItem.GraphicsItemFlag.ItemSendsGeometryChanges |
ItemSendsScenePositionChanges | PySide6.QtWidgets.QGraphicsItem.GraphicsItemFlag.ItemSendsScenePositionChanges |
ItemStacksBehindParent | PySide6.QtWidgets.QGraphicsItem.GraphicsItemFlag.ItemStacksBehindParent |
ItemStopsClickFocusPropagation | PySide6.QtWidgets.QGraphicsItem.GraphicsItemFlag.ItemStopsClickFocusPropagation |
ItemStopsFocusHandling | PySide6.QtWidgets.QGraphicsItem.GraphicsItemFlag.ItemStopsFocusHandling |
ItemToolTipChange | PySide6.QtWidgets.QGraphicsItem.GraphicsItemChange.ItemToolTipChange |
ItemToolTipHasChanged | PySide6.QtWidgets.QGraphicsItem.GraphicsItemChange.ItemToolTipHasChanged |
ItemTransformChange | PySide6.QtWidgets.QGraphicsItem.GraphicsItemChange.ItemTransformChange |
ItemTransformHasChanged | PySide6.QtWidgets.QGraphicsItem.GraphicsItemChange.ItemTransformHasChanged |
ItemTransformOriginPointChange | PySide6.QtWidgets.QGraphicsItem.GraphicsItemChange.ItemTransformOriginPointChange |
ItemTransformOriginPointHasChanged | PySide6.QtWidgets.QGraphicsItem.GraphicsItemChange.ItemTransformOriginPointHasChanged |
ItemUsesExtendedStyleOption | PySide6.QtWidgets.QGraphicsItem.GraphicsItemFlag.ItemUsesExtendedStyleOption |
ItemVisibleChange | PySide6.QtWidgets.QGraphicsItem.GraphicsItemChange.ItemVisibleChange |
ItemVisibleHasChanged | PySide6.QtWidgets.QGraphicsItem.GraphicsItemChange.ItemVisibleHasChanged |
ItemZValueChange | PySide6.QtWidgets.QGraphicsItem.GraphicsItemChange.ItemZValueChange |
ItemZValueHasChanged | PySide6.QtWidgets.QGraphicsItem.GraphicsItemChange.ItemZValueHasChanged |
MarkerShapeCircle | PySide6.QtCharts.QLegend.MarkerShape.MarkerShapeCircle |
MarkerShapeDefault | PySide6.QtCharts.QLegend.MarkerShape.MarkerShapeDefault |
MarkerShapeFromSeries | PySide6.QtCharts.QLegend.MarkerShape.MarkerShapeFromSeries |
MarkerShapePentagon | PySide6.QtCharts.QLegend.MarkerShape.MarkerShapePentagon |
MarkerShapeRectangle | PySide6.QtCharts.QLegend.MarkerShape.MarkerShapeRectangle |
MarkerShapeRotatedRectangle | PySide6.QtCharts.QLegend.MarkerShape.MarkerShapeRotatedRectangle |
MarkerShapeStar | PySide6.QtCharts.QLegend.MarkerShape.MarkerShapeStar |
MarkerShapeTriangle | PySide6.QtCharts.QLegend.MarkerShape.MarkerShapeTriangle |
NoCache | PySide6.QtWidgets.QGraphicsItem.CacheMode.NoCache |
NonModal | PySide6.QtWidgets.QGraphicsItem.PanelModality.NonModal |
PanelModal | PySide6.QtWidgets.QGraphicsItem.PanelModality.PanelModal |
SceneModal | PySide6.QtWidgets.QGraphicsItem.PanelModality.SceneModal |
staticMetaObject | <PySide6.QtCore.QMetaObject object at 0x7f40dfd00f40> |
UserExtension | PySide6.QtWidgets.QGraphicsItem.Extension.UserExtension |
UserType | 65536 |
Signature de la méthode | Description |
---|---|
__delattr__(self, name) | Implement delattr(self, name). [extrait de __delattr__.__doc__] |
__setattr__(self, name, value) | Implement setattr(self, name, value). [extrait de __setattr__.__doc__] |
alignment(self) -> PySide6.QtCore.Qt.Alignment | alignment(self) -> PySide6.QtCore.Qt.Alignment [extrait de alignment.__doc__] |
attachedToChartChanged | |
attachToChart(self) -> None | attachToChart(self) -> None [extrait de attachToChart.__doc__] |
backgroundVisibleChanged | |
borderColor(self) -> PySide6.QtGui.QColor | borderColor(self) -> PySide6.QtGui.QColor [extrait de borderColor.__doc__] |
borderColorChanged | |
brush(self) -> PySide6.QtGui.QBrush | brush(self) -> PySide6.QtGui.QBrush [extrait de brush.__doc__] |
childrenChanged | |
color(self) -> PySide6.QtGui.QColor | color(self) -> PySide6.QtGui.QColor [extrait de color.__doc__] |
colorChanged | |
destroyed | |
detachFromChart(self) -> None | detachFromChart(self) -> None [extrait de detachFromChart.__doc__] |
enabledChanged | |
font(self) -> PySide6.QtGui.QFont | font(self) -> PySide6.QtGui.QFont [extrait de font.__doc__] |
fontChanged | |
geometryChanged | |
heightChanged | |
hideEvent(self, event: PySide6.QtGui.QHideEvent) -> None | hideEvent(self, event: PySide6.QtGui.QHideEvent) -> None [extrait de hideEvent.__doc__] |
interactiveChanged | |
isAttachedToChart(self) -> bool | isAttachedToChart(self) -> bool [extrait de isAttachedToChart.__doc__] |
isBackgroundVisible(self) -> bool | isBackgroundVisible(self) -> bool [extrait de isBackgroundVisible.__doc__] |
isInteractive(self) -> bool | isInteractive(self) -> bool [extrait de isInteractive.__doc__] |
labelBrush(self) -> PySide6.QtGui.QBrush | labelBrush(self) -> PySide6.QtGui.QBrush [extrait de labelBrush.__doc__] |
labelColor(self) -> PySide6.QtGui.QColor | labelColor(self) -> PySide6.QtGui.QColor [extrait de labelColor.__doc__] |
labelColorChanged | |
layoutChanged | |
markers(self, series: Optional[PySide6.QtCharts.QAbstractSeries] = None) -> List[PySide6.QtCharts.QLegendMarker] | markers(self, series: Optional[PySide6.QtCharts.QAbstractSeries] = None) -> List[PySide6.QtCharts.QLegendMarker] [extrait de markers.__doc__] |
MarkerShape | |
markerShape(self) -> PySide6.QtCharts.QLegend.MarkerShape | markerShape(self) -> PySide6.QtCharts.QLegend.MarkerShape [extrait de markerShape.__doc__] |
markerShapeChanged | |
objectNameChanged | |
opacityChanged | |
paint(self, painter: PySide6.QtGui.QPainter, option: PySide6.QtWidgets.QStyleOptionGraphicsItem, widget: Optional[PySide6.QtWidgets.QWidget] = None) -> None | paint(self, painter: PySide6.QtGui.QPainter, option: PySide6.QtWidgets.QStyleOptionGraphicsItem, widget: Optional[PySide6.QtWidgets.QWidget] = None) -> None [extrait de paint.__doc__] |
parentChanged | |
pen(self) -> PySide6.QtGui.QPen | pen(self) -> PySide6.QtGui.QPen [extrait de pen.__doc__] |
reverseMarkers(self) -> bool | reverseMarkers(self) -> bool [extrait de reverseMarkers.__doc__] |
reverseMarkersChanged | |
rotationChanged | |
scaleChanged | |
setAlignment(self, alignment: PySide6.QtCore.Qt.Alignment) -> None | setAlignment(self, alignment: PySide6.QtCore.Qt.Alignment) -> None [extrait de setAlignment.__doc__] |
setBackgroundVisible(self, visible: bool = True) -> None | setBackgroundVisible(self, visible: bool = True) -> None [extrait de setBackgroundVisible.__doc__] |
setBorderColor(self, color: Union[PySide6.QtGui.QColor, PySide6.QtGui.QRgba64, Any, PySide6.QtCore.Qt.GlobalColor, str, int]) -> None | setBorderColor(self, color: Union[PySide6.QtGui.QColor, PySide6.QtGui.QRgba64, Any, PySide6.QtCore.Qt.GlobalColor, str, int]) -> None [extrait de setBorderColor.__doc__] |
setBrush(self, brush: Union[PySide6.QtGui.QBrush, PySide6.QtCore.Qt.BrushStyle, PySide6.QtCore.Qt.GlobalColor, PySide6.QtGui.QColor, PySide6.QtGui.QGradient, PySide6.QtGui.QImage, PySide6.QtGui.QPixmap]) -> None | setBrush(self, brush: Union[PySide6.QtGui.QBrush, PySide6.QtCore.Qt.BrushStyle, PySide6.QtCore.Qt.GlobalColor, PySide6.QtGui.QColor, PySide6.QtGui.QGradient, PySide6.QtGui.QImage, PySide6.QtGui.QPixmap]) -> None [extrait de setBrush.__doc__] |
setColor(self, color: Union[PySide6.QtGui.QColor, PySide6.QtGui.QRgba64, Any, PySide6.QtCore.Qt.GlobalColor, str, int]) -> None | setColor(self, color: Union[PySide6.QtGui.QColor, PySide6.QtGui.QRgba64, Any, PySide6.QtCore.Qt.GlobalColor, str, int]) -> None [extrait de setColor.__doc__] |
setFont(self, font: Union[PySide6.QtGui.QFont, str, Sequence[str]]) -> None | setFont(self, font: Union[PySide6.QtGui.QFont, str, Sequence[str]]) -> None [extrait de setFont.__doc__] |
setInteractive(self, interactive: bool) -> None | setInteractive(self, interactive: bool) -> None [extrait de setInteractive.__doc__] |
setLabelBrush(self, brush: Union[PySide6.QtGui.QBrush, PySide6.QtCore.Qt.BrushStyle, PySide6.QtCore.Qt.GlobalColor, PySide6.QtGui.QColor, PySide6.QtGui.QGradient, PySide6.QtGui.QImage, PySide6.QtGui.QPixmap]) -> None | setLabelBrush(self, brush: Union[PySide6.QtGui.QBrush, PySide6.QtCore.Qt.BrushStyle, PySide6.QtCore.Qt.GlobalColor, PySide6.QtGui.QColor, PySide6.QtGui.QGradient, PySide6.QtGui.QImage, PySide6.QtGui.QPixmap]) -> None [extrait de setLabelBrush.__doc__] |
setLabelColor(self, color: Union[PySide6.QtGui.QColor, PySide6.QtGui.QRgba64, Any, PySide6.QtCore.Qt.GlobalColor, str, int]) -> None | setLabelColor(self, color: Union[PySide6.QtGui.QColor, PySide6.QtGui.QRgba64, Any, PySide6.QtCore.Qt.GlobalColor, str, int]) -> None [extrait de setLabelColor.__doc__] |
setMarkerShape(self, shape: PySide6.QtCharts.QLegend.MarkerShape) -> None | setMarkerShape(self, shape: PySide6.QtCharts.QLegend.MarkerShape) -> None [extrait de setMarkerShape.__doc__] |
setPen(self, pen: Union[PySide6.QtGui.QPen, PySide6.QtCore.Qt.PenStyle, PySide6.QtGui.QColor]) -> None | setPen(self, pen: Union[PySide6.QtGui.QPen, PySide6.QtCore.Qt.PenStyle, PySide6.QtGui.QColor]) -> None [extrait de setPen.__doc__] |
setReverseMarkers(self, reverseMarkers: bool = True) -> None | setReverseMarkers(self, reverseMarkers: bool = True) -> None [extrait de setReverseMarkers.__doc__] |
setShowToolTips(self, show: bool) -> None | setShowToolTips(self, show: bool) -> None [extrait de setShowToolTips.__doc__] |
showEvent(self, event: PySide6.QtGui.QShowEvent) -> None | showEvent(self, event: PySide6.QtGui.QShowEvent) -> None [extrait de showEvent.__doc__] |
showToolTips(self) -> bool | showToolTips(self) -> bool [extrait de showToolTips.__doc__] |
showToolTipsChanged | |
tr | |
visibleChanged | |
widthChanged | |
xChanged | |
yChanged | |
zChanged |
Améliorations / Corrections
Vous avez des améliorations (ou des corrections) à proposer pour ce document : je vous remerçie par avance de m'en faire part, cela m'aide à améliorer le site.
Emplacement :
Description des améliorations :