Gra zręcznościowa „Straszna Epidemia"  V1.2
Projekt Wizualizacja Danych Sensorycznych Kewin Gałuszka rok akademicki 2019/2020
Dokumentacja klasy QCPAxisPainterPrivate

#include <qcustomplot.h>

Diagram współpracy dla QCPAxisPainterPrivate:

Komponenty

struct  CachedLabel
 
struct  TickLabelData
 

Metody publiczne

 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
 

Atrybuty publiczne

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
 

Metody chronione

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
 

Atrybuty chronione

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

Opis szczegółowy

Definicja w linii 2224 pliku qcustomplot.h.

Dokumentacja konstruktora i destruktora

◆ QCPAxisPainterPrivate()

QCPAxisPainterPrivate::QCPAxisPainterPrivate ( QCustomPlot parentPlot)
explicit

Constructs a QCPAxisPainterPrivate instance. Make sure to not create a new instance on every redraw, to utilize the caching mechanisms.

Definicja w linii 9187 pliku qcustomplot.cpp.

◆ ~QCPAxisPainterPrivate()

QCPAxisPainterPrivate::~QCPAxisPainterPrivate ( )
virtual

Definicja w linii 9212 pliku qcustomplot.cpp.

Dokumentacja funkcji składowych

◆ axisSelectionBox()

QRect QCPAxisPainterPrivate::axisSelectionBox ( ) const
inline

Definicja w linii 2234 pliku qcustomplot.h.

Oto graf wywoływań tej funkcji:

◆ clearCache()

void QCPAxisPainterPrivate::clearCache ( )

Definicja w linii 9455 pliku qcustomplot.cpp.

◆ draw()

void QCPAxisPainterPrivate::draw ( QCPPainter painter)
virtual

Definicja w linii 9223 pliku qcustomplot.cpp.

Oto graf wywołań dla tej funkcji:
Oto graf wywoływań tej funkcji:

◆ drawTickLabel()

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

Definicja w linii 9588 pliku qcustomplot.cpp.

Oto graf wywoływań tej funkcji:

◆ generateLabelParameterHash()

QByteArray QCPAxisPainterPrivate::generateLabelParameterHash ( ) const
protectedvirtual

Definicja w linii 9467 pliku qcustomplot.cpp.

Oto graf wywołań dla tej funkcji:
Oto graf wywoływań tej funkcji:

◆ getMaxTickLabelSize()

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

Definicja w linii 9809 pliku qcustomplot.cpp.

Oto graf wywołań dla tej funkcji:
Oto graf wywoływań tej funkcji:

◆ getTickLabelData()

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

Definicja w linii 9627 pliku qcustomplot.cpp.

Oto graf wywoływań tej funkcji:

◆ getTickLabelDrawOffset()

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

Definicja w linii 9709 pliku qcustomplot.cpp.

Oto graf wywoływań tej funkcji:

◆ labelSelectionBox()

QRect QCPAxisPainterPrivate::labelSelectionBox ( ) const
inline

Definicja w linii 2236 pliku qcustomplot.h.

Oto graf wywoływań tej funkcji:

◆ placeTickLabel()

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

Definicja w linii 9499 pliku qcustomplot.cpp.

Oto graf wywołań dla tej funkcji:
Oto graf wywoływań tej funkcji:

◆ size()

int QCPAxisPainterPrivate::size ( ) const
virtual

Definicja w linii 9416 pliku qcustomplot.cpp.

Oto graf wywołań dla tej funkcji:
Oto graf wywoływań tej funkcji:

◆ tickLabelsSelectionBox()

QRect QCPAxisPainterPrivate::tickLabelsSelectionBox ( ) const
inline

Definicja w linii 2235 pliku qcustomplot.h.

Oto graf wywoływań tej funkcji:

Dokumentacja atrybutów składowych

◆ abbreviateDecimalPowers

bool QCPAxisPainterPrivate::abbreviateDecimalPowers

Definicja w linii 2257 pliku qcustomplot.h.

◆ axisRect

QRect QCPAxisPainterPrivate::axisRect

Definicja w linii 2255 pliku qcustomplot.h.

◆ basePen

QPen QCPAxisPainterPrivate::basePen

Definicja w linii 2240 pliku qcustomplot.h.

◆ label

QString QCPAxisPainterPrivate::label

Definicja w linii 2245 pliku qcustomplot.h.

◆ labelColor

QColor QCPAxisPainterPrivate::labelColor

Definicja w linii 2244 pliku qcustomplot.h.

◆ labelFont

QFont QCPAxisPainterPrivate::labelFont

Definicja w linii 2243 pliku qcustomplot.h.

◆ labelPadding

int QCPAxisPainterPrivate::labelPadding

Definicja w linii 2242 pliku qcustomplot.h.

◆ lowerEnding

QCPLineEnding QCPAxisPainterPrivate::lowerEnding

Definicja w linii 2241 pliku qcustomplot.h.

◆ mAxisSelectionBox

QRect QCPAxisPainterPrivate::mAxisSelectionBox
protected

Definicja w linii 2279 pliku qcustomplot.h.

◆ mLabelCache

QCache<QString, CachedLabel> QCPAxisPainterPrivate::mLabelCache
protected

Definicja w linii 2278 pliku qcustomplot.h.

◆ mLabelParameterHash

QByteArray QCPAxisPainterPrivate::mLabelParameterHash
protected

Definicja w linii 2277 pliku qcustomplot.h.

◆ mLabelSelectionBox

QRect QCPAxisPainterPrivate::mLabelSelectionBox
protected

Definicja w linii 2279 pliku qcustomplot.h.

◆ mParentPlot

QCustomPlot* QCPAxisPainterPrivate::mParentPlot
protected

Definicja w linii 2276 pliku qcustomplot.h.

◆ mTickLabelsSelectionBox

QRect QCPAxisPainterPrivate::mTickLabelsSelectionBox
protected

Definicja w linii 2279 pliku qcustomplot.h.

◆ numberMultiplyCross

bool QCPAxisPainterPrivate::numberMultiplyCross

Definicja w linii 2250 pliku qcustomplot.h.

◆ offset

double QCPAxisPainterPrivate::offset

Definicja w linii 2256 pliku qcustomplot.h.

◆ reversedEndings

bool QCPAxisPainterPrivate::reversedEndings

Definicja w linii 2258 pliku qcustomplot.h.

◆ substituteExponent

bool QCPAxisPainterPrivate::substituteExponent

Definicja w linii 2249 pliku qcustomplot.h.

◆ subTickLengthIn

int QCPAxisPainterPrivate::subTickLengthIn

Definicja w linii 2251 pliku qcustomplot.h.

◆ subTickLengthOut

int QCPAxisPainterPrivate::subTickLengthOut

Definicja w linii 2251 pliku qcustomplot.h.

◆ subTickPen

QPen QCPAxisPainterPrivate::subTickPen

Definicja w linii 2252 pliku qcustomplot.h.

◆ subTickPositions

QVector<double> QCPAxisPainterPrivate::subTickPositions

Definicja w linii 2260 pliku qcustomplot.h.

◆ tickLabelColor

QColor QCPAxisPainterPrivate::tickLabelColor

Definicja w linii 2254 pliku qcustomplot.h.

◆ tickLabelFont

QFont QCPAxisPainterPrivate::tickLabelFont

Definicja w linii 2253 pliku qcustomplot.h.

◆ tickLabelPadding

int QCPAxisPainterPrivate::tickLabelPadding

Definicja w linii 2246 pliku qcustomplot.h.

◆ tickLabelRotation

double QCPAxisPainterPrivate::tickLabelRotation

Definicja w linii 2247 pliku qcustomplot.h.

◆ tickLabels

QVector<QString> QCPAxisPainterPrivate::tickLabels

Definicja w linii 2262 pliku qcustomplot.h.

◆ tickLabelSide

QCPAxis::LabelSide QCPAxisPainterPrivate::tickLabelSide

Definicja w linii 2248 pliku qcustomplot.h.

◆ tickLengthIn

int QCPAxisPainterPrivate::tickLengthIn

Definicja w linii 2251 pliku qcustomplot.h.

◆ tickLengthOut

int QCPAxisPainterPrivate::tickLengthOut

Definicja w linii 2251 pliku qcustomplot.h.

◆ tickPen

QPen QCPAxisPainterPrivate::tickPen

Definicja w linii 2252 pliku qcustomplot.h.

◆ tickPositions

QVector<double> QCPAxisPainterPrivate::tickPositions

Definicja w linii 2261 pliku qcustomplot.h.

◆ type

QCPAxis::AxisType QCPAxisPainterPrivate::type

Definicja w linii 2239 pliku qcustomplot.h.

◆ upperEnding

QCPLineEnding QCPAxisPainterPrivate::upperEnding

Definicja w linii 2241 pliku qcustomplot.h.

◆ viewportRect

QRect QCPAxisPainterPrivate::viewportRect

Definicja w linii 2255 pliku qcustomplot.h.


Dokumentacja dla tej klasy została wygenerowana z plików: