Skip to content

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.

QColor QAccelPlot::BandEdges::color;


property lineStyle

Edge line style ( SolidLine ,DashLine , orNoLine ). Default:SolidLine .

LineStyle* QAccelPlot::BandEdges::lineStyle;


property width

Edge line width in pixels, clamped to at least 0. Default: 0, no edge lines.

QML_ANONYMOUSqreal QAccelPlot::BandEdges::width;


Public Signals Documentation

signal colorChanged

Emitted when the color property changes.

void QAccelPlot::BandEdges::colorChanged;


signal lineStyleChanged

Emitted when the lineStyle property changes.

void QAccelPlot::BandEdges::lineStyleChanged;


signal widthChanged

Emitted when the width property changes.

void QAccelPlot::BandEdges::widthChanged;


Public Functions Documentation

function BandEdges

Constructs a BandEdges owned by__parent .

explicit QAccelPlot::BandEdges::BandEdges (
    QObject * parent=nullptr
) 


function color

Returns the edge line color.

QColor QAccelPlot::BandEdges::color () const


function lineStyle

Returns the edge line style, or nullptr after the assigned style is destroyed.

LineStyle * QAccelPlot::BandEdges::lineStyle () const


function setColor

Sets the edge line color to color .

void QAccelPlot::BandEdges::setColor (
    const QColor & color
) 


function setLineStyle

Sets the edge line style to style . The style is not owned.

void QAccelPlot::BandEdges::setLineStyle (
    LineStyle * style
) 


function setWidth

Sets the edge line width to width pixels. Negative values are clamped to 0.

void QAccelPlot::BandEdges::setWidth (
    qreal width
) 


function width

Returns the edge line width in pixels.

qreal QAccelPlot::BandEdges::width () const



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