|  | SimCenterCommon
    Common functionality used within different SimCenter projects | 
| 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, 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 | 
 | 
| aeFills | 
 | 
| aeZeroLine | 
 | 
| aeOther | 
 | 
| aeAll | 
 | 
| aeNone | 
 | 
Definition at line 211 of file qcustomplot.h.
| enum QCP::ExportPen | 
Defines how cosmetic pens (pens with numerical width 0) are handled during export.
Definition at line 172 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 248 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 193 of file qcustomplot.h.
| enum QCP::PlottingHint | 
Defines plotting hints that control various aspects of the quality and speed of plotting.
| Enumerator | |
|---|---|
| phNone | 
 | 
| phFastPolylines | 
 | 
| phImmediateRefresh | 
 | 
| phCacheLabels | 
 | 
Definition at line 232 of file qcustomplot.h.
| enum QCP::ResolutionUnit | 
Defines the different units in which the image resolution can be specified in the export functions.
| Enumerator | |
|---|---|
| ruDotsPerMeter | Resolution is given in dots per meter (dpm) | 
| ruDotsPerCentimeter | Resolution is given in dots per centimeter (dpcm) | 
| ruDotsPerInch | Resolution is given in dots per inch (DPI/PPI) | 
Definition at line 162 of file qcustomplot.h.
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. | 
Definition at line 264 of file qcustomplot.h.
| 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. | 
Definition at line 288 of file qcustomplot.h.
| 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.
Definition at line 183 of file qcustomplot.h.
| 
 | inline | 
Definition at line 342 of file qcustomplot.h.
| 
 | inline | 
Definition at line 301 of file qcustomplot.h.
| 
 | inline | 
Definition at line 311 of file qcustomplot.h.
| 
 | inline | 
Definition at line 322 of file qcustomplot.h.
| const QMetaObject QCP::staticMetaObject |