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

Detailed Description

Definition at line 19 of file QskGraduationNode.h.

Inheritance diagram for QskGraduationNode:

Public Types

enum  Alignment { Leading , Centered , Trailing }
 

Public Member Functions

void setAxis (Qt::Orientation, qreal pos, const QTransform &)
 
void setTickMetrics (Alignment, const QskGraduationMetrics &)
 
void update (const QskTickmarks &, const QskIntervalF &)
 
- Public Member Functions inherited from QskBasicLinesNode
void setPixelAlignment (Qt::Orientations)
 
Qt::Orientations pixelAlignment () const
 
void setColor (const QColor &)
 
QColor color () const
 
void setLineWidth (float)
 
float lineWidth () const
 

Member Enumeration Documentation

◆ Alignment

enum QskGraduationNode::Alignment

Definition at line 24 of file QskGraduationNode.h.

Constructor & Destructor Documentation

◆ QskGraduationNode()

QskGraduationNode::QskGraduationNode ( )

Definition at line 100 of file QskGraduationNode.cpp.

◆ ~QskGraduationNode()

QskGraduationNode::~QskGraduationNode ( )
override

Definition at line 105 of file QskGraduationNode.cpp.

Member Function Documentation

◆ setAxis()

void QskGraduationNode::setAxis ( Qt::Orientation  orientation,
qreal  pos,
const QTransform &  transform 
)

Definition at line 109 of file QskGraduationNode.cpp.

◆ setTickMetrics()

void QskGraduationNode::setTickMetrics ( Alignment  alignment,
const QskGraduationMetrics metrics 
)

Definition at line 125 of file QskGraduationNode.cpp.

◆ update()

void QskGraduationNode::update ( const QskTickmarks tickmarks,
const QskIntervalF backbone 
)

Definition at line 140 of file QskGraduationNode.cpp.