24 virtual int count()
const = 0;
27 int columnCount()
const;
29 bool setVisualDirection( Qt::LayoutDirection );
30 Qt::LayoutDirection visualDirection()
const;
32 bool setDefaultAlignment( Qt::Alignment );
33 Qt::Alignment defaultAlignment()
const;
35 bool setExtraSpacingAt( Qt::Edges edges );
36 Qt::Edges extraSpacingAt()
const;
38 bool setSpacing( qreal spacing, Qt::Orientations );
39 qreal spacing( Qt::Orientation )
const;
41 qreal defaultSpacing( Qt::Orientation )
const;
45 qreal widthForHeight( qreal height )
const;
46 qreal heightForWidth( qreal width )
const;
48 QSizeF sizeHint( Qt::SizeHint,
const QSizeF& constraint )
const;
50 void setGeometries(
const QRectF& );
57 ElementCache = 1 << 0,
61 void invalidate(
int what );
66 void updateSegments(
const QSizeF& )
const;
68 virtual void layoutItems() = 0;
69 virtual int effectiveCount( Qt::Orientation )
const = 0;
71 virtual void invalidateElementCache() = 0;
72 QskSizePolicy::ConstraintType constraintType()
const;
76 void setupChain( Qt::Orientation )
const;
77 void setupChain( Qt::Orientation,
const QskLayoutChain::Segments& )
const;
79 virtual void setupChain( Qt::Orientation,
83 std::unique_ptr< PrivateData > m_data;