Public Member Functions | Protected Member Functions | Protected Attributes | Friends | List of all members
QCPColorScaleAxisRectPrivate Class Reference

#include <qcustomplot.h>

Inheritance diagram for QCPColorScaleAxisRectPrivate:
Inheritance graph
[legend]

Public Member Functions

 QCPColorScaleAxisRectPrivate (QCPColorScale *parentColorScale)
 
- Public Member Functions inherited from QCPAxisRect
QList< QCPAxis * > addAxes (QCPAxis::AxisTypes types)
 
QCPAxisaddAxis (QCPAxis::AxisType type, QCPAxis *axis=0)
 
QList< QCPAxis * > axes (QCPAxis::AxisTypes types) const
 
QList< QCPAxis * > axes () const
 
QCPAxisaxis (QCPAxis::AxisType type, int index=0) const
 
int axisCount (QCPAxis::AxisType type) const
 
QPixmap background () const
 
QBrush backgroundBrush () const
 
bool backgroundScaled () const
 
Qt::AspectRatioMode backgroundScaledMode () const
 
int bottom () const
 
QPoint bottomLeft () const
 
QPoint bottomRight () const
 
QPoint center () const
 
virtual QList< QCPLayoutElement * > elements (bool recursive) const Q_DECL_OVERRIDE
 
QList< QCPGraph * > graphs () const
 
int height () const
 
QCPLayoutInsetinsetLayout () const
 
QList< QCPAbstractItem * > items () const
 
int left () const
 
QList< QCPAbstractPlottable * > plottables () const
 
 QCPAxisRect (QCustomPlot *parentPlot, bool setupDefaultAxes=true)
 
Qt::Orientations rangeDrag () const
 
QList< QCPAxis * > rangeDragAxes (Qt::Orientation orientation)
 
QCPAxisrangeDragAxis (Qt::Orientation orientation)
 
Qt::Orientations rangeZoom () const
 
QList< QCPAxis * > rangeZoomAxes (Qt::Orientation orientation)
 
QCPAxisrangeZoomAxis (Qt::Orientation orientation)
 
double rangeZoomFactor (Qt::Orientation orientation)
 
bool removeAxis (QCPAxis *axis)
 
int right () const
 
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 setRangeDragAxes (QCPAxis *horizontal, QCPAxis *vertical)
 
void setRangeDragAxes (QList< QCPAxis *> axes)
 
void setRangeDragAxes (QList< QCPAxis *> horizontal, QList< QCPAxis *> vertical)
 
void setRangeZoom (Qt::Orientations orientations)
 
void setRangeZoomAxes (QCPAxis *horizontal, QCPAxis *vertical)
 
void setRangeZoomAxes (QList< QCPAxis *> axes)
 
void setRangeZoomAxes (QList< QCPAxis *> horizontal, QList< QCPAxis *> vertical)
 
void setRangeZoomFactor (double horizontalFactor, double verticalFactor)
 
void setRangeZoomFactor (double factor)
 
void setupFullAxesBox (bool connectRanges=false)
 
QSize size () const
 
int top () const
 
QPoint topLeft () const
 
QPoint topRight () const
 
virtual void update (UpdatePhase phase) Q_DECL_OVERRIDE
 
int width () const
 
void zoom (const QRectF &pixelRect)
 
void zoom (const QRectF &pixelRect, const QList< QCPAxis *> &affectedAxes)
 
virtual ~QCPAxisRect ()
 
- Public Member Functions inherited from QCPLayoutElement
QCP::MarginSides autoMargins () const
 
QCPLayoutlayout () const
 
QCPMarginGroupmarginGroup (QCP::MarginSide side) const
 
QHash< QCP::MarginSide, QCPMarginGroup * > marginGroups () const
 
QMargins margins () const
 
virtual QSize maximumOuterSizeHint () const
 
QSize maximumSize () const
 
QMargins minimumMargins () const
 
virtual QSize minimumOuterSizeHint () const
 
QSize minimumSize () const
 
QRect outerRect () const
 
 QCPLayoutElement (QCustomPlot *parentPlot=0)
 
QRect rect () const
 
virtual double selectTest (const QPointF &pos, bool onlySelectable, QVariant *details=0) const Q_DECL_OVERRIDE
 
void setAutoMargins (QCP::MarginSides sides)
 
void setMarginGroup (QCP::MarginSides sides, QCPMarginGroup *group)
 
void setMargins (const QMargins &margins)
 
void setMaximumSize (const QSize &size)
 
void setMaximumSize (int width, int height)
 
void setMinimumMargins (const QMargins &margins)
 
void setMinimumSize (const QSize &size)
 
void setMinimumSize (int width, int height)
 
void setOuterRect (const QRect &rect)
 
void setSizeConstraintRect (SizeConstraintRect constraintRect)
 
SizeConstraintRect sizeConstraintRect () const
 
virtual ~QCPLayoutElement ()
 
- Public Member Functions inherited from QCPLayerable
bool antialiased () const
 
QCPLayerlayer () const
 
QCPLayerableparentLayerable () const
 
QCustomPlotparentPlot () const
 
 QCPLayerable (QCustomPlot *plot, QString targetLayer=QString(), QCPLayerable *parentLayerable=0)
 
bool realVisibility () const
 
void setAntialiased (bool enabled)
 
Q_SLOT bool setLayer (QCPLayer *layer)
 
bool setLayer (const QString &layerName)
 
void setVisible (bool on)
 
bool visible () const
 
virtual ~QCPLayerable ()
 

Protected Member Functions

Q_SLOT void axisSelectableChanged (QCPAxis::SelectableParts selectableParts)
 
Q_SLOT void axisSelectionChanged (QCPAxis::SelectableParts selectedParts)
 
virtual void draw (QCPPainter *painter) Q_DECL_OVERRIDE
 
void updateGradientImage ()
 
- Protected Member Functions inherited from QCPAxisRect
virtual void applyDefaultAntialiasingHint (QCPPainter *painter) const Q_DECL_OVERRIDE
 
virtual int calculateAutoMargin (QCP::MarginSide side) Q_DECL_OVERRIDE
 
void drawBackground (QCPPainter *painter)
 
virtual void layoutChanged () Q_DECL_OVERRIDE
 
virtual void mouseMoveEvent (QMouseEvent *event, const QPointF &startPos) Q_DECL_OVERRIDE
 
virtual void mousePressEvent (QMouseEvent *event, const QVariant &details) Q_DECL_OVERRIDE
 
virtual void mouseReleaseEvent (QMouseEvent *event, const QPointF &startPos) Q_DECL_OVERRIDE
 
void updateAxesOffset (QCPAxis::AxisType type)
 
virtual void wheelEvent (QWheelEvent *event) Q_DECL_OVERRIDE
 
- Protected Member Functions inherited from QCPLayoutElement
virtual void parentPlotInitialized (QCustomPlot *parentPlot) Q_DECL_OVERRIDE
 
- Protected Member Functions inherited from QCPLayerable
void applyAntialiasingHint (QCPPainter *painter, bool localAntialiased, QCP::AntialiasedElement overrideElement) const
 
virtual QRect clipRect () const
 
virtual void deselectEvent (bool *selectionStateChanged)
 
void initializeParentPlot (QCustomPlot *parentPlot)
 
virtual void mouseDoubleClickEvent (QMouseEvent *event, const QVariant &details)
 
bool moveToLayer (QCPLayer *layer, bool prepend)
 
virtual void selectEvent (QMouseEvent *event, bool additive, const QVariant &details, bool *selectionStateChanged)
 
virtual QCP::Interaction selectionCategory () const
 
void setParentLayerable (QCPLayerable *parentLayerable)
 

Protected Attributes

QImage mGradientImage
 
bool mGradientImageInvalidated
 
QCPColorScalemParentColorScale
 
- Protected Attributes inherited from QCPAxisRect
QCP::AntialiasedElements mAADragBackup
 
QHash< QCPAxis::AxisType, QList< QCPAxis * > > mAxes
 
QBrush mBackgroundBrush
 
QPixmap mBackgroundPixmap
 
bool mBackgroundScaled
 
Qt::AspectRatioMode mBackgroundScaledMode
 
bool mDragging
 
QList< QCPRangemDragStartHorzRange
 
QList< QCPRangemDragStartVertRange
 
QCPLayoutInsetmInsetLayout
 
QCP::AntialiasedElements mNotAADragBackup
 
Qt::Orientations mRangeDrag
 
QList< QPointer< QCPAxis > > mRangeDragHorzAxis
 
QList< QPointer< QCPAxis > > mRangeDragVertAxis
 
Qt::Orientations mRangeZoom
 
double mRangeZoomFactorHorz
 
double mRangeZoomFactorVert
 
QList< QPointer< QCPAxis > > mRangeZoomHorzAxis
 
QList< QPointer< QCPAxis > > mRangeZoomVertAxis
 
QPixmap mScaledBackgroundPixmap
 
- Protected Attributes inherited from QCPLayoutElement
QCP::MarginSides mAutoMargins
 
QHash< QCP::MarginSide, QCPMarginGroup * > mMarginGroups
 
QMargins mMargins
 
QSize mMaximumSize
 
QMargins mMinimumMargins
 
QSize mMinimumSize
 
QRect mOuterRect
 
QCPLayoutmParentLayout
 
QRect mRect
 
SizeConstraintRect mSizeConstraintRect
 
- Protected Attributes inherited from QCPLayerable
bool mAntialiased
 
QCPLayermLayer
 
QPointer< QCPLayerablemParentLayerable
 
QCustomPlotmParentPlot
 
bool mVisible
 

Friends

class QCPColorScale
 

Additional Inherited Members

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

Detailed Description

Definition at line 5025 of file qcustomplot.h.

Constructor & Destructor Documentation

◆ QCPColorScaleAxisRectPrivate()

QCPColorScaleAxisRectPrivate::QCPColorScaleAxisRectPrivate ( QCPColorScale parentColorScale)
explicit

Creates a new instance, as a child of parentColorScale.

Definition at line 19798 of file qcustomplot.cpp.

Member Function Documentation

◆ axisSelectableChanged()

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

Definition at line 19928 of file qcustomplot.cpp.

◆ axisSelectionChanged()

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

Definition at line 19903 of file qcustomplot.cpp.

◆ draw()

void QCPColorScaleAxisRectPrivate::draw ( QCPPainter painter)
protectedvirtual

Reimplemented from QCPAxisRect.

Definition at line 19838 of file qcustomplot.cpp.

◆ updateGradientImage()

void QCPColorScaleAxisRectPrivate::updateGradientImage ( )
protected

Definition at line 19860 of file qcustomplot.cpp.

Friends And Related Function Documentation

◆ QCPColorScale

friend class QCPColorScale
friend

Definition at line 5045 of file qcustomplot.h.

Member Data Documentation

◆ mGradientImage

QImage QCPColorScaleAxisRectPrivate::mGradientImage
protected

Definition at line 5032 of file qcustomplot.h.

◆ mGradientImageInvalidated

bool QCPColorScaleAxisRectPrivate::mGradientImageInvalidated
protected

Definition at line 5033 of file qcustomplot.h.

◆ mParentColorScale

QCPColorScale* QCPColorScaleAxisRectPrivate::mParentColorScale
protected

Definition at line 5031 of file qcustomplot.h.


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


graph_rviz_plugin
Author(s): Édouard Pronier, Victor Lamoine - Institut Maupertuis
autogenerated on Mon Feb 28 2022 22:27:31