Skip to content

Class QAccelPlot::LineStyle

ClassList > QAccelPlot > LineStyle

Abstract base class for all line styles. More...

  • #include <LineStyle.hpp>

Inherits the following classes: QObject

Inherited by the following classes: QAccelPlot::DashLine, QAccelPlot::NoLine, QAccelPlot::SolidLine

Inheritance diagram

flowchart TB
  classQAccelPlot_1_1LineStyle["QAccelPlot::LineStyle"]

  external_base_classQAccelPlot_1_1LineStyle_1["QObject"]
  external_base_classQAccelPlot_1_1LineStyle_1 --> classQAccelPlot_1_1LineStyle

  classQAccelPlot_1_1DashLine["QAccelPlot::DashLine"]
  classQAccelPlot_1_1LineStyle --> classQAccelPlot_1_1DashLine
  click classQAccelPlot_1_1DashLine "../classQAccelPlot_1_1DashLine/" "Open QAccelPlot::DashLine"

  classQAccelPlot_1_1NoLine["QAccelPlot::NoLine"]
  classQAccelPlot_1_1LineStyle --> classQAccelPlot_1_1NoLine
  click classQAccelPlot_1_1NoLine "../classQAccelPlot_1_1NoLine/" "Open QAccelPlot::NoLine"

  classQAccelPlot_1_1SolidLine["QAccelPlot::SolidLine"]
  classQAccelPlot_1_1LineStyle --> classQAccelPlot_1_1SolidLine
  click classQAccelPlot_1_1SolidLine "../classQAccelPlot_1_1SolidLine/" "Open QAccelPlot::SolidLine"

Public Properties

Type Name
property QML_ANONYMOUSbool showLine
Whether the line should be rendered. Subclasses override to suppress (e.g. NoLine ).

Public Signals

Type Name
signal void styleChanged
Emitted when any style property changes, triggering a curve redraw.

Public Functions

Type Name
LineStyle (QObject * parent=nullptr)
Constructs an LineStyle with the given__parent .
virtual DashParameters dashParameters () const
Returns the dash parameters for this style. Default: disabled dash.
virtual bool showLine () const
Returns true if the line should be rendered. Default:true .

Detailed Description

Subclasses control whether a line is drawn (showLine()) and supply dash parameters to the renderer via dashParameters().

See also: SolidLine, NoLine, DashLine

Public Properties Documentation

property showLine

Whether the line should be rendered. Subclasses override to suppress (e.g. NoLine ).

QML_ANONYMOUSbool QAccelPlot::LineStyle::showLine;


Public Signals Documentation

signal styleChanged

Emitted when any style property changes, triggering a curve redraw.

void QAccelPlot::LineStyle::styleChanged;


Public Functions Documentation

function LineStyle

Constructs an LineStyle with the given__parent .

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


function dashParameters

Returns the dash parameters for this style. Default: disabled dash.

virtual DashParameters QAccelPlot::LineStyle::dashParameters () const


function showLine

Returns true if the line should be rendered. Default:true .

virtual bool QAccelPlot::LineStyle::showLine () const



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