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

Detailed Description

Definition at line 17 of file QskTextColors.h.

Public Attributes

QColor textColor
 
QColor styleColor
 
QColor linkColor
 

Public Member Functions

 QskTextColors (const QColor &text=QColor(), const QColor &style=QColor(), const QColor &link=QColor())
 
QskTextColors interpolated (const QskTextColors &, qreal value) const
 
QskHashValue hash (QskHashValue seed=0) const noexcept
 

Static Public Member Functions

static QVariant interpolate (const QskTextColors &, const QskTextColors &, qreal ratio)
 

Constructor & Destructor Documentation

◆ QskTextColors()

QskTextColors::QskTextColors ( const QColor &  text = QColor(),
const QColor &  style = QColor(),
const QColor &  link = QColor() 
)
inline

Definition at line 35 of file QskTextColors.h.

Member Function Documentation

◆ hash()

QskHashValue QskTextColors::hash ( QskHashValue  seed = 0) const
noexcept

Definition at line 12 of file QskTextColors.cpp.

◆ interpolate()

QVariant QskTextColors::interpolate ( const QskTextColors from,
const QskTextColors to,
qreal  ratio 
)
static

Definition at line 29 of file QskTextColors.cpp.

◆ interpolated()

QskTextColors QskTextColors::interpolated ( const QskTextColors to,
qreal  value 
) const

Definition at line 18 of file QskTextColors.cpp.

Member Data Documentation

◆ linkColor

QColor QskTextColors::linkColor

Definition at line 32 of file QskTextColors.h.

◆ styleColor

QColor QskTextColors::styleColor

Definition at line 31 of file QskTextColors.h.

◆ textColor

QColor QskTextColors::textColor

Definition at line 30 of file QskTextColors.h.