Class QAccelPlot::Border¶
ClassList > QAccelPlot > Border
Outline color and width, exposed as a border grouped property, for exampleborder.width: 1 .More...
#include <Border.hpp>
Inherits the following classes: QObject
Inheritance diagram¶
flowchart TB
classQAccelPlot_1_1Border["QAccelPlot::Border"]
external_base_classQAccelPlot_1_1Border_1["QObject"]
external_base_classQAccelPlot_1_1Border_1 --> classQAccelPlot_1_1Border
Public Properties¶
| Type | Name |
|---|---|
| property QML_ANONYMOUSQColor | color Outline color. |
| property qreal | width Outline width in pixels, clamped to at least 0. 0 draws no outline. |
Public Signals¶
| Type | Name |
|---|---|
| signal void | colorChanged Emitted when the color property changes. |
| signal void | widthChanged Emitted when the width property changes. |
Public Functions¶
| Type | Name |
|---|---|
| Border (const QColor & color, qreal width, QObject * parent=nullptr) Constructs a border with the given default color and__width , owned by__parent . |
|
| QColor | color () const Returns the outline color. |
| void | setColor (const QColor & color) Sets the outline color to color . |
| void | setWidth (qreal width) Sets the outline width to width pixels. Negative values are clamped to 0. |
| qreal | width () const Returns the outline width in pixels. |
Detailed Description¶
Used by PlotView, RectangleSeries, BarSeries, PlotView.rectangleZoom, SelectionTool, and ColorBar. Each owner documents its defaults and where the outline is drawn.
Public Properties Documentation¶
property color¶
Outline color.
property width¶
Outline width in pixels, clamped to at least 0. 0 draws no outline.
Public Signals Documentation¶
signal colorChanged¶
Emitted when the color property changes.
signal widthChanged¶
Emitted when the width property changes.
Public Functions Documentation¶
function Border¶
Constructs a border with the given default color and__width , owned by__parent .
function color¶
Returns the outline color.
function setColor¶
Sets the outline color to color .
function setWidth¶
Sets the outline width to width pixels. Negative values are clamped to 0.
function width¶
Returns the outline width in pixels.
The documentation for this class was generated from the following file QAccelPlot/src/QAccelPlot/Border.hpp