making QskShadowMetrics a Q_GADGET
This commit is contained in:
parent
2438b0f7ee
commit
b2bf7c30e0
|
@ -116,3 +116,5 @@ QDebug operator<<( QDebug debug, const QskShadowMetrics& metrics )
|
||||||
}
|
}
|
||||||
|
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
|
#include "moc_QskShadowMetrics.cpp"
|
||||||
|
|
|
@ -16,6 +16,14 @@ class QVariant;
|
||||||
|
|
||||||
class QSK_EXPORT QskShadowMetrics
|
class QSK_EXPORT QskShadowMetrics
|
||||||
{
|
{
|
||||||
|
Q_GADGET
|
||||||
|
|
||||||
|
Q_PROPERTY( QPointF offset READ offset WRITE setOffset )
|
||||||
|
Q_PROPERTY( qreal spreadRadius READ spreadRadius WRITE setSpreadRadius )
|
||||||
|
Q_PROPERTY( qreal blurRadius READ blurRadius WRITE setBlurRadius )
|
||||||
|
|
||||||
|
Q_PROPERTY( Qt::SizeMode sizeMode READ sizeMode WRITE setSizeMode )
|
||||||
|
|
||||||
public:
|
public:
|
||||||
constexpr QskShadowMetrics( const QPointF& offset = QPointF() ) noexcept;
|
constexpr QskShadowMetrics( const QPointF& offset = QPointF() ) noexcept;
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue