QPieLegendMarker Class | Qt Charts 5.13.0

Qt 5.13 | Qt Charts | C++ Classes | QPieLegendMarker

Qt Charts | Commercial or GPLv3

# QPieLegendMarker Class

The QPieLegendMarker class is a legend marker for a pie series. More...

Header: | #include <QPieLegendMarker>
Inherits: | QLegendMarker

- List of all members, including inherited members
- Obsolete members

## Public Functions

virtual | ~QPieLegendMarker()
QPieSlice * | slice()

## Reimplemented Public Functions

virtual QPieSeries * | series() override
virtual QLegendMarker::LegendMarkerType | type() override

- 16 public functions inherited from QLegendMarker
- 30 public functions inherited from QObject

## Related Non-Members

typedef | QObjectList
QList<T> | qFindChildren(const QObject *obj, const QRegExp &regExp)
T | qobject_cast(QObject *object)
T | qobject_cast(const QObject *object)

## Macros

| QT_NO_NARROWING_CONVERSIONS_IN_CONNECT
| Q_CLASSINFO(Name, Value)
| Q_DISABLE_COPY(Class)
| Q_DISABLE_COPY_MOVE(Class)
| Q_DISABLE_MOVE(Class)
| Q_EMIT
| Q_ENUM(...)
| Q_ENUM_NS(...)
| Q_FLAG(...)
| Q_FLAG_NS(...)
| Q_GADGET
| Q_INTERFACES(...)
| Q_INVOKABLE
| Q_NAMESPACE
| Q_OBJECT
| Q_PROPERTY(...)
| Q_REVISION
| Q_SET_OBJECT_NAME(Object)
| Q_SIGNAL
| Q_SIGNALS
| Q_SLOT
| Q_SLOTS

### Additional Inherited Members

- 7 properties inherited from QLegendMarker
- 1 property inherited from QObject
- 1 public slot inherited from QObject
- 9 signals inherited from QLegendMarker
- 2 signals inherited from QObject
- 9 static public members inherited from QObject
- 9 protected functions inherited from QObject

## Detailed Description

A pie legend marker is related to QPieSeries. With a pie series, each slice of the pie is related to one marker in the legend.

See also QLegend, QPieSeries, and QPieSlice.

## Member Function Documentation

### `[virtual]` QPieLegendMarker::~QPieLegendMarker()

Removes the legend marker for a pie series.

### `[override virtual]` QPieSeries *QPieLegendMarker::series()

Reimplements: QLegendMarker::series().

### QPieSlice *QPieLegendMarker::slice()

Returns the slice of the pie related to the marker.

### `[override virtual]` QLegendMarker::LegendMarkerType QPieLegendMarker::type()

Reimplements: QLegendMarker::type().