Enumerations | |
enum | MarginSide { msLeft = 0x01, msRight = 0x02, msTop = 0x04, msBottom = 0x08, msAll = 0xFF, msNone = 0x00, msLeft = 0x01, msRight = 0x02, msTop = 0x04, msBottom = 0x08, msAll = 0xFF, msNone = 0x00, msLeft = 0x01, msRight = 0x02, msTop = 0x04, msBottom = 0x08, msAll = 0xFF, msNone = 0x00 } |
enum | AntialiasedElement { aeAxes = 0x0001, aeGrid = 0x0002, aeSubGrid = 0x0004, aeLegend = 0x0008, aeLegendItems = 0x0010, aePlottables = 0x0020, aeItems = 0x0040, aeScatters = 0x0080, aeErrorBars = 0x0100, aeFills = 0x0200, aeZeroLine = 0x0400, aeAll = 0xFFFF, aeNone = 0x0000, aeAxes = 0x0001, aeGrid = 0x0002, aeSubGrid = 0x0004, aeLegend = 0x0008, aeLegendItems = 0x0010, aePlottables = 0x0020, aeItems = 0x0040, aeScatters = 0x0080, aeFills = 0x0200, aeZeroLine = 0x0400, aeOther = 0x8000, aeAll = 0xFFFF, aeNone = 0x0000, aeAxes = 0x0001, aeGrid = 0x0002, aeSubGrid = 0x0004, aeLegend = 0x0008, aeLegendItems = 0x0010, aePlottables = 0x0020, aeItems = 0x0040, aeScatters = 0x0080, aeErrorBars = 0x0100, aeFills = 0x0200, aeZeroLine = 0x0400, aeAll = 0xFFFF, aeNone = 0x0000 } |
enum | PlottingHint { phNone = 0x000, phFastPolylines = 0x001, phForceRepaint = 0x002, phCacheLabels = 0x004, phNone = 0x000, phFastPolylines = 0x001, phImmediateRefresh = 0x002, phCacheLabels = 0x004, phNone = 0x000, phFastPolylines = 0x001, phForceRepaint = 0x002, phCacheLabels = 0x004 } |
enum | Interaction { iRangeDrag = 0x001, iRangeZoom = 0x002, iMultiSelect = 0x004, iSelectPlottables = 0x008, iSelectAxes = 0x010, iSelectLegend = 0x020, iSelectItems = 0x040, iSelectOther = 0x080, iRangeDrag = 0x001, iRangeZoom = 0x002, iMultiSelect = 0x004, iSelectPlottables = 0x008, iSelectAxes = 0x010, iSelectLegend = 0x020, iSelectItems = 0x040, iSelectOther = 0x080, iRangeDrag = 0x001, iRangeZoom = 0x002, iMultiSelect = 0x004, iSelectPlottables = 0x008, iSelectAxes = 0x010, iSelectLegend = 0x020, iSelectItems = 0x040, iSelectOther = 0x080 } |
enum | ResolutionUnit { ruDotsPerMeter, ruDotsPerCentimeter, ruDotsPerInch } |
enum | ExportPen { epNoCosmetic, epAllowCosmetic } |
enum | SignDomain { sdNegative, sdBoth, sdPositive } |
enum | MarginSide { msLeft = 0x01, msRight = 0x02, msTop = 0x04, msBottom = 0x08, msAll = 0xFF, msNone = 0x00, msLeft = 0x01, msRight = 0x02, msTop = 0x04, msBottom = 0x08, msAll = 0xFF, msNone = 0x00, msLeft = 0x01, msRight = 0x02, msTop = 0x04, msBottom = 0x08, msAll = 0xFF, msNone = 0x00 } |
enum | AntialiasedElement { aeAxes = 0x0001, aeGrid = 0x0002, aeSubGrid = 0x0004, aeLegend = 0x0008, aeLegendItems = 0x0010, aePlottables = 0x0020, aeItems = 0x0040, aeScatters = 0x0080, aeErrorBars = 0x0100, aeFills = 0x0200, aeZeroLine = 0x0400, aeAll = 0xFFFF, aeNone = 0x0000, aeAxes = 0x0001, aeGrid = 0x0002, aeSubGrid = 0x0004, aeLegend = 0x0008, aeLegendItems = 0x0010, aePlottables = 0x0020, aeItems = 0x0040, aeScatters = 0x0080, aeFills = 0x0200, aeZeroLine = 0x0400, aeOther = 0x8000, aeAll = 0xFFFF, aeNone = 0x0000, aeAxes = 0x0001, aeGrid = 0x0002, aeSubGrid = 0x0004, aeLegend = 0x0008, aeLegendItems = 0x0010, aePlottables = 0x0020, aeItems = 0x0040, aeScatters = 0x0080, aeErrorBars = 0x0100, aeFills = 0x0200, aeZeroLine = 0x0400, aeAll = 0xFFFF, aeNone = 0x0000 } |
enum | PlottingHint { phNone = 0x000, phFastPolylines = 0x001, phForceRepaint = 0x002, phCacheLabels = 0x004, phNone = 0x000, phFastPolylines = 0x001, phImmediateRefresh = 0x002, phCacheLabels = 0x004, phNone = 0x000, phFastPolylines = 0x001, phForceRepaint = 0x002, phCacheLabels = 0x004 } |
enum | Interaction { iRangeDrag = 0x001, iRangeZoom = 0x002, iMultiSelect = 0x004, iSelectPlottables = 0x008, iSelectAxes = 0x010, iSelectLegend = 0x020, iSelectItems = 0x040, iSelectOther = 0x080, iRangeDrag = 0x001, iRangeZoom = 0x002, iMultiSelect = 0x004, iSelectPlottables = 0x008, iSelectAxes = 0x010, iSelectLegend = 0x020, iSelectItems = 0x040, iSelectOther = 0x080, iRangeDrag = 0x001, iRangeZoom = 0x002, iMultiSelect = 0x004, iSelectPlottables = 0x008, iSelectAxes = 0x010, iSelectLegend = 0x020, iSelectItems = 0x040, iSelectOther = 0x080 } |
enum | SelectionRectMode { srmNone, srmZoom, srmSelect, srmCustom } |
enum | SelectionType { stNone, stWhole, stSingleData, stDataRange, stMultipleDataRanges } |
enum | MarginSide { msLeft = 0x01, msRight = 0x02, msTop = 0x04, msBottom = 0x08, msAll = 0xFF, msNone = 0x00, msLeft = 0x01, msRight = 0x02, msTop = 0x04, msBottom = 0x08, msAll = 0xFF, msNone = 0x00, msLeft = 0x01, msRight = 0x02, msTop = 0x04, msBottom = 0x08, msAll = 0xFF, msNone = 0x00 } |
enum | AntialiasedElement { aeAxes = 0x0001, aeGrid = 0x0002, aeSubGrid = 0x0004, aeLegend = 0x0008, aeLegendItems = 0x0010, aePlottables = 0x0020, aeItems = 0x0040, aeScatters = 0x0080, aeErrorBars = 0x0100, aeFills = 0x0200, aeZeroLine = 0x0400, aeAll = 0xFFFF, aeNone = 0x0000, aeAxes = 0x0001, aeGrid = 0x0002, aeSubGrid = 0x0004, aeLegend = 0x0008, aeLegendItems = 0x0010, aePlottables = 0x0020, aeItems = 0x0040, aeScatters = 0x0080, aeFills = 0x0200, aeZeroLine = 0x0400, aeOther = 0x8000, aeAll = 0xFFFF, aeNone = 0x0000, aeAxes = 0x0001, aeGrid = 0x0002, aeSubGrid = 0x0004, aeLegend = 0x0008, aeLegendItems = 0x0010, aePlottables = 0x0020, aeItems = 0x0040, aeScatters = 0x0080, aeErrorBars = 0x0100, aeFills = 0x0200, aeZeroLine = 0x0400, aeAll = 0xFFFF, aeNone = 0x0000 } |
enum | PlottingHint { phNone = 0x000, phFastPolylines = 0x001, phForceRepaint = 0x002, phCacheLabels = 0x004, phNone = 0x000, phFastPolylines = 0x001, phImmediateRefresh = 0x002, phCacheLabels = 0x004, phNone = 0x000, phFastPolylines = 0x001, phForceRepaint = 0x002, phCacheLabels = 0x004 } |
enum | Interaction { iRangeDrag = 0x001, iRangeZoom = 0x002, iMultiSelect = 0x004, iSelectPlottables = 0x008, iSelectAxes = 0x010, iSelectLegend = 0x020, iSelectItems = 0x040, iSelectOther = 0x080, iRangeDrag = 0x001, iRangeZoom = 0x002, iMultiSelect = 0x004, iSelectPlottables = 0x008, iSelectAxes = 0x010, iSelectLegend = 0x020, iSelectItems = 0x040, iSelectOther = 0x080, iRangeDrag = 0x001, iRangeZoom = 0x002, iMultiSelect = 0x004, iSelectPlottables = 0x008, iSelectAxes = 0x010, iSelectLegend = 0x020, iSelectItems = 0x040, iSelectOther = 0x080 } |
Functions | |
bool | isInvalidData (double value) |
bool | isInvalidData (double value1, double value2) |
void | setMarginValue (QMargins &margins, QCP::MarginSide side, int value) |
int | getMarginValue (const QMargins &margins, QCP::MarginSide side) |
Variables | |
const QMetaObject | staticMetaObject |
The QCP Namespace contains general enums and QFlags used throughout the QCustomPlot library
The QCP Namespace contains general enums, QFlags and functions used throughout the QCustomPlot library.
It provides QMetaObject-based reflection of its enums and flags via QCP::staticMetaObject.
Defines what objects of a plot can be forcibly drawn antialiased/not antialiased. If an object is neither forcibly drawn antialiased nor forcibly drawn not antialiased, it is up to the respective element how it is drawn. Typically it provides a setAntialiased function for this.
AntialiasedElements
is a flag of or-combined elements of this enum type.
Enumerator | |
---|---|
aeAxes |
|
aeGrid |
|
aeSubGrid |
|
aeLegend |
|
aeLegendItems |
|
aePlottables |
|
aeItems |
|
aeScatters |
|
aeErrorBars |
|
aeFills |
|
aeZeroLine |
|
aeAll |
|
aeNone |
|
aeAxes |
|
aeGrid |
|
aeSubGrid |
|
aeLegend |
|
aeLegendItems |
|
aePlottables |
|
aeItems |
|
aeScatters |
|
aeFills |
|
aeZeroLine |
|
aeOther |
|
aeAll |
|
aeNone |
|
aeAxes |
|
aeGrid |
|
aeSubGrid |
|
aeLegend |
|
aeLegendItems |
|
aePlottables |
|
aeItems |
|
aeScatters |
|
aeErrorBars |
|
aeFills |
|
aeZeroLine |
|
aeAll |
|
aeNone |
|
Defines what objects of a plot can be forcibly drawn antialiased/not antialiased. If an object is neither forcibly drawn antialiased nor forcibly drawn not antialiased, it is up to the respective element how it is drawn. Typically it provides a setAntialiased function for this.
AntialiasedElements
is a flag of or-combined elements of this enum type.
Enumerator | |
---|---|
aeAxes |
|
aeGrid |
|
aeSubGrid |
|
aeLegend |
|
aeLegendItems |
|
aePlottables |
|
aeItems |
|
aeScatters |
|
aeErrorBars |
|
aeFills |
|
aeZeroLine |
|
aeAll |
|
aeNone |
|
aeAxes |
|
aeGrid |
|
aeSubGrid |
|
aeLegend |
|
aeLegendItems |
|
aePlottables |
|
aeItems |
|
aeScatters |
|
aeFills |
|
aeZeroLine |
|
aeOther |
|
aeAll |
|
aeNone |
|
aeAxes |
|
aeGrid |
|
aeSubGrid |
|
aeLegend |
|
aeLegendItems |
|
aePlottables |
|
aeItems |
|
aeScatters |
|
aeErrorBars |
|
aeFills |
|
aeZeroLine |
|
aeAll |
|
aeNone |
|
Defines what objects of a plot can be forcibly drawn antialiased/not antialiased. If an object is neither forcibly drawn antialiased nor forcibly drawn not antialiased, it is up to the respective element how it is drawn. Typically it provides a setAntialiased function for this.
AntialiasedElements
is a flag of or-combined elements of this enum type.
Enumerator | |
---|---|
aeAxes |
|
aeGrid |
|
aeSubGrid |
|
aeLegend |
|
aeLegendItems |
|
aePlottables |
|
aeItems |
|
aeScatters |
|
aeErrorBars |
|
aeFills |
|
aeZeroLine |
|
aeAll |
|
aeNone |
|
aeAxes |
|
aeGrid |
|
aeSubGrid |
|
aeLegend |
|
aeLegendItems |
|
aePlottables |
|
aeItems |
|
aeScatters |
|
aeFills |
|
aeZeroLine |
|
aeOther |
|
aeAll |
|
aeNone |
|
aeAxes |
|
aeGrid |
|
aeSubGrid |
|
aeLegend |
|
aeLegendItems |
|
aePlottables |
|
aeItems |
|
aeScatters |
|
aeErrorBars |
|
aeFills |
|
aeZeroLine |
|
aeAll |
|
aeNone |
|
enum QCP::ExportPen |
Defines how cosmetic pens (pens with numerical width 0) are handled during export.
enum QCP::Interaction |
Defines the mouse interactions possible with QCustomPlot.
Interactions
is a flag of or-combined elements of this enum type.
Enumerator | |
---|---|
iRangeDrag |
|
iRangeZoom |
|
iMultiSelect |
|
iSelectPlottables |
|
iSelectAxes |
|
iSelectLegend |
|
iSelectItems |
|
iSelectOther |
|
iRangeDrag |
|
iRangeZoom |
|
iMultiSelect |
|
iSelectPlottables |
|
iSelectAxes |
|
iSelectLegend |
|
iSelectItems |
|
iSelectOther |
|
iRangeDrag |
|
iRangeZoom |
|
iMultiSelect |
|
iSelectPlottables |
|
iSelectAxes |
|
iSelectLegend |
|
iSelectItems |
|
iSelectOther |
|
enum QCP::Interaction |
Defines the mouse interactions possible with QCustomPlot.
Interactions
is a flag of or-combined elements of this enum type.
Enumerator | |
---|---|
iRangeDrag |
|
iRangeZoom |
|
iMultiSelect |
|
iSelectPlottables |
|
iSelectAxes |
|
iSelectLegend |
|
iSelectItems |
|
iSelectOther |
|
iRangeDrag |
|
iRangeZoom |
|
iMultiSelect |
|
iSelectPlottables |
|
iSelectAxes |
|
iSelectLegend |
|
iSelectItems |
|
iSelectOther |
|
iRangeDrag |
|
iRangeZoom |
|
iMultiSelect |
|
iSelectPlottables |
|
iSelectAxes |
|
iSelectLegend |
|
iSelectItems |
|
iSelectOther |
|
enum QCP::Interaction |
Defines the mouse interactions possible with QCustomPlot.
Interactions
is a flag of or-combined elements of this enum type.
Enumerator | |
---|---|
iRangeDrag |
|
iRangeZoom |
|
iMultiSelect |
|
iSelectPlottables |
|
iSelectAxes |
|
iSelectLegend |
|
iSelectItems |
|
iSelectOther |
|
iRangeDrag |
|
iRangeZoom |
|
iMultiSelect |
|
iSelectPlottables |
|
iSelectAxes |
|
iSelectLegend |
|
iSelectItems |
|
iSelectOther |
|
iRangeDrag |
|
iRangeZoom |
|
iMultiSelect |
|
iSelectPlottables |
|
iSelectAxes |
|
iSelectLegend |
|
iSelectItems |
|
iSelectOther |
|
enum QCP::MarginSide |
Defines the sides of a rectangular entity to which margins can be applied.
enum QCP::MarginSide |
Defines the sides of a rectangular entity to which margins can be applied.
enum QCP::MarginSide |
Defines the sides of a rectangular entity to which margins can be applied.
enum QCP::PlottingHint |
Defines plotting hints that control various aspects of the quality and speed of plotting.
Enumerator | |
---|---|
phNone |
|
phFastPolylines |
This reduces the quality especially of the line segment joins. (Only relevant for solid line pens.) This reduces the quality especially of the line segment joins, thus is most effective for pen sizes larger than 1. It is only used for solid line pens. |
phForceRepaint |
This is set by default to prevent the plot from freezing on fast consecutive replots (e.g. user drags ranges with mouse). |
phCacheLabels |
|
phNone |
|
phFastPolylines |
This reduces the quality especially of the line segment joins. (Only relevant for solid line pens.) This reduces the quality especially of the line segment joins, thus is most effective for pen sizes larger than 1. It is only used for solid line pens. |
phImmediateRefresh |
This is set by default to prevent the plot from freezing on fast consecutive replots (e.g. user drags ranges with mouse). |
phCacheLabels |
|
phNone |
|
phFastPolylines |
This reduces the quality especially of the line segment joins. (Only relevant for solid line pens.) This reduces the quality especially of the line segment joins, thus is most effective for pen sizes larger than 1. It is only used for solid line pens. |
phForceRepaint |
This is set by default to prevent the plot from freezing on fast consecutive replots (e.g. user drags ranges with mouse). |
phCacheLabels |
|
enum QCP::PlottingHint |
Defines plotting hints that control various aspects of the quality and speed of plotting.
Enumerator | |
---|---|
phNone |
|
phFastPolylines |
This reduces the quality especially of the line segment joins. (Only relevant for solid line pens.) This reduces the quality especially of the line segment joins, thus is most effective for pen sizes larger than 1. It is only used for solid line pens. |
phForceRepaint |
This is set by default to prevent the plot from freezing on fast consecutive replots (e.g. user drags ranges with mouse). |
phCacheLabels |
|
phNone |
|
phFastPolylines |
This reduces the quality especially of the line segment joins. (Only relevant for solid line pens.) This reduces the quality especially of the line segment joins, thus is most effective for pen sizes larger than 1. It is only used for solid line pens. |
phImmediateRefresh |
This is set by default to prevent the plot from freezing on fast consecutive replots (e.g. user drags ranges with mouse). |
phCacheLabels |
|
phNone |
|
phFastPolylines |
This reduces the quality especially of the line segment joins. (Only relevant for solid line pens.) This reduces the quality especially of the line segment joins, thus is most effective for pen sizes larger than 1. It is only used for solid line pens. |
phForceRepaint |
This is set by default to prevent the plot from freezing on fast consecutive replots (e.g. user drags ranges with mouse). |
phCacheLabels |
|
enum QCP::PlottingHint |
Defines plotting hints that control various aspects of the quality and speed of plotting.
Enumerator | |
---|---|
phNone |
|
phFastPolylines |
This reduces the quality especially of the line segment joins. (Only relevant for solid line pens.) This reduces the quality especially of the line segment joins, thus is most effective for pen sizes larger than 1. It is only used for solid line pens. |
phForceRepaint |
This is set by default to prevent the plot from freezing on fast consecutive replots (e.g. user drags ranges with mouse). |
phCacheLabels |
|
phNone |
|
phFastPolylines |
This reduces the quality especially of the line segment joins. (Only relevant for solid line pens.) This reduces the quality especially of the line segment joins, thus is most effective for pen sizes larger than 1. It is only used for solid line pens. |
phImmediateRefresh |
This is set by default to prevent the plot from freezing on fast consecutive replots (e.g. user drags ranges with mouse). |
phCacheLabels |
|
phNone |
|
phFastPolylines |
This reduces the quality especially of the line segment joins. (Only relevant for solid line pens.) This reduces the quality especially of the line segment joins, thus is most effective for pen sizes larger than 1. It is only used for solid line pens. |
phForceRepaint |
This is set by default to prevent the plot from freezing on fast consecutive replots (e.g. user drags ranges with mouse). |
phCacheLabels |
|
enum QCP::ResolutionUnit |
Defines the behaviour of the selection rect.
Enumerator | |
---|---|
srmNone | The selection rect is disabled, and all mouse events are forwarded to the underlying objects, e.g. for axis range dragging. |
srmZoom | When dragging the mouse, a selection rect becomes active. Upon releasing, the axes that are currently set as range zoom axes (QCPAxisRect::setRangeZoomAxes) will have their ranges zoomed accordingly. |
srmSelect | When dragging the mouse, a selection rect becomes active. Upon releasing, plottable data points that were within the selection rect are selected, if the plottable's selectability setting permits. (See data selection mechanism for details.) |
srmCustom | When dragging the mouse, a selection rect becomes active. It is the programmer's responsibility to connect according slots to the selection rect's signals (e.g. QCPSelectionRect::accepted) in order to process the user interaction. |
enum QCP::SelectionType |
Defines the different ways a plottable can be selected. These images show the effect of the different selection types, when the indicated selection rect was dragged:
![]()
stNone | ![]()
stWhole | ![]()
stSingleData | ![]()
stDataRange | ![]()
stMultipleDataRanges |
Enumerator | |
---|---|
stNone | The plottable is not selectable. |
stWhole | Selection behaves like stMultipleDataRanges, but if there are any data points selected, the entire plottable is drawn as selected. |
stSingleData | One individual data point can be selected at a time. |
stDataRange | Multiple contiguous data points (a data range) can be selected. |
stMultipleDataRanges | Any combination of data points/ranges can be selected. |
enum QCP::SignDomain |
Represents negative and positive sign domain, e.g. for passing to QCPAbstractPlottable::getKeyRange and QCPAbstractPlottable::getValueRange.
This is primarily needed when working with logarithmic axis scales, since only one of the sign domains can be visible at a time.
|
inline |
|
inline |
Referenced by isInvalidData().
|
inline |
References isInvalidData().
|
inline |
const QMetaObject QCP::staticMetaObject |