qcustomplot.h File Reference
#include <QObject>
#include <QPointer>
#include <QWidget>
#include <QPainter>
#include <QPaintEvent>
#include <QMouseEvent>
#include <QPixmap>
#include <QVector>
#include <QString>
#include <QDateTime>
#include <QMultiMap>
#include <QFlags>
#include <QDebug>
#include <QVector2D>
#include <QStack>
#include <QCache>
#include <QMargins>
#include <qmath.h>
#include <limits>
#include <QtNumeric>
#include <QtPrintSupport/QtPrintSupport>
Include dependency graph for qcustomplot.h:
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Classes

class  QCPScatterStyle
 
class  QCPPainter
 
class  QCPLayer
 
class  QCPLayerable
 
class  QCPRange
 
class  QCPMarginGroup
 
class  QCPLayoutElement
 
class  QCPLayout
 
class  QCPLayoutGrid
 
class  QCPLayoutInset
 
class  QCPLineEnding
 
class  QCPGrid
 
class  QCPAxis
 
class  QCPAxisPainterPrivate
 
struct  QCPAxisPainterPrivate::CachedLabel
 
struct  QCPAxisPainterPrivate::TickLabelData
 
class  QCPAbstractPlottable
 
class  QCPItemAnchor
 
class  QCPItemPosition
 
class  QCPAbstractItem
 
class  QCustomPlot
 
class  QCPColorGradient
 
class  QCPAxisRect
 
class  QCPAbstractLegendItem
 
class  QCPPlottableLegendItem
 
class  QCPLegend
 
class  QCPPlotTitle
 
class  QCPColorScaleAxisRectPrivate
 
class  QCPColorScale
 
class  QCPData
 
class  QCPGraph
 
class  QCPCurveData
 
class  QCPCurve
 
class  QCPBarsGroup
 
class  QCPBarData
 
class  QCPBars
 
class  QCPStatisticalBox
 
class  QCPColorMapData
 
class  QCPColorMap
 
class  QCPFinancialData
 
class  QCPFinancial
 
class  QCPItemStraightLine
 
class  QCPItemLine
 
class  QCPItemCurve
 
class  QCPItemRect
 
class  QCPItemText
 
class  QCPItemEllipse
 
class  QCPItemPixmap
 
class  QCPItemTracer
 
class  QCPItemBracket
 

Namespaces

 QCP
 

Macros

#define QCP_LIB_DECL
 

Typedefs

typedef QMap< double, QCPDataQCPDataMap
 
typedef QMapIterator< double, QCPDataQCPDataMapIterator
 
typedef QMutableMapIterator< double, QCPDataQCPDataMutableMapIterator
 
typedef QMap< double, QCPCurveDataQCPCurveDataMap
 
typedef QMapIterator< double, QCPCurveDataQCPCurveDataMapIterator
 
typedef QMutableMapIterator< double, QCPCurveDataQCPCurveDataMutableMapIterator
 
typedef QMap< double, QCPBarDataQCPBarDataMap
 
typedef QMapIterator< double, QCPBarDataQCPBarDataMapIterator
 
typedef QMutableMapIterator< double, QCPBarDataQCPBarDataMutableMapIterator
 
typedef QMap< double, QCPFinancialDataQCPFinancialDataMap
 
typedef QMapIterator< double, QCPFinancialDataQCPFinancialDataMapIterator
 
typedef QMutableMapIterator< double, QCPFinancialDataQCPFinancialDataMutableMapIterator
 

Enumerations

enum  QCP::MarginSide {
  QCP::msLeft = 0x01, QCP::msRight = 0x02, QCP::msTop = 0x04, QCP::msBottom = 0x08,
  QCP::msAll = 0xFF, QCP::msNone = 0x00, QCP::msLeft = 0x01, QCP::msRight = 0x02,
  QCP::msTop = 0x04, QCP::msBottom = 0x08, QCP::msAll = 0xFF, QCP::msNone = 0x00,
  QCP::msLeft = 0x01, QCP::msRight = 0x02, QCP::msTop = 0x04, QCP::msBottom = 0x08,
  QCP::msAll = 0xFF, QCP::msNone = 0x00
}
 
enum  QCP::AntialiasedElement {
  QCP::aeAxes = 0x0001, QCP::aeGrid = 0x0002, QCP::aeSubGrid = 0x0004, QCP::aeLegend = 0x0008,
  QCP::aeLegendItems = 0x0010, QCP::aePlottables = 0x0020, QCP::aeItems = 0x0040, QCP::aeScatters = 0x0080,
  QCP::aeErrorBars = 0x0100, QCP::aeFills = 0x0200, QCP::aeZeroLine = 0x0400, QCP::aeAll = 0xFFFF,
  QCP::aeNone = 0x0000, QCP::aeAxes = 0x0001, QCP::aeGrid = 0x0002, QCP::aeSubGrid = 0x0004,
  QCP::aeLegend = 0x0008, QCP::aeLegendItems = 0x0010, QCP::aePlottables = 0x0020, QCP::aeItems = 0x0040,
  QCP::aeScatters = 0x0080, QCP::aeFills = 0x0200, QCP::aeZeroLine = 0x0400, QCP::aeOther = 0x8000,
  QCP::aeAll = 0xFFFF, QCP::aeNone = 0x0000, QCP::aeAxes = 0x0001, QCP::aeGrid = 0x0002,
  QCP::aeSubGrid = 0x0004, QCP::aeLegend = 0x0008, QCP::aeLegendItems = 0x0010, QCP::aePlottables = 0x0020,
  QCP::aeItems = 0x0040, QCP::aeScatters = 0x0080, QCP::aeErrorBars = 0x0100, QCP::aeFills = 0x0200,
  QCP::aeZeroLine = 0x0400, QCP::aeAll = 0xFFFF, QCP::aeNone = 0x0000
}
 
enum  QCP::PlottingHint {
  QCP::phNone = 0x000, QCP::phFastPolylines = 0x001, QCP::phForceRepaint = 0x002, QCP::phCacheLabels = 0x004,
  QCP::phNone = 0x000, QCP::phFastPolylines = 0x001, QCP::phImmediateRefresh = 0x002, QCP::phCacheLabels = 0x004,
  QCP::phNone = 0x000, QCP::phFastPolylines = 0x001, QCP::phForceRepaint = 0x002, QCP::phCacheLabels = 0x004
}
 
enum  QCP::Interaction {
  QCP::iRangeDrag = 0x001, QCP::iRangeZoom = 0x002, QCP::iMultiSelect = 0x004, QCP::iSelectPlottables = 0x008,
  QCP::iSelectAxes = 0x010, QCP::iSelectLegend = 0x020, QCP::iSelectItems = 0x040, QCP::iSelectOther = 0x080,
  QCP::iRangeDrag = 0x001, QCP::iRangeZoom = 0x002, QCP::iMultiSelect = 0x004, QCP::iSelectPlottables = 0x008,
  QCP::iSelectAxes = 0x010, QCP::iSelectLegend = 0x020, QCP::iSelectItems = 0x040, QCP::iSelectOther = 0x080,
  QCP::iRangeDrag = 0x001, QCP::iRangeZoom = 0x002, QCP::iMultiSelect = 0x004, QCP::iSelectPlottables = 0x008,
  QCP::iSelectAxes = 0x010, QCP::iSelectLegend = 0x020, QCP::iSelectItems = 0x040, QCP::iSelectOther = 0x080
}
 

Functions

bool QCP::isInvalidData (double value)
 
bool QCP::isInvalidData (double value1, double value2)
 
void QCP::setMarginValue (QMargins &margins, QCP::MarginSide side, int value)
 
int QCP::getMarginValue (const QMargins &margins, QCP::MarginSide side)
 
 Q_DECLARE_TYPEINFO (QCPScatterStyle, Q_MOVABLE_TYPE)
 
 Q_DECLARE_TYPEINFO (QCPRange, Q_MOVABLE_TYPE)
 
const QCPRange operator+ (const QCPRange &range, double value)
 
const QCPRange operator+ (double value, const QCPRange &range)
 
const QCPRange operator- (const QCPRange &range, double value)
 
const QCPRange operator* (const QCPRange &range, double value)
 
const QCPRange operator* (double value, const QCPRange &range)
 
const QCPRange operator/ (const QCPRange &range, double value)
 
 Q_DECLARE_TYPEINFO (QCPLineEnding, Q_MOVABLE_TYPE)
 
 Q_DECLARE_TYPEINFO (QCPData, Q_MOVABLE_TYPE)
 
 Q_DECLARE_TYPEINFO (QCPCurveData, Q_MOVABLE_TYPE)
 
 Q_DECLARE_TYPEINFO (QCPBarData, Q_MOVABLE_TYPE)
 
 Q_DECLARE_TYPEINFO (QCPFinancialData, Q_MOVABLE_TYPE)
 

Macro Definition Documentation

◆ QCP_LIB_DECL

#define QCP_LIB_DECL

Typedef Documentation

◆ QCPBarDataMap

typedef QMap<double, QCPBarData> QCPBarDataMap

◆ QCPBarDataMapIterator

typedef QMapIterator<double, QCPBarData> QCPBarDataMapIterator

◆ QCPBarDataMutableMapIterator

typedef QMutableMapIterator<double, QCPBarData> QCPBarDataMutableMapIterator

◆ QCPCurveDataMap

typedef QMap<double, QCPCurveData> QCPCurveDataMap

◆ QCPCurveDataMapIterator

typedef QMapIterator<double, QCPCurveData> QCPCurveDataMapIterator

◆ QCPCurveDataMutableMapIterator

typedef QMutableMapIterator<double, QCPCurveData> QCPCurveDataMutableMapIterator

◆ QCPDataMap

typedef QMap<double, QCPData> QCPDataMap

◆ QCPDataMapIterator

typedef QMapIterator<double, QCPData> QCPDataMapIterator

◆ QCPDataMutableMapIterator

typedef QMutableMapIterator<double, QCPData> QCPDataMutableMapIterator

◆ QCPFinancialDataMap

typedef QMap<double, QCPFinancialData> QCPFinancialDataMap

◆ QCPFinancialDataMapIterator

typedef QMapIterator<double, QCPFinancialData> QCPFinancialDataMapIterator

◆ QCPFinancialDataMutableMapIterator

typedef QMutableMapIterator<double, QCPFinancialData> QCPFinancialDataMutableMapIterator

Function Documentation

◆ operator*() [1/2]

const QCPRange operator* ( const QCPRange range,
double  value 
)
inline

Multiplies both boundaries of the range by value.

◆ operator*() [2/2]

const QCPRange operator* ( double  value,
const QCPRange range 
)
inline

Multiplies both boundaries of the range by value.

◆ operator+() [1/2]

const QCPRange operator+ ( const QCPRange range,
double  value 
)
inline

Adds value to both boundaries of the range.

◆ operator+() [2/2]

const QCPRange operator+ ( double  value,
const QCPRange range 
)
inline

Adds value to both boundaries of the range.

◆ operator-()

const QCPRange operator- ( const QCPRange range,
double  value 
)
inline

Subtracts value from both boundaries of the range.

◆ operator/()

const QCPRange operator/ ( const QCPRange range,
double  value 
)
inline

Divides both boundaries of the range by value.

◆ Q_DECLARE_TYPEINFO() [1/7]

Q_DECLARE_TYPEINFO ( QCPScatterStyle  ,
Q_MOVABLE_TYPE   
)

◆ Q_DECLARE_TYPEINFO() [2/7]

Q_DECLARE_TYPEINFO ( QCPRange  ,
Q_MOVABLE_TYPE   
)

◆ Q_DECLARE_TYPEINFO() [3/7]

Q_DECLARE_TYPEINFO ( QCPLineEnding  ,
Q_MOVABLE_TYPE   
)

◆ Q_DECLARE_TYPEINFO() [4/7]

Q_DECLARE_TYPEINFO ( QCPData  ,
Q_MOVABLE_TYPE   
)

◆ Q_DECLARE_TYPEINFO() [5/7]

Q_DECLARE_TYPEINFO ( QCPCurveData  ,
Q_MOVABLE_TYPE   
)

◆ Q_DECLARE_TYPEINFO() [6/7]

Q_DECLARE_TYPEINFO ( QCPBarData  ,
Q_MOVABLE_TYPE   
)

◆ Q_DECLARE_TYPEINFO() [7/7]

Q_DECLARE_TYPEINFO ( QCPFinancialData  ,
Q_MOVABLE_TYPE   
)