6#ifndef QSK_BOX_BORDER_COLORS_H
7#define QSK_BOX_BORDER_COLORS_H
9#include "QskGradient.h"
10#include "QskNamespace.h"
19 Q_PROPERTY(
QskGradient left READ left WRITE setLeft )
21 Q_PROPERTY(
QskGradient right READ right WRITE setRight )
22 Q_PROPERTY(
QskGradient bottom READ bottom WRITE setBottom )
40 void setAlpha(
int alpha );
46 void setGradientAt( Qt::Edges,
const QskGradient& );
66 QskHashValue hash( QskHashValue seed = 0 )
const;
68 bool isMonochrome()
const;
69 bool isVisible()
const;
84inline QskBoxBorderColors::QskBoxBorderColors( Qt::GlobalColor color )
89inline QskBoxBorderColors::QskBoxBorderColors( QRgb rgb )
94inline QskBoxBorderColors::QskBoxBorderColors(
const QColor& color )
101 return !( *
this == other );
104inline const QskGradient& QskBoxBorderColors::left()
const
106 return m_gradients[ Left ];
109inline const QskGradient& QskBoxBorderColors::top()
const
111 return m_gradients[ Top ];
114inline const QskGradient& QskBoxBorderColors::right()
const
116 return m_gradients[ Right ];
119inline const QskGradient& QskBoxBorderColors::bottom()
const
121 return m_gradients[ Bottom ];
124#ifndef QT_NO_DEBUG_STREAM