Vespucci  1.0.0
QCPColorScaleAxisRectPrivate Class Reference

#include <qcustomplot.h>

Inheritance diagram for QCPColorScaleAxisRectPrivate:
QCPAxisRect QCPLayoutElement QCPLayerable

Public Member Functions

 QCPColorScaleAxisRectPrivate (QCPColorScale *parentColorScale)
- Public Member Functions inherited from QCPAxisRect
 QCPAxisRect (QCustomPlot *parentPlot, bool setupDefaultAxes=true)
virtual ~QCPAxisRect ()
QPixmap background () const
bool backgroundScaled () const
Qt::AspectRatioMode backgroundScaledMode () const
Qt::Orientations rangeDrag () const
Qt::Orientations rangeZoom () const
QCPAxisrangeDragAxis (Qt::Orientation orientation)
QCPAxisrangeZoomAxis (Qt::Orientation orientation)
double rangeZoomFactor (Qt::Orientation orientation)
void setBackground (const QPixmap &pm)
void setBackground (const QPixmap &pm, bool scaled, Qt::AspectRatioMode mode=Qt::KeepAspectRatioByExpanding)
void setBackground (const QBrush &brush)
void setBackgroundScaled (bool scaled)
void setBackgroundScaledMode (Qt::AspectRatioMode mode)
void setRangeDrag (Qt::Orientations orientations)
void setRangeZoom (Qt::Orientations orientations)
void setRangeDragAxes (QCPAxis *horizontal, QCPAxis *vertical)
void setRangeZoomAxes (QCPAxis *horizontal, QCPAxis *vertical)
void setRangeZoomFactor (double horizontalFactor, double verticalFactor)
void setRangeZoomFactor (double factor)
int axisCount (QCPAxis::AxisType type) const
QCPAxisaxis (QCPAxis::AxisType type, int index=0) const
QList< QCPAxis * > axes (QCPAxis::AxisTypes types) const
QList< QCPAxis * > axes () const
QCPAxisaddAxis (QCPAxis::AxisType type, QCPAxis *axis=0)
QList< QCPAxis * > addAxes (QCPAxis::AxisTypes types)
bool removeAxis (QCPAxis *axis)
QCPLayoutInsetinsetLayout () const
void setupFullAxesBox (bool connectRanges=false)
QList< QCPAbstractPlottable * > plottables () const
QList< QCPGraph * > graphs () const
QList< QCPAbstractItem * > items () const
int left () const
int right () const
int top () const
int bottom () const
int width () const
int height () const
QSize size () const
QPoint topLeft () const
QPoint topRight () const
QPoint bottomLeft () const
QPoint bottomRight () const
QPoint center () const
virtual void update (UpdatePhase phase)
virtual QList< QCPLayoutElement * > elements (bool recursive) const
- Public Member Functions inherited from QCPLayoutElement
 QCPLayoutElement (QCustomPlot *parentPlot=0)
virtual ~QCPLayoutElement ()
QCPLayoutlayout () const
QRect rect () const
QRect outerRect () const
QMargins margins () const
QMargins minimumMargins () const
QCP::MarginSides autoMargins () const
QSize minimumSize () const
QSize maximumSize () const
QCPMarginGroupmarginGroup (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 QSize minimumSizeHint () const
virtual QSize maximumSizeHint () 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
QCustomPlotparentPlot () const
QCPLayerableparentLayerable () const
QCPLayerlayer () 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 void draw (QCPPainter *painter)
void updateGradientImage ()
Q_SLOT void axisSelectionChanged (QCPAxis::SelectableParts selectedParts)
Q_SLOT void axisSelectableChanged (QCPAxis::SelectableParts selectableParts)
- Protected Member Functions inherited from QCPAxisRect
virtual void applyDefaultAntialiasingHint (QCPPainter *painter) const
virtual int calculateAutoMargin (QCP::MarginSide side)
virtual void mousePressEvent (QMouseEvent *event)
virtual void mouseMoveEvent (QMouseEvent *event)
virtual void mouseReleaseEvent (QMouseEvent *event)
virtual void wheelEvent (QWheelEvent *event)
void drawBackground (QCPPainter *painter)
void updateAxesOffset (QCPAxis::AxisType type)
- Protected Member Functions inherited from QCPLayoutElement
virtual void mouseDoubleClickEvent (QMouseEvent *event)
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

Protected Attributes

QImage mGradientImage
bool mGradientImageInvalidated
- Protected Attributes inherited from QCPAxisRect
QBrush mBackgroundBrush
QPixmap mBackgroundPixmap
QPixmap mScaledBackgroundPixmap
bool mBackgroundScaled
Qt::AspectRatioMode mBackgroundScaledMode
Qt::Orientations mRangeDrag
Qt::Orientations mRangeZoom
QPointer< QCPAxismRangeDragHorzAxis
QPointer< QCPAxismRangeDragVertAxis
QPointer< QCPAxismRangeZoomHorzAxis
QPointer< QCPAxismRangeZoomVertAxis
double mRangeZoomFactorHorz
double mRangeZoomFactorVert
QCPRange mDragStartHorzRange
QCPRange mDragStartVertRange
QCP::AntialiasedElements mAADragBackup
QCP::AntialiasedElements mNotAADragBackup
QPoint mDragStart
bool mDragging
QHash< QCPAxis::AxisType, QList< QCPAxis * > > mAxes
- Protected Attributes inherited from QCPLayoutElement
QSize mMinimumSize
QSize mMaximumSize
QRect mRect
QRect mOuterRect
QMargins mMargins
QMargins mMinimumMargins
QCP::MarginSides mAutoMargins
QHash< QCP::MarginSide, QCPMarginGroup * > mMarginGroups
- Protected Attributes inherited from QCPLayerable
bool mVisible
QPointer< QCPLayerablemParentLayerable
bool mAntialiased


class QCPColorScale

Additional Inherited Members

- Public Types inherited from QCPLayoutElement
enum  UpdatePhase { upPreparation, upMargins, upLayout }
- Signals inherited from QCPLayerable
void layerChanged (QCPLayer *newLayer)

Detailed Description

Definition at line 2412 of file qcustomplot.h.

Constructor & Destructor Documentation

QCPColorScaleAxisRectPrivate::QCPColorScaleAxisRectPrivate ( QCPColorScale parentColorScale)

Creates a new instance, as a child of parentColorScale.

Definition at line 14742 of file qcustomplot.cpp.

Member Function Documentation

void QCPColorScaleAxisRectPrivate::axisSelectableChanged ( QCPAxis::SelectableParts  selectableParts)

Definition at line 14866 of file qcustomplot.cpp.

void QCPColorScaleAxisRectPrivate::axisSelectionChanged ( QCPAxis::SelectableParts  selectedParts)

Definition at line 14842 of file qcustomplot.cpp.

void QCPColorScaleAxisRectPrivate::draw ( QCPPainter painter)

Reimplemented from QCPAxisRect.

Definition at line 14778 of file qcustomplot.cpp.

void QCPColorScaleAxisRectPrivate::updateGradientImage ( )

Definition at line 14800 of file qcustomplot.cpp.

Friends And Related Function Documentation

friend class QCPColorScale

Definition at line 2432 of file qcustomplot.h.

Member Data Documentation

QImage QCPColorScaleAxisRectPrivate::mGradientImage

Definition at line 2419 of file qcustomplot.h.

bool QCPColorScaleAxisRectPrivate::mGradientImageInvalidated

Definition at line 2420 of file qcustomplot.h.

QCPColorScale* QCPColorScaleAxisRectPrivate::mParentColorScale

Definition at line 2418 of file qcustomplot.h.

The documentation for this class was generated from the following files: