Class QAccelPlot::BandEdges¶
ClassList > QAccelPlot > BandEdges
Controls the lines a BandSeries draws along its lower and upper edges.More...
#include <BandEdges.hpp>
Inherits the following classes: QObject
Inheritance diagram¶
flowchart TB
classQAccelPlot_1_1BandEdges["QAccelPlot::BandEdges"]
external_base_classQAccelPlot_1_1BandEdges_1["QObject"]
external_base_classQAccelPlot_1_1BandEdges_1 --> classQAccelPlot_1_1BandEdges
Public Properties¶
| Type | Name |
|---|---|
| property QColor | color Edge line color. Default: an invalid color, which draws the band's color at full opacity. |
| property LineStyle * | lineStyle Edge line style ( SolidLine ,DashLine , orNoLine ). Default:SolidLine . |
| property QML_ANONYMOUSqreal | width Edge line width in pixels, clamped to at least 0. Default: 0, no edge lines. |
Public Signals¶
| Type | Name |
|---|---|
| signal void | colorChanged Emitted when the color property changes. |
| signal void | lineStyleChanged Emitted when the lineStyle property changes. |
| signal void | widthChanged Emitted when the width property changes. |
Public Functions¶
| Type | Name |
|---|---|
| BandEdges (QObject * parent=nullptr) Constructs a BandEdges owned by__parent . |
|
| QColor | color () const Returns the edge line color. |
| LineStyle * | lineStyle () const Returns the edge line style, or nullptr after the assigned style is destroyed. |
| void | setColor (const QColor & color) Sets the edge line color to color . |
| void | setLineStyle (LineStyle * style) Sets the edge line style to style . The style is not owned. |
| void | setWidth (qreal width) Sets the edge line width to width pixels. Negative values are clamped to 0. |
| qreal | width () const Returns the edge line width in pixels. |
Detailed Description¶
Accessible via the edges CONSTANT grouped property of BandSeries, for example edges.width: 1.
See also: BandSeries
Public Properties Documentation¶
property color¶
Edge line color. Default: an invalid color, which draws the band's color at full opacity.
property lineStyle¶
Edge line style ( SolidLine ,DashLine , orNoLine ). Default:SolidLine .
property width¶
Edge line width in pixels, clamped to at least 0. Default: 0, no edge lines.
Public Signals Documentation¶
signal colorChanged¶
Emitted when the color property changes.
signal lineStyleChanged¶
Emitted when the lineStyle property changes.
signal widthChanged¶
Emitted when the width property changes.
Public Functions Documentation¶
function BandEdges¶
Constructs a BandEdges owned by__parent .
function color¶
Returns the edge line color.
function lineStyle¶
Returns the edge line style, or nullptr after the assigned style is destroyed.
function setColor¶
Sets the edge line color to color .
function setLineStyle¶
Sets the edge line style to style . The style is not owned.
function setWidth¶
Sets the edge line width to width pixels. Negative values are clamped to 0.
function width¶
Returns the edge line width in pixels.
The documentation for this class was generated from the following file QAccelPlot/src/QAccelPlot/series/BandEdges.hpp