QskLayoutConstraint::Type as bits

This commit is contained in:
Uwe Rathmann 2019-05-12 15:26:57 +02:00
parent 20a9b3bc76
commit 4f5c919706

View File

@ -22,10 +22,10 @@ namespace QskLayoutConstraint
{ {
enum Type enum Type
{ {
Unconstrained, Unconstrained = 0,
WidthForHeight, WidthForHeight = 1 << 0,
HeightForWidth HeightForWidth = 1 << 1
}; };
QSK_EXPORT qreal heightForWidth( const QQuickItem*, qreal width ); QSK_EXPORT qreal heightForWidth( const QQuickItem*, qreal width );