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

Detailed Description

Definition at line 15 of file QskBoxBorderColors.h.

Properties

QskGradient left
 
QskGradient top
 
QskGradient right
 
QskGradient bottom
 

Public Member Functions

 QskBoxBorderColors (const QskGradient &left, const QskGradient &top, const QskGradient &right, const QskGradient &bottom)
 
 QskBoxBorderColors (Qt::GlobalColor)
 
 QskBoxBorderColors (QRgb)
 
 QskBoxBorderColors (const QColor &)
 
 QskBoxBorderColors (const QskGradient &)
 
bool operator== (const QskBoxBorderColors &) const
 
bool operator!= (const QskBoxBorderColors &) const
 
void setAlpha (int alpha)
 
void setGradients (const QskGradient &)
 
void setGradients (const QskGradient &left, const QskGradient &top, const QskGradient &right, const QskGradient &bottom)
 
void setGradientAt (Qt::Edges, const QskGradient &)
 
const QskGradientgradientAt (Qt::Edge) const
 
void setLeft (const QskGradient &)
 
const QskGradientleft () const
 
void setTop (const QskGradient &)
 
const QskGradienttop () const
 
void setRight (const QskGradient &)
 
const QskGradientright () const
 
void setBottom (const QskGradient &)
 
const QskGradientbottom () const
 
QskBoxBorderColors interpolated (const QskBoxBorderColors &, qreal value) const
 
QskHashValue hash (QskHashValue seed=0) const
 
bool isMonochrome () const
 
bool isVisible () const
 
bool isValid () const
 

Static Public Member Functions

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

Constructor & Destructor Documentation

◆ QskBoxBorderColors() [1/6]

QskBoxBorderColors::QskBoxBorderColors ( )

Definition at line 29 of file QskBoxBorderColors.cpp.

◆ QskBoxBorderColors() [2/6]

QskBoxBorderColors::QskBoxBorderColors ( const QskGradient left,
const QskGradient top,
const QskGradient right,
const QskGradient bottom 
)

Definition at line 33 of file QskBoxBorderColors.cpp.

◆ QskBoxBorderColors() [3/6]

QskBoxBorderColors::QskBoxBorderColors ( Qt::GlobalColor  color)
inline

Definition at line 84 of file QskBoxBorderColors.h.

◆ QskBoxBorderColors() [4/6]

QskBoxBorderColors::QskBoxBorderColors ( QRgb  rgb)
inline

Definition at line 89 of file QskBoxBorderColors.h.

◆ QskBoxBorderColors() [5/6]

QskBoxBorderColors::QskBoxBorderColors ( const QColor &  color)
inline

Definition at line 94 of file QskBoxBorderColors.h.

◆ QskBoxBorderColors() [6/6]

QskBoxBorderColors::QskBoxBorderColors ( const QskGradient gradient)

Definition at line 40 of file QskBoxBorderColors.cpp.

◆ ~QskBoxBorderColors()

QskBoxBorderColors::~QskBoxBorderColors ( )

Definition at line 45 of file QskBoxBorderColors.cpp.

Member Function Documentation

◆ bottom()

const QskGradient & QskBoxBorderColors::bottom ( ) const
inline

Definition at line 119 of file QskBoxBorderColors.h.

◆ gradientAt()

const QskGradient & QskBoxBorderColors::gradientAt ( Qt::Edge  edge) const

Definition at line 115 of file QskBoxBorderColors.cpp.

◆ hash()

QskHashValue QskBoxBorderColors::hash ( QskHashValue  seed = 0) const

Definition at line 212 of file QskBoxBorderColors.cpp.

◆ interpolate()

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

Definition at line 206 of file QskBoxBorderColors.cpp.

◆ interpolated()

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

Definition at line 186 of file QskBoxBorderColors.cpp.

◆ isMonochrome()

bool QskBoxBorderColors::isMonochrome ( ) const

Definition at line 156 of file QskBoxBorderColors.cpp.

◆ isValid()

bool QskBoxBorderColors::isValid ( ) const

Definition at line 178 of file QskBoxBorderColors.cpp.

◆ isVisible()

bool QskBoxBorderColors::isVisible ( ) const

Definition at line 136 of file QskBoxBorderColors.cpp.

◆ left()

const QskGradient & QskBoxBorderColors::left ( ) const
inline

Definition at line 104 of file QskBoxBorderColors.h.

◆ operator!=()

bool QskBoxBorderColors::operator!= ( const QskBoxBorderColors other) const
inline

Definition at line 99 of file QskBoxBorderColors.h.

◆ operator==()

bool QskBoxBorderColors::operator== ( const QskBoxBorderColors other) const

Definition at line 49 of file QskBoxBorderColors.cpp.

◆ right()

const QskGradient & QskBoxBorderColors::right ( ) const
inline

Definition at line 114 of file QskBoxBorderColors.h.

◆ setAlpha()

void QskBoxBorderColors::setAlpha ( int  alpha)

Definition at line 57 of file QskBoxBorderColors.cpp.

◆ setBottom()

void QskBoxBorderColors::setBottom ( const QskGradient gradient)

Definition at line 110 of file QskBoxBorderColors.cpp.

◆ setGradientAt()

void QskBoxBorderColors::setGradientAt ( Qt::Edges  edges,
const QskGradient gradient 
)

Definition at line 80 of file QskBoxBorderColors.cpp.

◆ setGradients() [1/2]

void QskBoxBorderColors::setGradients ( const QskGradient gradient)

Definition at line 66 of file QskBoxBorderColors.cpp.

◆ setGradients() [2/2]

void QskBoxBorderColors::setGradients ( const QskGradient left,
const QskGradient top,
const QskGradient right,
const QskGradient bottom 
)

Definition at line 71 of file QskBoxBorderColors.cpp.

◆ setLeft()

void QskBoxBorderColors::setLeft ( const QskGradient gradient)

Definition at line 95 of file QskBoxBorderColors.cpp.

◆ setRight()

void QskBoxBorderColors::setRight ( const QskGradient gradient)

Definition at line 105 of file QskBoxBorderColors.cpp.

◆ setTop()

void QskBoxBorderColors::setTop ( const QskGradient gradient)

Definition at line 100 of file QskBoxBorderColors.cpp.

◆ top()

const QskGradient & QskBoxBorderColors::top ( ) const
inline

Definition at line 109 of file QskBoxBorderColors.h.

Property Documentation

◆ bottom

QskGradient QskBoxBorderColors::bottom
readwrite

Definition at line 22 of file QskBoxBorderColors.h.

◆ left

QskGradient QskBoxBorderColors::left
readwrite

Definition at line 19 of file QskBoxBorderColors.h.

◆ right

QskGradient QskBoxBorderColors::right
readwrite

Definition at line 21 of file QskBoxBorderColors.h.

◆ top

QskGradient QskBoxBorderColors::top
readwrite

Definition at line 20 of file QskBoxBorderColors.h.