gepetto-viewer 6.1.0
An user-friendly Graphical Interface
Loading...
Searching...
No Matches
QCPAxisPainterPrivate Class Reference

#include </local/robotpkg/var/tmp/robotpkg/graphics/py-qt-gepetto-viewer/work/gepetto-viewer-6.1.0/plugins/pyqcustomplot/qcustomplot-1.3.2/qcustomplot.h>

Collaboration diagram for QCPAxisPainterPrivate:

Classes

struct  CachedLabel
struct  TickLabelData

Public Member Functions

 QCPAxisPainterPrivate (QCustomPlot *parentPlot)
virtual ~QCPAxisPainterPrivate ()
virtual void draw (QCPPainter *painter)
virtual int size () const
void clearCache ()
QRect axisSelectionBox () const
QRect tickLabelsSelectionBox () const
QRect labelSelectionBox () const
 QCPAxisPainterPrivate (QCustomPlot *parentPlot)
virtual ~QCPAxisPainterPrivate ()
virtual void draw (QCPPainter *painter)
virtual int size () const
void clearCache ()
QRect axisSelectionBox () const
QRect tickLabelsSelectionBox () const
QRect labelSelectionBox () const
 QCPAxisPainterPrivate (QCustomPlot *parentPlot)
virtual ~QCPAxisPainterPrivate ()
virtual void draw (QCPPainter *painter)
virtual int size () const
void clearCache ()
QRect axisSelectionBox () const
QRect tickLabelsSelectionBox () const
QRect labelSelectionBox () const

Public Attributes

QCPAxis::AxisType type
QPen basePen
QCPLineEnding lowerEnding
QCPLineEnding upperEnding
int labelPadding
QFont labelFont
QColor labelColor
QString label
int tickLabelPadding
double tickLabelRotation
QCPAxis::LabelSide tickLabelSide
bool substituteExponent
bool numberMultiplyCross
int tickLengthIn
int tickLengthOut
int subTickLengthIn
int subTickLengthOut
QPen tickPen
QPen subTickPen
QFont tickLabelFont
QColor tickLabelColor
QRect axisRect
QRect viewportRect
double offset
bool abbreviateDecimalPowers
bool reversedEndings
QVector< double > subTickPositions
QVector< double > tickPositions
QVector< QString > tickLabels

Protected Member Functions

virtual QByteArray generateLabelParameterHash () const
virtual void placeTickLabel (QCPPainter *painter, double position, int distanceToAxis, const QString &text, QSize *tickLabelsSize)
virtual void drawTickLabel (QCPPainter *painter, double x, double y, const TickLabelData &labelData) const
virtual TickLabelData getTickLabelData (const QFont &font, const QString &text) const
virtual QPointF getTickLabelDrawOffset (const TickLabelData &labelData) const
virtual void getMaxTickLabelSize (const QFont &font, const QString &text, QSize *tickLabelsSize) const
virtual QByteArray generateLabelParameterHash () const
virtual void placeTickLabel (QCPPainter *painter, double position, int distanceToAxis, const QString &text, QSize *tickLabelsSize)
virtual void drawTickLabel (QCPPainter *painter, double x, double y, const TickLabelData &labelData) const
virtual TickLabelData getTickLabelData (const QFont &font, const QString &text) const
virtual QPointF getTickLabelDrawOffset (const TickLabelData &labelData) const
virtual void getMaxTickLabelSize (const QFont &font, const QString &text, QSize *tickLabelsSize) const
virtual QByteArray generateLabelParameterHash () const
virtual void placeTickLabel (QCPPainter *painter, double position, int distanceToAxis, const QString &text, QSize *tickLabelsSize)
virtual void drawTickLabel (QCPPainter *painter, double x, double y, const TickLabelData &labelData) const
virtual TickLabelData getTickLabelData (const QFont &font, const QString &text) const
virtual QPointF getTickLabelDrawOffset (const TickLabelData &labelData) const
virtual void getMaxTickLabelSize (const QFont &font, const QString &text, QSize *tickLabelsSize) const

Protected Attributes

QCustomPlot * mParentPlot
QByteArray mLabelParameterHash
QCache< QString, CachedLabel > mLabelCache
QRect mAxisSelectionBox
QRect mTickLabelsSelectionBox
QRect mLabelSelectionBox

Constructor & Destructor Documentation

◆ QCPAxisPainterPrivate() [1/3]

QCPAxisPainterPrivate::QCPAxisPainterPrivate ( QCustomPlot * parentPlot)
explicit

◆ ~QCPAxisPainterPrivate() [1/3]

virtual QCPAxisPainterPrivate::~QCPAxisPainterPrivate ( )
virtual

◆ QCPAxisPainterPrivate() [2/3]

QCPAxisPainterPrivate::QCPAxisPainterPrivate ( QCustomPlot * parentPlot)
explicit

◆ ~QCPAxisPainterPrivate() [2/3]

virtual QCPAxisPainterPrivate::~QCPAxisPainterPrivate ( )
virtual

◆ QCPAxisPainterPrivate() [3/3]

QCPAxisPainterPrivate::QCPAxisPainterPrivate ( QCustomPlot * parentPlot)
explicit

◆ ~QCPAxisPainterPrivate() [3/3]

virtual QCPAxisPainterPrivate::~QCPAxisPainterPrivate ( )
virtual

Member Function Documentation

◆ axisSelectionBox() [1/3]

QRect QCPAxisPainterPrivate::axisSelectionBox ( ) const
inline

◆ axisSelectionBox() [2/3]

QRect QCPAxisPainterPrivate::axisSelectionBox ( ) const
inline

◆ axisSelectionBox() [3/3]

QRect QCPAxisPainterPrivate::axisSelectionBox ( ) const
inline

◆ clearCache() [1/3]

void QCPAxisPainterPrivate::clearCache ( )

◆ clearCache() [2/3]

void QCPAxisPainterPrivate::clearCache ( )

◆ clearCache() [3/3]

void QCPAxisPainterPrivate::clearCache ( )

◆ draw() [1/3]

virtual void QCPAxisPainterPrivate::draw ( QCPPainter * painter)
virtual

◆ draw() [2/3]

virtual void QCPAxisPainterPrivate::draw ( QCPPainter * painter)
virtual

◆ draw() [3/3]

virtual void QCPAxisPainterPrivate::draw ( QCPPainter * painter)
virtual

◆ drawTickLabel() [1/3]

virtual void QCPAxisPainterPrivate::drawTickLabel ( QCPPainter * painter,
double x,
double y,
const TickLabelData & labelData ) const
protectedvirtual

◆ drawTickLabel() [2/3]

virtual void QCPAxisPainterPrivate::drawTickLabel ( QCPPainter * painter,
double x,
double y,
const TickLabelData & labelData ) const
protectedvirtual

◆ drawTickLabel() [3/3]

virtual void QCPAxisPainterPrivate::drawTickLabel ( QCPPainter * painter,
double x,
double y,
const TickLabelData & labelData ) const
protectedvirtual

◆ generateLabelParameterHash() [1/3]

virtual QByteArray QCPAxisPainterPrivate::generateLabelParameterHash ( ) const
protectedvirtual

◆ generateLabelParameterHash() [2/3]

virtual QByteArray QCPAxisPainterPrivate::generateLabelParameterHash ( ) const
protectedvirtual

◆ generateLabelParameterHash() [3/3]

virtual QByteArray QCPAxisPainterPrivate::generateLabelParameterHash ( ) const
protectedvirtual

◆ getMaxTickLabelSize() [1/3]

virtual void QCPAxisPainterPrivate::getMaxTickLabelSize ( const QFont & font,
const QString & text,
QSize * tickLabelsSize ) const
protectedvirtual

◆ getMaxTickLabelSize() [2/3]

virtual void QCPAxisPainterPrivate::getMaxTickLabelSize ( const QFont & font,
const QString & text,
QSize * tickLabelsSize ) const
protectedvirtual

◆ getMaxTickLabelSize() [3/3]

virtual void QCPAxisPainterPrivate::getMaxTickLabelSize ( const QFont & font,
const QString & text,
QSize * tickLabelsSize ) const
protectedvirtual

◆ getTickLabelData() [1/3]

virtual TickLabelData QCPAxisPainterPrivate::getTickLabelData ( const QFont & font,
const QString & text ) const
protectedvirtual

◆ getTickLabelData() [2/3]

virtual TickLabelData QCPAxisPainterPrivate::getTickLabelData ( const QFont & font,
const QString & text ) const
protectedvirtual

◆ getTickLabelData() [3/3]

virtual TickLabelData QCPAxisPainterPrivate::getTickLabelData ( const QFont & font,
const QString & text ) const
protectedvirtual

◆ getTickLabelDrawOffset() [1/3]

virtual QPointF QCPAxisPainterPrivate::getTickLabelDrawOffset ( const TickLabelData & labelData) const
protectedvirtual

◆ getTickLabelDrawOffset() [2/3]

virtual QPointF QCPAxisPainterPrivate::getTickLabelDrawOffset ( const TickLabelData & labelData) const
protectedvirtual

◆ getTickLabelDrawOffset() [3/3]

virtual QPointF QCPAxisPainterPrivate::getTickLabelDrawOffset ( const TickLabelData & labelData) const
protectedvirtual

◆ labelSelectionBox() [1/3]

QRect QCPAxisPainterPrivate::labelSelectionBox ( ) const
inline

◆ labelSelectionBox() [2/3]

QRect QCPAxisPainterPrivate::labelSelectionBox ( ) const
inline

◆ labelSelectionBox() [3/3]

QRect QCPAxisPainterPrivate::labelSelectionBox ( ) const
inline

◆ placeTickLabel() [1/3]

virtual void QCPAxisPainterPrivate::placeTickLabel ( QCPPainter * painter,
double position,
int distanceToAxis,
const QString & text,
QSize * tickLabelsSize )
protectedvirtual

◆ placeTickLabel() [2/3]

virtual void QCPAxisPainterPrivate::placeTickLabel ( QCPPainter * painter,
double position,
int distanceToAxis,
const QString & text,
QSize * tickLabelsSize )
protectedvirtual

◆ placeTickLabel() [3/3]

virtual void QCPAxisPainterPrivate::placeTickLabel ( QCPPainter * painter,
double position,
int distanceToAxis,
const QString & text,
QSize * tickLabelsSize )
protectedvirtual

◆ size() [1/3]

virtual int QCPAxisPainterPrivate::size ( ) const
virtual

◆ size() [2/3]

virtual int QCPAxisPainterPrivate::size ( ) const
virtual

◆ size() [3/3]

virtual int QCPAxisPainterPrivate::size ( ) const
virtual

◆ tickLabelsSelectionBox() [1/3]

QRect QCPAxisPainterPrivate::tickLabelsSelectionBox ( ) const
inline

◆ tickLabelsSelectionBox() [2/3]

QRect QCPAxisPainterPrivate::tickLabelsSelectionBox ( ) const
inline

◆ tickLabelsSelectionBox() [3/3]

QRect QCPAxisPainterPrivate::tickLabelsSelectionBox ( ) const
inline

Member Data Documentation

◆ abbreviateDecimalPowers

bool QCPAxisPainterPrivate::abbreviateDecimalPowers

◆ axisRect

QRect QCPAxisPainterPrivate::axisRect

◆ basePen

QPen QCPAxisPainterPrivate::basePen

◆ label

QString QCPAxisPainterPrivate::label

◆ labelColor

QColor QCPAxisPainterPrivate::labelColor

◆ labelFont

QFont QCPAxisPainterPrivate::labelFont

◆ labelPadding

int QCPAxisPainterPrivate::labelPadding

◆ lowerEnding

QCPLineEnding QCPAxisPainterPrivate::lowerEnding

◆ mAxisSelectionBox

QRect QCPAxisPainterPrivate::mAxisSelectionBox
protected

◆ mLabelCache

QCache< QString, CachedLabel > QCPAxisPainterPrivate::mLabelCache
protected

◆ mLabelParameterHash

QByteArray QCPAxisPainterPrivate::mLabelParameterHash
protected

◆ mLabelSelectionBox

QRect QCPAxisPainterPrivate::mLabelSelectionBox
protected

◆ mParentPlot

QCustomPlot * QCPAxisPainterPrivate::mParentPlot
protected

◆ mTickLabelsSelectionBox

QRect QCPAxisPainterPrivate::mTickLabelsSelectionBox
protected

◆ numberMultiplyCross

bool QCPAxisPainterPrivate::numberMultiplyCross

◆ offset

double QCPAxisPainterPrivate::offset

◆ reversedEndings

bool QCPAxisPainterPrivate::reversedEndings

◆ substituteExponent

bool QCPAxisPainterPrivate::substituteExponent

◆ subTickLengthIn

int QCPAxisPainterPrivate::subTickLengthIn

◆ subTickLengthOut

int QCPAxisPainterPrivate::subTickLengthOut

◆ subTickPen

QPen QCPAxisPainterPrivate::subTickPen

◆ subTickPositions

QVector< double > QCPAxisPainterPrivate::subTickPositions

◆ tickLabelColor

QColor QCPAxisPainterPrivate::tickLabelColor

◆ tickLabelFont

QFont QCPAxisPainterPrivate::tickLabelFont

◆ tickLabelPadding

int QCPAxisPainterPrivate::tickLabelPadding

◆ tickLabelRotation

double QCPAxisPainterPrivate::tickLabelRotation

◆ tickLabels

QVector< QString > QCPAxisPainterPrivate::tickLabels

◆ tickLabelSide

QCPAxis::LabelSide QCPAxisPainterPrivate::tickLabelSide

◆ tickLengthIn

int QCPAxisPainterPrivate::tickLengthIn

◆ tickLengthOut

int QCPAxisPainterPrivate::tickLengthOut

◆ tickPen

QPen QCPAxisPainterPrivate::tickPen

◆ tickPositions

QVector< double > QCPAxisPainterPrivate::tickPositions

◆ type

QCPAxis::AxisType QCPAxisPainterPrivate::type

◆ upperEnding

QCPLineEnding QCPAxisPainterPrivate::upperEnding

◆ viewportRect

QRect QCPAxisPainterPrivate::viewportRect

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