iCub-main
|
The QCP Namespace contains general enums and QFlags used throughout the QCustomPlot library. More...
Enumerations | |
enum | MarginSide { msLeft = 0x01 , msRight = 0x02 , msTop = 0x04 , msBottom = 0x08 , msAll = 0xFF , msNone = 0x00 } |
Defines the sides of a rectangular entity to which margins can be applied. More... | |
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 } |
Defines what objects of a plot can be forcibly drawn antialiased/not antialiased. More... | |
enum | PlottingHint { phNone = 0x000 , phFastPolylines = 0x001 , phForceRepaint = 0x002 , phCacheLabels = 0x004 } |
Defines plotting hints that control various aspects of the quality and speed of plotting. More... | |
enum | Interaction { iRangeDrag = 0x001 , iRangeZoom = 0x002 , iMultiSelect = 0x004 , iSelectPlottables = 0x008 , iSelectAxes = 0x010 , iSelectLegend = 0x020 , iSelectItems = 0x040 , iSelectOther = 0x080 } |
Defines the mouse interactions possible with QCustomPlot. More... | |
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) |
The QCP Namespace contains general enums and QFlags used throughout the QCustomPlot library.
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 |
|
Definition at line 117 of file qcustomplot.h.
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 |
|
Definition at line 154 of file qcustomplot.h.
enum QCP::MarginSide |
Defines the sides of a rectangular entity to which margins can be applied.
Enumerator | |
---|---|
msLeft |
|
msRight |
|
msTop |
|
msBottom |
|
msAll |
|
msNone |
|
Definition at line 99 of file qcustomplot.h.
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.) |
phForceRepaint |
This is set by default to prevent the plot from freezing on fast consecutive replots (e.g. user drags ranges with mouse). |
phCacheLabels |
|
Definition at line 138 of file qcustomplot.h.
|
inline |
Definition at line 212 of file qcustomplot.h.
|
inline |
Definition at line 171 of file qcustomplot.h.
|
inline |
Definition at line 181 of file qcustomplot.h.
|
inline |
Definition at line 192 of file qcustomplot.h.