Skip to content

Struct QAccelPlot::LegendEntry

ClassList > QAccelPlot > LegendEntry

How a legend draws one row of a series: its label, symbol, color, line, and marker. More...

  • #include <LegendEntry.hpp>

Public Attributes

Type Name
QString name
Row label, or empty for the series name.

Public Properties

Type Name
property bool antialiasing
Whether the line and marker are antialiased.
property qreal antialiasingFeather
Antialiasing feather width in pixels.
property QColor color
Color of the line, marker, or fill.
property LineStyle * lineStyle
Line style, or null for a solid line. Owned by the series.
property qreal lineWidth
Line width in pixels.
property bool markerFilled
Whether the marker is filled.
property MarkerShape markerShape
Marker shape; None draws no marker.
property qreal markerSize
Marker size in pixels.
property qreal markerStrokeWidth
Outline width in pixels of a hollow marker.
property QML_ANONYMOUSQString name
Row label, such as a category name. Empty labels the row with the series name.
property PlotSeries::LegendSymbol symbol
Symbol style.

Detailed Description

Returned by PlotSeries::legendEntry() and PlotSeries::legendEntries(), and exposed by LegendModel as the entry role. The line fields apply to the Line symbol and the marker fields to Line and Marker.

See also: LegendModel, PlotSeries::legendEntries()

Public Attributes Documentation

variable name

Row label, or empty for the series name.

QString QAccelPlot::LegendEntry::name;


Public Properties Documentation

property antialiasing

Whether the line and marker are antialiased.

bool QAccelPlot::LegendEntry::antialiasing;

Whether antialiasing is on.


property antialiasingFeather

Antialiasing feather width in pixels.

qreal QAccelPlot::LegendEntry::antialiasingFeather;

Antialiasing feather width.


property color

Color of the line, marker, or fill.

QColor QAccelPlot::LegendEntry::color;

Line, marker, or fill color.


property lineStyle

Line style, or null for a solid line. Owned by the series.

LineStyle * QAccelPlot::LegendEntry::lineStyle;

Line style, or null for solid.


property lineWidth

Line width in pixels.

qreal QAccelPlot::LegendEntry::lineWidth;


property markerFilled

Whether the marker is filled.

bool QAccelPlot::LegendEntry::markerFilled;


property markerShape

Marker shape; None draws no marker.

MarkerShape QAccelPlot::LegendEntry::markerShape;

Marker shape.


property markerSize

Marker size in pixels.

qreal QAccelPlot::LegendEntry::markerSize;


property markerStrokeWidth

Outline width in pixels of a hollow marker.

qreal QAccelPlot::LegendEntry::markerStrokeWidth;

Hollow marker outline width.


property name

Row label, such as a category name. Empty labels the row with the series name.

QML_ANONYMOUSQString QAccelPlot::LegendEntry::name;


property symbol

Symbol style.

PlotSeries::LegendSymbol QAccelPlot::LegendEntry::symbol;



The documentation for this class was generated from the following file QAccelPlot/src/QAccelPlot/legend/LegendEntry.hpp