21 int32_t getTiles()
const;
23 int32_t getPrefColumns()
const;
24 void setPrefColumns(int32_t columns);
26 int32_t getPrefTileWidth()
const;
27 void setPrefTileWidth(int32_t width);
29 int32_t getPrefTileHeight()
const;
30 void setPrefTileHeight(int32_t height);
32 int32_t getColumns()
const;
33 int32_t getRows()
const;
34 int32_t getTileWidth()
const;
35 int32_t getTileHeight()
const;
37 int32_t getHgap()
const;
38 void setHgap(int32_t gap);
40 int32_t getVgap()
const;
41 void setVgap(int32_t gap);
44 int32_t m_PrefColumns = 0;
46 int32_t m_PrefTileWidth = USE_COMPUTED_SIZE;
47 int32_t m_PrefTileHeight = USE_COMPUTED_SIZE;
49 int32_t m_Columns = 0;
51 int32_t m_TileWidth = 0;
52 int32_t m_TileHeight = 0;
58 virtual void layoutChildren()
override;
60 virtual int32_t computeCustomPrefWidth(int32_t height = -1)
const override;
61 virtual int32_t computeCustomPrefHeight(int32_t width = -1)
const override;
63 virtual int32_t computeCustomMinWidth(int32_t height = -1)
const override;
64 virtual int32_t computeCustomMinHeight(int32_t width = -1)
const override;
67 int32_t computeTileWidth()
const;
68 int32_t computeTileHeight()
const;
69 int32_t computeColumns(int32_t width)
const;
70 int32_t computeRows()
const;