33 explicit ExpoLayout(QQuickItem *parent =
nullptr);
53 void geometryChange(
const QRectF &newGeometry,
const QRectF &oldGeometry)
override;
63 void calculateWindowTransformationsClosest();
64 void calculateWindowTransformationsNatural();
65 void resetTransformations();
67 QList<ExpoCell *> m_cells;
72 bool m_fillGaps =
false;
152 QString m_persistentKey;
153 bool m_enabled = true;
156 int m_naturalWidth = 0;
157 int m_naturalHeight = 0;
159 std::optional<
int> m_x;
160 std::optional<
int> m_y;
161 std::optional<
int> m_width;
162 std::optional<
int> m_height;
void bottomMarginChanged()
void naturalHeightChanged()
void persistentKeyChanged()
void setHeight(int height)
void naturalWidthChanged()
void setNaturalHeight(int height)
void setNaturalWidth(int width)
void setBottomMargin(int margin)
void setLayout(ExpoLayout *layout)
QRect naturalRect() const
void setEnabled(bool enabled)
void setPersistentKey(const QString &key)
Q_INVOKABLE void forceLayout()
ExpoLayout(QQuickItem *parent=nullptr)
void setFillGaps(bool fill)
void setMode(LayoutMode mode)
void removeCell(ExpoCell *cell)
void geometryChange(const QRectF &newGeometry, const QRectF &oldGeometry) override
void updatePolish() override
void addCell(ExpoCell *cell)
void setSpacing(int spacing)