#include </home/florent/devel/release/src/gepetto-viewer/plugins/pyqcustomplot/qcustomplot-1.3.2/qcustomplot.h>
Public Types | |
enum | UpdatePhase { upPreparation, upMargins, upLayout, upPreparation, upMargins, upLayout, upPreparation, upMargins, upLayout } |
enum | UpdatePhase { upPreparation, upMargins, upLayout, upPreparation, upMargins, upLayout, upPreparation, upMargins, upLayout } |
enum | SizeConstraintRect { scrInnerRect, scrOuterRect } |
enum | UpdatePhase { upPreparation, upMargins, upLayout, upPreparation, upMargins, upLayout, upPreparation, upMargins, upLayout } |
Public Member Functions | |
QCPLayoutElement (QCustomPlot *parentPlot=0) | |
virtual | ~QCPLayoutElement () |
QCPLayout * | layout () const |
QRect | rect () const |
QRect | outerRect () const |
QMargins | margins () const |
QMargins | minimumMargins () const |
QCP::MarginSides | autoMargins () const |
QSize | minimumSize () const |
QSize | maximumSize () const |
QCPMarginGroup * | marginGroup (QCP::MarginSide side) const |
QHash< QCP::MarginSide, QCPMarginGroup * > | marginGroups () const |
void | setOuterRect (const QRect &rect) |
void | setMargins (const QMargins &margins) |
void | setMinimumMargins (const QMargins &margins) |
void | setAutoMargins (QCP::MarginSides sides) |
void | setMinimumSize (const QSize &size) |
void | setMinimumSize (int width, int height) |
void | setMaximumSize (const QSize &size) |
void | setMaximumSize (int width, int height) |
void | setMarginGroup (QCP::MarginSides sides, QCPMarginGroup *group) |
virtual void | update (UpdatePhase phase) |
virtual QSize | minimumSizeHint () const |
virtual QSize | maximumSizeHint () const |
virtual QList< QCPLayoutElement * > | elements (bool recursive) const |
virtual double | selectTest (const QPointF &pos, bool onlySelectable, QVariant *details=0) const |
QCPLayoutElement (QCustomPlot *parentPlot=0) | |
virtual | ~QCPLayoutElement () |
QCPLayout * | layout () const |
QRect | rect () const |
QRect | outerRect () const |
QMargins | margins () const |
QMargins | minimumMargins () const |
QCP::MarginSides | autoMargins () const |
QSize | minimumSize () const |
QSize | maximumSize () const |
SizeConstraintRect | sizeConstraintRect () const |
QCPMarginGroup * | marginGroup (QCP::MarginSide side) const |
QHash< QCP::MarginSide, QCPMarginGroup * > | marginGroups () const |
void | setOuterRect (const QRect &rect) |
void | setMargins (const QMargins &margins) |
void | setMinimumMargins (const QMargins &margins) |
void | setAutoMargins (QCP::MarginSides sides) |
void | setMinimumSize (const QSize &size) |
void | setMinimumSize (int width, int height) |
void | setMaximumSize (const QSize &size) |
void | setMaximumSize (int width, int height) |
void | setSizeConstraintRect (SizeConstraintRect constraintRect) |
void | setMarginGroup (QCP::MarginSides sides, QCPMarginGroup *group) |
virtual void | update (UpdatePhase phase) |
virtual QSize | minimumOuterSizeHint () const |
virtual QSize | maximumOuterSizeHint () const |
virtual QList< QCPLayoutElement * > | elements (bool recursive) const |
virtual double | selectTest (const QPointF &pos, bool onlySelectable, QVariant *details=0) const Q_DECL_OVERRIDE |
QCPLayoutElement (QCustomPlot *parentPlot=0) | |
virtual | ~QCPLayoutElement () |
QCPLayout * | layout () const |
QRect | rect () const |
QRect | outerRect () const |
QMargins | margins () const |
QMargins | minimumMargins () const |
QCP::MarginSides | autoMargins () const |
QSize | minimumSize () const |
QSize | maximumSize () const |
QCPMarginGroup * | marginGroup (QCP::MarginSide side) const |
QHash< QCP::MarginSide, QCPMarginGroup * > | marginGroups () const |
void | setOuterRect (const QRect &rect) |
void | setMargins (const QMargins &margins) |
void | setMinimumMargins (const QMargins &margins) |
void | setAutoMargins (QCP::MarginSides sides) |
void | setMinimumSize (const QSize &size) |
void | setMinimumSize (int width, int height) |
void | setMaximumSize (const QSize &size) |
void | setMaximumSize (int width, int height) |
void | setMarginGroup (QCP::MarginSides sides, QCPMarginGroup *group) |
virtual void | update (UpdatePhase phase) |
virtual QSize | minimumSizeHint () const |
virtual QSize | maximumSizeHint () const |
virtual QList< QCPLayoutElement * > | elements (bool recursive) const |
virtual double | selectTest (const QPointF &pos, bool onlySelectable, QVariant *details=0) const |
Public Member Functions inherited from QCPLayerable | |
QCPLayerable (QCustomPlot *plot, QString targetLayer=QString(), QCPLayerable *parentLayerable=0) | |
~QCPLayerable () | |
bool | visible () const |
QCustomPlot * | parentPlot () const |
QCPLayerable * | parentLayerable () const |
QCPLayer * | layer () const |
bool | antialiased () const |
void | setVisible (bool on) |
Q_SLOT bool | setLayer (QCPLayer *layer) |
bool | setLayer (const QString &layerName) |
void | setAntialiased (bool enabled) |
bool | realVisibility () const |
QCPLayerable (QCustomPlot *plot, QString targetLayer=QString(), QCPLayerable *parentLayerable=0) | |
virtual | ~QCPLayerable () |
bool | visible () const |
QCustomPlot * | parentPlot () const |
QCPLayerable * | parentLayerable () const |
QCPLayer * | layer () const |
bool | antialiased () const |
void | setVisible (bool on) |
Q_SLOT bool | setLayer (QCPLayer *layer) |
bool | setLayer (const QString &layerName) |
void | setAntialiased (bool enabled) |
bool | realVisibility () const |
QCPLayerable (QCustomPlot *plot, QString targetLayer=QString(), QCPLayerable *parentLayerable=0) | |
~QCPLayerable () | |
bool | visible () const |
QCustomPlot * | parentPlot () const |
QCPLayerable * | parentLayerable () const |
QCPLayer * | layer () const |
bool | antialiased () const |
void | setVisible (bool on) |
Q_SLOT bool | setLayer (QCPLayer *layer) |
bool | setLayer (const QString &layerName) |
void | setAntialiased (bool enabled) |
bool | realVisibility () const |
Protected Member Functions | |
virtual int | calculateAutoMargin (QCP::MarginSide side) |
virtual void | mousePressEvent (QMouseEvent *event) |
virtual void | mouseMoveEvent (QMouseEvent *event) |
virtual void | mouseReleaseEvent (QMouseEvent *event) |
virtual void | mouseDoubleClickEvent (QMouseEvent *event) |
virtual void | wheelEvent (QWheelEvent *event) |
virtual void | applyDefaultAntialiasingHint (QCPPainter *painter) const |
virtual void | draw (QCPPainter *painter) |
virtual void | parentPlotInitialized (QCustomPlot *parentPlot) |
virtual int | calculateAutoMargin (QCP::MarginSide side) |
virtual void | layoutChanged () |
virtual void | applyDefaultAntialiasingHint (QCPPainter *painter) const Q_DECL_OVERRIDE |
virtual void | draw (QCPPainter *painter) Q_DECL_OVERRIDE |
virtual void | parentPlotInitialized (QCustomPlot *parentPlot) Q_DECL_OVERRIDE |
virtual int | calculateAutoMargin (QCP::MarginSide side) |
virtual void | mousePressEvent (QMouseEvent *event) |
virtual void | mouseMoveEvent (QMouseEvent *event) |
virtual void | mouseReleaseEvent (QMouseEvent *event) |
virtual void | mouseDoubleClickEvent (QMouseEvent *event) |
virtual void | wheelEvent (QWheelEvent *event) |
virtual void | applyDefaultAntialiasingHint (QCPPainter *painter) const |
virtual void | draw (QCPPainter *painter) |
virtual void | parentPlotInitialized (QCustomPlot *parentPlot) |
Protected Member Functions inherited from QCPLayerable | |
virtual QCP::Interaction | selectionCategory () const |
virtual QRect | clipRect () const |
virtual void | selectEvent (QMouseEvent *event, bool additive, const QVariant &details, bool *selectionStateChanged) |
virtual void | deselectEvent (bool *selectionStateChanged) |
void | initializeParentPlot (QCustomPlot *parentPlot) |
void | setParentLayerable (QCPLayerable *parentLayerable) |
bool | moveToLayer (QCPLayer *layer, bool prepend) |
void | applyAntialiasingHint (QCPPainter *painter, bool localAntialiased, QCP::AntialiasedElement overrideElement) const |
virtual QCP::Interaction | selectionCategory () const |
virtual QRect | clipRect () const |
virtual void | selectEvent (QMouseEvent *event, bool additive, const QVariant &details, bool *selectionStateChanged) |
virtual void | deselectEvent (bool *selectionStateChanged) |
virtual void | mousePressEvent (QMouseEvent *event, const QVariant &details) |
virtual void | mouseMoveEvent (QMouseEvent *event, const QPointF &startPos) |
virtual void | mouseReleaseEvent (QMouseEvent *event, const QPointF &startPos) |
virtual void | mouseDoubleClickEvent (QMouseEvent *event, const QVariant &details) |
void | initializeParentPlot (QCustomPlot *parentPlot) |
void | setParentLayerable (QCPLayerable *parentLayerable) |
bool | moveToLayer (QCPLayer *layer, bool prepend) |
void | applyAntialiasingHint (QCPPainter *painter, bool localAntialiased, QCP::AntialiasedElement overrideElement) const |
virtual QCP::Interaction | selectionCategory () const |
virtual QRect | clipRect () const |
virtual void | selectEvent (QMouseEvent *event, bool additive, const QVariant &details, bool *selectionStateChanged) |
virtual void | deselectEvent (bool *selectionStateChanged) |
void | initializeParentPlot (QCustomPlot *parentPlot) |
void | setParentLayerable (QCPLayerable *parentLayerable) |
bool | moveToLayer (QCPLayer *layer, bool prepend) |
void | applyAntialiasingHint (QCPPainter *painter, bool localAntialiased, QCP::AntialiasedElement overrideElement) const |
Protected Attributes | |
QCPLayout * | mParentLayout |
QSize | mMinimumSize |
QSize | mMaximumSize |
QRect | mRect |
QRect | mOuterRect |
QMargins | mMargins |
QMargins | mMinimumMargins |
QCP::MarginSides | mAutoMargins |
QHash< QCP::MarginSide, QCPMarginGroup * > | mMarginGroups |
SizeConstraintRect | mSizeConstraintRect |
Protected Attributes inherited from QCPLayerable | |
bool | mVisible |
QCustomPlot * | mParentPlot |
QPointer< QCPLayerable > | mParentLayerable |
QCPLayer * | mLayer |
bool | mAntialiased |
Friends | |
class | QCustomPlot |
class | QCPLayout |
class | QCPMarginGroup |
Additional Inherited Members | |
Signals inherited from QCPLayerable | |
void | layerChanged (QCPLayer *newLayer) |
void | layerChanged (QCPLayer *newLayer) |
void | layerChanged (QCPLayer *newLayer) |
Defines to which rect of a layout element the size constraints that can be set via setMinimumSize and setMaximumSize apply. The outer rect (outerRect) includes the margins (e.g. in the case of a QCPAxisRect the axis labels), whereas the inner rect (rect) does not.
Enumerator | |
---|---|
scrInnerRect | Minimum/Maximum size constraints apply to inner rect. |
scrOuterRect | Minimum/Maximum size constraints apply to outer rect, thus include layout element margins. |
Defines the phases of the update process, that happens just before a replot. At each phase, update is called with the according UpdatePhase value.
Defines the phases of the update process, that happens just before a replot. At each phase, update is called with the according UpdatePhase value.
Defines the phases of the update process, that happens just before a replot. At each phase, update is called with the according UpdatePhase value.
|
explicit |
|
virtual |
|
explicit |
|
virtual |
|
explicit |
|
virtual |
|
inlineprotectedvirtual |
Implements QCPLayerable.
Reimplemented in QCPColorScale, QCPTextElement, QCPLegend, QCPAbstractLegendItem, QCPAxisRect, QCPColorScale, QCPColorScale, QCPPlotTitle, QCPPlotTitle, QCPLegend, QCPLegend, QCPAbstractLegendItem, QCPAbstractLegendItem, QCPAxisRect, and QCPAxisRect.
|
inlineprotectedvirtual |
Implements QCPLayerable.
Reimplemented in QCPColorScale, QCPTextElement, QCPLegend, QCPAbstractLegendItem, QCPAxisRect, QCPColorScale, QCPColorScale, QCPPlotTitle, QCPPlotTitle, QCPLegend, QCPLegend, QCPAbstractLegendItem, QCPAbstractLegendItem, QCPAxisRect, and QCPAxisRect.
|
inlineprotectedvirtual |
Implements QCPLayerable.
Reimplemented in QCPColorScale, QCPTextElement, QCPLegend, QCPAbstractLegendItem, QCPAxisRect, QCPColorScale, QCPColorScale, QCPPlotTitle, QCPPlotTitle, QCPLegend, QCPLegend, QCPAbstractLegendItem, QCPAbstractLegendItem, QCPAxisRect, and QCPAxisRect.
|
inline |
|
inline |
|
inline |
|
protectedvirtual |
Reimplemented in QCPAxisRect, QCPAxisRect, and QCPAxisRect.
|
protectedvirtual |
Reimplemented in QCPAxisRect, QCPAxisRect, and QCPAxisRect.
|
protectedvirtual |
Reimplemented in QCPAxisRect, QCPAxisRect, and QCPAxisRect.
|
inlineprotectedvirtual |
Implements QCPLayerable.
Reimplemented in QCPColorScaleAxisRectPrivate, QCPTextElement, QCPLegend, QCPPlottableLegendItem, QCPAbstractLegendItem, QCPAxisRect, QCPColorScaleAxisRectPrivate, QCPColorScaleAxisRectPrivate, QCPPlotTitle, QCPPlotTitle, QCPLegend, QCPLegend, QCPPlottableLegendItem, QCPPlottableLegendItem, QCPAbstractLegendItem, QCPAbstractLegendItem, QCPAxisRect, and QCPAxisRect.
|
inlineprotectedvirtual |
Implements QCPLayerable.
Reimplemented in QCPColorScaleAxisRectPrivate, QCPTextElement, QCPLegend, QCPPlottableLegendItem, QCPAbstractLegendItem, QCPAxisRect, QCPColorScaleAxisRectPrivate, QCPColorScaleAxisRectPrivate, QCPPlotTitle, QCPPlotTitle, QCPLegend, QCPLegend, QCPPlottableLegendItem, QCPPlottableLegendItem, QCPAbstractLegendItem, QCPAbstractLegendItem, QCPAxisRect, and QCPAxisRect.
|
inlineprotectedvirtual |
Implements QCPLayerable.
Reimplemented in QCPColorScaleAxisRectPrivate, QCPTextElement, QCPLegend, QCPPlottableLegendItem, QCPAbstractLegendItem, QCPAxisRect, QCPColorScaleAxisRectPrivate, QCPColorScaleAxisRectPrivate, QCPPlotTitle, QCPPlotTitle, QCPLegend, QCPLegend, QCPPlottableLegendItem, QCPPlottableLegendItem, QCPAbstractLegendItem, QCPAbstractLegendItem, QCPAxisRect, and QCPAxisRect.
|
virtual |
Reimplemented in QCPAxisRect, QCPAxisRect, QCPAxisRect, QCPLayoutGrid, QCPLayout, QCPLayoutGrid, QCPLayoutGrid, QCPLayout, and QCPLayout.
|
virtual |
Reimplemented in QCPAxisRect, QCPAxisRect, QCPAxisRect, QCPLayoutGrid, QCPLayout, QCPLayoutGrid, QCPLayoutGrid, QCPLayout, and QCPLayout.
|
virtual |
Reimplemented in QCPAxisRect, QCPAxisRect, QCPAxisRect, QCPLayoutGrid, QCPLayout, QCPLayoutGrid, QCPLayoutGrid, QCPLayout, and QCPLayout.
|
inline |
|
inline |
|
inline |
|
protectedvirtual |
Reimplemented in QCPAxisRect.
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
virtual |
Reimplemented in QCPTextElement, and QCPLayoutGrid.
|
inline |
|
inline |
|
inline |
|
virtual |
Reimplemented in QCPPlotTitle, QCPPlotTitle, QCPLayoutGrid, and QCPLayoutGrid.
|
virtual |
Reimplemented in QCPPlotTitle, QCPPlotTitle, QCPLayoutGrid, and QCPLayoutGrid.
|
inline |
|
inline |
|
inline |
|
virtual |
Reimplemented in QCPTextElement, QCPPlottableLegendItem, and QCPLayoutGrid.
|
inline |
|
inline |
|
inline |
|
virtual |
Reimplemented in QCPPlotTitle, QCPPlotTitle, QCPPlottableLegendItem, QCPPlottableLegendItem, QCPLayoutGrid, and QCPLayoutGrid.
|
virtual |
Reimplemented in QCPPlotTitle, QCPPlotTitle, QCPPlottableLegendItem, QCPPlottableLegendItem, QCPLayoutGrid, and QCPLayoutGrid.
|
inlineprotectedvirtual |
|
inlineprotectedvirtual |
|
inlineprotectedvirtual |
Reimplemented in QCPColorScale, QCPColorScale, QCPAxisRect, and QCPAxisRect.
|
inlineprotectedvirtual |
Reimplemented in QCPColorScale, QCPColorScale, QCPAxisRect, and QCPAxisRect.
|
inlineprotectedvirtual |
Reimplemented in QCPColorScale, QCPColorScale, QCPAxisRect, and QCPAxisRect.
|
inlineprotectedvirtual |
Reimplemented in QCPColorScale, QCPColorScale, QCPAxisRect, and QCPAxisRect.
|
inlineprotectedvirtual |
Reimplemented in QCPColorScale, QCPColorScale, QCPAxisRect, and QCPAxisRect.
|
inlineprotectedvirtual |
Reimplemented in QCPColorScale, QCPColorScale, QCPAxisRect, and QCPAxisRect.
|
inline |
|
inline |
|
inline |
|
protectedvirtual |
Reimplemented from QCPLayerable.
|
protectedvirtual |
Reimplemented from QCPLayerable.
|
protectedvirtual |
Reimplemented from QCPLayerable.
|
inline |
|
inline |
|
inline |
|
virtual |
Reimplemented from QCPLayerable.
Reimplemented in QCPTextElement, QCPLegend, QCPAbstractLegendItem, QCPPlotTitle, QCPPlotTitle, QCPLegend, QCPLegend, QCPAbstractLegendItem, QCPAbstractLegendItem, QCPLayoutInset, QCPLayoutInset, and QCPLayoutInset.
|
virtual |
Reimplemented from QCPLayerable.
Reimplemented in QCPTextElement, QCPLegend, QCPAbstractLegendItem, QCPPlotTitle, QCPPlotTitle, QCPLegend, QCPLegend, QCPAbstractLegendItem, QCPAbstractLegendItem, QCPLayoutInset, QCPLayoutInset, and QCPLayoutInset.
|
virtual |
Reimplemented from QCPLayerable.
Reimplemented in QCPTextElement, QCPLegend, QCPAbstractLegendItem, QCPPlotTitle, QCPPlotTitle, QCPLegend, QCPLegend, QCPAbstractLegendItem, QCPAbstractLegendItem, QCPLayoutInset, QCPLayoutInset, and QCPLayoutInset.
void QCPLayoutElement::setAutoMargins | ( | QCP::MarginSides | sides | ) |
void QCPLayoutElement::setAutoMargins | ( | QCP::MarginSides | sides | ) |
void QCPLayoutElement::setAutoMargins | ( | QCP::MarginSides | sides | ) |
void QCPLayoutElement::setMarginGroup | ( | QCP::MarginSides | sides, |
QCPMarginGroup * | group | ||
) |
void QCPLayoutElement::setMarginGroup | ( | QCP::MarginSides | sides, |
QCPMarginGroup * | group | ||
) |
void QCPLayoutElement::setMarginGroup | ( | QCP::MarginSides | sides, |
QCPMarginGroup * | group | ||
) |
void QCPLayoutElement::setMargins | ( | const QMargins & | margins | ) |
void QCPLayoutElement::setMargins | ( | const QMargins & | margins | ) |
void QCPLayoutElement::setMargins | ( | const QMargins & | margins | ) |
void QCPLayoutElement::setMaximumSize | ( | const QSize & | size | ) |
void QCPLayoutElement::setMaximumSize | ( | const QSize & | size | ) |
void QCPLayoutElement::setMaximumSize | ( | int | width, |
int | height | ||
) |
void QCPLayoutElement::setMaximumSize | ( | int | width, |
int | height | ||
) |
void QCPLayoutElement::setMaximumSize | ( | const QSize & | size | ) |
void QCPLayoutElement::setMaximumSize | ( | int | width, |
int | height | ||
) |
void QCPLayoutElement::setMinimumMargins | ( | const QMargins & | margins | ) |
void QCPLayoutElement::setMinimumMargins | ( | const QMargins & | margins | ) |
void QCPLayoutElement::setMinimumMargins | ( | const QMargins & | margins | ) |
void QCPLayoutElement::setMinimumSize | ( | const QSize & | size | ) |
void QCPLayoutElement::setMinimumSize | ( | const QSize & | size | ) |
void QCPLayoutElement::setMinimumSize | ( | int | width, |
int | height | ||
) |
void QCPLayoutElement::setMinimumSize | ( | int | width, |
int | height | ||
) |
void QCPLayoutElement::setMinimumSize | ( | const QSize & | size | ) |
void QCPLayoutElement::setMinimumSize | ( | int | width, |
int | height | ||
) |
void QCPLayoutElement::setOuterRect | ( | const QRect & | rect | ) |
void QCPLayoutElement::setOuterRect | ( | const QRect & | rect | ) |
void QCPLayoutElement::setOuterRect | ( | const QRect & | rect | ) |
void QCPLayoutElement::setSizeConstraintRect | ( | SizeConstraintRect | constraintRect | ) |
|
inline |
|
virtual |
Reimplemented in QCPColorScale, QCPAxisRect, QCPColorScale, QCPColorScale, QCPAxisRect, QCPAxisRect, QCPLayout, QCPLayout, and QCPLayout.
|
virtual |
Reimplemented in QCPColorScale, QCPAxisRect, QCPColorScale, QCPColorScale, QCPAxisRect, QCPAxisRect, QCPLayout, QCPLayout, and QCPLayout.
|
virtual |
Reimplemented in QCPColorScale, QCPAxisRect, QCPColorScale, QCPColorScale, QCPAxisRect, QCPAxisRect, QCPLayout, QCPLayout, and QCPLayout.
|
inlineprotectedvirtual |
Reimplemented from QCPLayerable.
Reimplemented in QCPColorScale, QCPAxisRect, QCPColorScale, QCPColorScale, QCPAxisRect, and QCPAxisRect.
|
inlineprotectedvirtual |
Reimplemented from QCPLayerable.
Reimplemented in QCPColorScale, QCPAxisRect, QCPColorScale, QCPColorScale, QCPAxisRect, and QCPAxisRect.
|
friend |
|
friend |
|
friend |
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |