class QLegendMarker

Inheritance diagram of PySide6.QtCharts.QLegendMarker

Inherited by: QXYLegendMarker, QPieLegendMarker, QCandlestickLegendMarker, QBoxPlotLegendMarker, QBarLegendMarker, QAreaLegendMarker

Synopsis

Properties

Methods

Virtual methods

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 LegendMarkerType

Note

Properties can be used directly when from __feature__ import true_property is used or via accessor functions otherwise.

property brushᅟ: QBrush
Access functions:
property fontᅟ: QFont
Access functions:
property labelᅟ: str
Access functions:
property labelBrushᅟ: QBrush
Access functions:
property penᅟ: QPen
Access functions:
property shapeᅟ: QLegend.MarkerShape
Access functions:
property visibleᅟ: bool
Access functions:
brush()
Return type:

QBrush

Getter of property brushᅟ .

brushChanged()

Notification signal of property brushᅟ .

clicked()
font()
Return type:

QFont

Getter of property fontᅟ .

fontChanged()

Notification signal of property fontᅟ .

hovered(status)
Parameters:

status – bool

isVisible()
Return type:

bool

Getter of property visibleᅟ .

label()
Return type:

str

Getter of property labelᅟ .

labelBrush()
Return type:

QBrush

Getter of property labelBrushᅟ .

labelBrushChanged()

Notification signal of property labelBrushᅟ .

labelChanged()

Notification signal of property labelᅟ .

pen()
Return type:

QPen

Getter of property penᅟ .

penChanged()

Notification signal of property penᅟ .

setBrush(brush)
Parameters:

brushQBrush

Setter of property brushᅟ .

setFont(font)
Parameters:

fontQFont

Setter of property fontᅟ .

setLabel(label)
Parameters:

label – str

Setter of property labelᅟ .

setLabelBrush(brush)
Parameters:

brushQBrush

Setter of property labelBrushᅟ .

setPen(pen)
Parameters:

penQPen

Setter of property penᅟ .

setShape(shape)
Parameters:

shapeMarkerShape

Setter of property shapeᅟ .

setVisible(visible)
Parameters:

visible – bool

Setter of property visibleᅟ .

shape()
Return type:

MarkerShape

Getter of property shapeᅟ .

shapeChanged()

Notification signal of property shapeᅟ .

abstract type()
Return type:

LegendMarkerType

visibleChanged()

Notification signal of property visibleᅟ .