QBoxPlotSeries Class | Qt Charts 5.15.19 (original) (raw)

Member Function Documentation

QBoxPlotSeries::QBoxPlotSeries(QObject *parent = nullptr)

Constructs an empty box plot series that is a QObject and a child of parent.

[signal] void QBoxPlotSeries::boxOutlineVisibilityChanged()

This signal is emitted when the box outline visibility changes.

Note: Notifier signal for property boxOutlineVisible.

[signal] void QBoxPlotSeries::boxWidthChanged()

This signal is emitted when the width of the box-and-whiskers item changes.

Note: Notifier signal for property boxWidth.

[signal] void QBoxPlotSeries::boxsetsAdded(QList<QBoxSet *> sets)

This signal is emitted when the list of box-and-whiskers items specified by sets is added to the series.

[signal] void QBoxPlotSeries::boxsetsRemoved(QList<QBoxSet *> sets)

This signal is emitted when the list of box-and-whiskers items specified by sets is removed from the series.

[signal] void QBoxPlotSeries::brushChanged()

This signal is emitted when the brush used to fill the boxes of the box-and-whiskers items changes.

Note: Notifier signal for property brush.

[signal] void QBoxPlotSeries::clicked(QBoxSet *boxset)

This signal is emitted when the user clicks the box-and-whiskers item specified by boxset in the chart.

[signal] void QBoxPlotSeries::countChanged()

This signal is emitted when the number of box-and-whiskers items in the series changes.

Note: Notifier signal for property count.

[signal] void QBoxPlotSeries::doubleClicked(QBoxSet *boxset)

This signal is emitted when the user double-clicks the box-and-whiskers item specified by boxset in the chart.

[signal] void QBoxPlotSeries::hovered(bool status, QBoxSet *boxset)

This signal is emitted when a mouse is hovered over the box-and-whiskers item specified by boxset in the chart. When the mouse moves over the item, status turns true, and when the mouse moves away again, it turns false.

[signal] void QBoxPlotSeries::penChanged()

This signal is emitted when the pen used to draw the lines of the box-and-whiskers items changes.

Note: Notifier signal for property pen.

[signal] void QBoxPlotSeries::pressed(QBoxSet *boxset)

This signal is emitted when the user clicks the box-and-whiskers item specified by boxset in the chart and holds down the mouse button.

[signal] void QBoxPlotSeries::released(QBoxSet *boxset)

This signal is emitted when the user releases the mouse press on the box-and-whiskers item specified by boxset in the chart.

[virtual] QBoxPlotSeries::~QBoxPlotSeries()

Removes the series from the chart.

bool QBoxPlotSeries::append(QBoxSet *set)

Adds a single box-and-whiskers item specified by set to the series and takes ownership of it. If the item is null or it already belongs to the series, it will not be appended. Returns true if appending succeeded.

bool QBoxPlotSeries::append(QList<QBoxSet *> sets)

Adds a list of box-and-whiskers items specified by sets to the series and takes ownership of them. If the list is null or the items already belong to the series, it will not be appended. Returns true if appending succeeded.

QList<QBoxSet *> QBoxPlotSeries::boxSets() const

Returns a list of box-and-whiskers items in a box plot series. Keeps the ownership of the items.

void QBoxPlotSeries::clear()

Removes all box-and-whiskers items from the series and permanently deletes them.

int QBoxPlotSeries::count() const

Returns the number of box-and-whiskers items in a box plot series.

Note: Getter function for property count.

bool QBoxPlotSeries::insert(int index, QBoxSet *set)

Inserts a box-and-whiskers item specified by set to a series at the position specified by index and takes ownership of the item. If the item is null or already belongs to the series, it will not be appended. Returns true if inserting succeeds.

bool QBoxPlotSeries::remove(QBoxSet *set)

Removes the box-and-whiskers item specified by set from the series and permanently deletes it if the removal succeeds. Returns true if the item was removed.

bool QBoxPlotSeries::take(QBoxSet *set)

Takes the box-and-whiskers item specified by set from the series. Does not delete the item.

Note: The series remains the item's parent object. You must set the parent object to take full ownership.

Returns true if the take operation succeeds.

[override virtual] QAbstractSeries::SeriesType QBoxPlotSeries::type() const

Reimplements an access function for property: QAbstractSeries::type.

Returns the type of the series.

See also QAbstractSeries and SeriesType.