QSkinny 0.8.0
C++/Qt UI toolkit
Loading...
Searching...
No Matches
QskGraduationRenderer Class Reference

Detailed Description

Definition at line 31 of file QskGraduationRenderer.h.

Public Types

enum  Flag { Backbone = 1 << 0 , CenteredTickmarks = 1 << 1 , ClampedLabels = 1 << 2 }
 

Public Member Functions

void setEdge (Qt::Edge)
 
Qt::Edge edge () const
 
void setFlags (Flags)
 
Flags flags () const
 
void setFlag (Flag, bool)
 
void setBoundaries (qreal lowerBound, qreal upperBound)
 
void setBoundaries (const QskIntervalF &)
 
QskIntervalF boundaries () const
 
qreal position () const
 
void setPosition (qreal)
 
void setRange (qreal from, qreal to)
 
void setRange (const QskIntervalF &)
 
QskIntervalF range () const
 
void setTickmarks (const QskTickmarks &)
 
const QskTickmarkstickmarks () const
 
void setSpacing (qreal)
 
qreal spacing () const
 
void setTickColor (const QColor &)
 
QColor tickColor () const
 
void setTickMetrics (const QskGraduationMetrics &)
 
const QskGraduationMetricstickMetrics () const
 
void setFont (const QFont &)
 
QFont font () const
 
void setTextColors (const QskTextColors &)
 
QskTextColors textColors () const
 
void setColorFilter (const QskColorFilter &)
 
const QskColorFiltercolorFilter () const
 
QSGNode * updateNode (const QskSkinnable *, QSGNode *)
 
virtual QVariant labelAt (qreal pos) const
 
QSizeF boundingLabelSize () const
 

Protected Member Functions

virtual QSGNode * updateTicksNode (const QTransform &, QSGNode *) const
 
virtual QSGNode * updateLabelsNode (const QskSkinnable *, const QTransform &, QSGNode *) const
 

Member Enumeration Documentation

◆ Flag

enum QskGraduationRenderer::Flag

Definition at line 36 of file QskGraduationRenderer.h.

Constructor & Destructor Documentation

◆ QskGraduationRenderer()

QskGraduationRenderer::QskGraduationRenderer ( )

Definition at line 123 of file QskGraduationRenderer.cpp.

◆ ~QskGraduationRenderer()

QskGraduationRenderer::~QskGraduationRenderer ( )
virtual

Definition at line 128 of file QskGraduationRenderer.cpp.

Member Function Documentation

◆ boundaries()

QskIntervalF QskGraduationRenderer::boundaries ( ) const

Definition at line 170 of file QskGraduationRenderer.cpp.

◆ boundingLabelSize()

QSizeF QskGraduationRenderer::boundingLabelSize ( ) const

Definition at line 427 of file QskGraduationRenderer.cpp.

◆ colorFilter()

const QskColorFilter & QskGraduationRenderer::colorFilter ( ) const

Definition at line 265 of file QskGraduationRenderer.cpp.

◆ edge()

Qt::Edge QskGraduationRenderer::edge ( ) const

Definition at line 137 of file QskGraduationRenderer.cpp.

◆ flags()

QskGraduationRenderer::Flags QskGraduationRenderer::flags ( ) const

Definition at line 155 of file QskGraduationRenderer.cpp.

◆ font()

QFont QskGraduationRenderer::font ( ) const

Definition at line 245 of file QskGraduationRenderer.cpp.

◆ labelAt()

QVariant QskGraduationRenderer::labelAt ( qreal  pos) const
virtual

Definition at line 421 of file QskGraduationRenderer.cpp.

◆ position()

qreal QskGraduationRenderer::position ( ) const

Definition at line 175 of file QskGraduationRenderer.cpp.

◆ range()

QskIntervalF QskGraduationRenderer::range ( ) const

Definition at line 195 of file QskGraduationRenderer.cpp.

◆ setBoundaries() [1/2]

void QskGraduationRenderer::setBoundaries ( const QskIntervalF boundaries)

Definition at line 165 of file QskGraduationRenderer.cpp.

◆ setBoundaries() [2/2]

void QskGraduationRenderer::setBoundaries ( qreal  lowerBound,
qreal  upperBound 
)

Definition at line 160 of file QskGraduationRenderer.cpp.

◆ setColorFilter()

void QskGraduationRenderer::setColorFilter ( const QskColorFilter colorFilter)

Definition at line 260 of file QskGraduationRenderer.cpp.

◆ setEdge()

void QskGraduationRenderer::setEdge ( Qt::Edge  edge)

Definition at line 132 of file QskGraduationRenderer.cpp.

◆ setFlag()

void QskGraduationRenderer::setFlag ( Flag  flag,
bool  on 
)

Definition at line 142 of file QskGraduationRenderer.cpp.

◆ setFlags()

void QskGraduationRenderer::setFlags ( Flags  flags)

Definition at line 150 of file QskGraduationRenderer.cpp.

◆ setFont()

void QskGraduationRenderer::setFont ( const QFont &  font)

Definition at line 240 of file QskGraduationRenderer.cpp.

◆ setPosition()

void QskGraduationRenderer::setPosition ( qreal  pos)

Definition at line 180 of file QskGraduationRenderer.cpp.

◆ setRange() [1/2]

void QskGraduationRenderer::setRange ( const QskIntervalF range)

Definition at line 190 of file QskGraduationRenderer.cpp.

◆ setRange() [2/2]

void QskGraduationRenderer::setRange ( qreal  from,
qreal  to 
)

Definition at line 185 of file QskGraduationRenderer.cpp.

◆ setSpacing()

void QskGraduationRenderer::setSpacing ( qreal  spacing)

Definition at line 210 of file QskGraduationRenderer.cpp.

◆ setTextColors()

void QskGraduationRenderer::setTextColors ( const QskTextColors textColors)

Definition at line 250 of file QskGraduationRenderer.cpp.

◆ setTickColor()

void QskGraduationRenderer::setTickColor ( const QColor &  color)

Definition at line 220 of file QskGraduationRenderer.cpp.

◆ setTickmarks()

void QskGraduationRenderer::setTickmarks ( const QskTickmarks tickmarks)

Definition at line 200 of file QskGraduationRenderer.cpp.

◆ setTickMetrics()

void QskGraduationRenderer::setTickMetrics ( const QskGraduationMetrics metrics)

Definition at line 230 of file QskGraduationRenderer.cpp.

◆ spacing()

qreal QskGraduationRenderer::spacing ( ) const

Definition at line 215 of file QskGraduationRenderer.cpp.

◆ textColors()

QskTextColors QskGraduationRenderer::textColors ( ) const

Definition at line 255 of file QskGraduationRenderer.cpp.

◆ tickColor()

QColor QskGraduationRenderer::tickColor ( ) const

Definition at line 225 of file QskGraduationRenderer.cpp.

◆ tickmarks()

const QskTickmarks & QskGraduationRenderer::tickmarks ( ) const

Definition at line 205 of file QskGraduationRenderer.cpp.

◆ tickMetrics()

const QskGraduationMetrics & QskGraduationRenderer::tickMetrics ( ) const

Definition at line 235 of file QskGraduationRenderer.cpp.

◆ updateLabelsNode()

QSGNode * QskGraduationRenderer::updateLabelsNode ( const QskSkinnable skinnable,
const QTransform &  transform,
QSGNode *  node 
) const
protectedvirtual

Definition at line 335 of file QskGraduationRenderer.cpp.

◆ updateNode()

QSGNode * QskGraduationRenderer::updateNode ( const QskSkinnable skinnable,
QSGNode *  node 
)

Definition at line 270 of file QskGraduationRenderer.cpp.

◆ updateTicksNode()

QSGNode * QskGraduationRenderer::updateTicksNode ( const QTransform &  transform,
QSGNode *  node 
) const
protectedvirtual

Definition at line 296 of file QskGraduationRenderer.cpp.