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.
Public Properties Documentation¶
property antialiasing¶
Whether the line and marker are antialiased.
Whether antialiasing is on.
property antialiasingFeather¶
Antialiasing feather width in pixels.
Antialiasing feather width.
property color¶
Color of the line, marker, or fill.
Line, marker, or fill color.
property lineStyle¶
Line style, or null for a solid line. Owned by the series.
Line style, or null for solid.
property lineWidth¶
Line width in pixels.
property markerFilled¶
Whether the marker is filled.
property markerShape¶
Marker shape; None draws no marker.
Marker shape.
property markerSize¶
Marker size in pixels.
property markerStrokeWidth¶
Outline width in pixels of a hollow marker.
Hollow marker outline width.
property name¶
Row label, such as a category name. Empty labels the row with the series name.
property symbol¶
Symbol style.
The documentation for this class was generated from the following file QAccelPlot/src/QAccelPlot/legend/LegendEntry.hpp