Stellarium 0.15.2
List of all members | Classes | Public Member Functions | Public Attributes | Protected Member Functions | Protected Attributes
QCPAxisPainterPrivate Class Reference
+ Collaboration diagram for QCPAxisPainterPrivate:

Classes

struct  CachedLabel
 
struct  TickLabelData
 

Public Member Functions

 QCPAxisPainterPrivate (QCustomPlot *parentPlot)
 
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
 

Protected Attributes

QCustomPlotmParentPlot
 
QByteArray mLabelParameterHash
 
QCache< QString, CachedLabelmLabelCache
 
QRect mAxisSelectionBox
 
QRect mTickLabelsSelectionBox
 
QRect mLabelSelectionBox
 

Detailed Description

Definition at line 1321 of file qcustomplot.h.


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