Inherits from QskBox
Name | |
---|---|
void | invalidate() |
void | clear(bool autoDelete =false) |
Name | |
---|---|
void | defaultAlignmentChanged() |
Name | |
---|---|
QskGridBox(QQuickItem * parent =nullptr) | |
~QskGridBox() override | |
Q_INVOKABLE int | addItem(QQuickItem * item, int row, int column, int rowSpan, int columnSpan) |
Q_INVOKABLE int | addItem(QQuickItem * item, int row, int column) |
int | addItem(QQuickItem * item, int row, int column, Qt::Alignment alignment) |
int | addItem(QQuickItem * item, int row, int column, int rowSpan, int columnSpan, Qt::Alignment alignment) |
Q_INVOKABLE int | addSpacer(const QSizeF & spacing, int row, int column, int rowSpan =1, int columnSpan =1) |
int | addColumnSpacer(qreal spacing, int column) |
int | addRowSpacer(qreal spacing, int row) |
void | removeItem(const QQuickItem * item) |
void | removeAt(int index) |
Q_INVOKABLE int | rowCount() const |
Q_INVOKABLE int | columnCount() const |
int | elementCount() const |
QQuickItem * | itemAtIndex(int index) const |
int | indexOf(const QQuickItem * item) const |
bool | isEmpty() const |
Q_INVOKABLE QQuickItem * | itemAt(int row, int column) const |
Q_INVOKABLE int | indexAt(int row, int column) const |
Q_INVOKABLE QRect | gridOfIndex(int index) const |
Q_INVOKABLE QRect | effectiveGridOfIndex(int index) const |
void | setDefaultAlignment(Qt::Alignment alignment) |
Qt::Alignment | defaultAlignment() const |
void | setSpacing(Qt::Orientations orientations, qreal spacing) |
void | resetSpacing(Qt::Orientations orientations) |
qreal | spacing(Qt::Orientation orientation) const |
void | setSpacing(qreal spacing) |
Q_INVOKABLE void | setRowStretchFactor(int row, int stretch) |
Q_INVOKABLE int | rowStretchFactor(int row) const |
Q_INVOKABLE void | setColumnStretchFactor(int column, int stretch) |
Q_INVOKABLE int | columnStretchFactor(int column) const |
Q_INVOKABLE void | setColumnWidthHint(int column, Qt::SizeHint which, qreal width) |
Q_INVOKABLE qreal | columnWidthHint(int column, Qt::SizeHint which) const |
Q_INVOKABLE void | setRowHeightHint(int row, Qt::SizeHint which, qreal height) |
Q_INVOKABLE qreal | rowHeightHint(int row, Qt::SizeHint which) const |
Q_INVOKABLE void | setRowFixedHeight(int row, qreal height) |
Q_INVOKABLE void | setColumnFixedWidth(int column, qreal width) |
void | dump() const |
Name | |
---|---|
bool | event(QEvent * event) override |
void | geometryChangeEvent(QskGeometryChangeEvent * event) override |
void | itemChange(ItemChange change, const ItemChangeData & value) override |
void | updateLayout() override |
QSizeF | layoutSizeHint(Qt::SizeHint which, const QSizeF & constraint) const override |
Name | |
---|---|
Qt::Alignment | defaultAlignment |
bool | empty |
int | elementCount |
void invalidate()
void clear(
bool autoDelete =false
)
void defaultAlignmentChanged()
explicit QskGridBox(
QQuickItem * parent =nullptr
)
~QskGridBox() override
Q_INVOKABLE int addItem(
QQuickItem * item,
int row,
int column,
int rowSpan,
int columnSpan
)
inline Q_INVOKABLE int addItem(
QQuickItem * item,
int row,
int column
)
int addItem(
QQuickItem * item,
int row,
int column,
Qt::Alignment alignment
)
int addItem(
QQuickItem * item,
int row,
int column,
int rowSpan,
int columnSpan,
Qt::Alignment alignment
)
Q_INVOKABLE int addSpacer(
const QSizeF & spacing,
int row,
int column,
int rowSpan =1,
int columnSpan =1
)
int addColumnSpacer(
qreal spacing,
int column
)
int addRowSpacer(
qreal spacing,
int row
)
void removeItem(
const QQuickItem * item
)
void removeAt(
int index
)
Q_INVOKABLE int rowCount() const
Q_INVOKABLE int columnCount() const
int elementCount() const
QQuickItem * itemAtIndex(
int index
) const
int indexOf(
const QQuickItem * item
) const
inline bool isEmpty() const
Q_INVOKABLE QQuickItem * itemAt(
int row,
int column
) const
Q_INVOKABLE int indexAt(
int row,
int column
) const
Q_INVOKABLE QRect gridOfIndex(
int index
) const
Q_INVOKABLE QRect effectiveGridOfIndex(
int index
) const
void setDefaultAlignment(
Qt::Alignment alignment
)
Qt::Alignment defaultAlignment() const
void setSpacing(
Qt::Orientations orientations,
qreal spacing
)
void resetSpacing(
Qt::Orientations orientations
)
qreal spacing(
Qt::Orientation orientation
) const
inline void setSpacing(
qreal spacing
)
Q_INVOKABLE void setRowStretchFactor(
int row,
int stretch
)
Q_INVOKABLE int rowStretchFactor(
int row
) const
Q_INVOKABLE void setColumnStretchFactor(
int column,
int stretch
)
Q_INVOKABLE int columnStretchFactor(
int column
) const
Q_INVOKABLE void setColumnWidthHint(
int column,
Qt::SizeHint which,
qreal width
)
Q_INVOKABLE qreal columnWidthHint(
int column,
Qt::SizeHint which
) const
Q_INVOKABLE void setRowHeightHint(
int row,
Qt::SizeHint which,
qreal height
)
Q_INVOKABLE qreal rowHeightHint(
int row,
Qt::SizeHint which
) const
Q_INVOKABLE void setRowFixedHeight(
int row,
qreal height
)
Q_INVOKABLE void setColumnFixedWidth(
int column,
qreal width
)
void dump() const
bool event(
QEvent * event
) override
void geometryChangeEvent(
QskGeometryChangeEvent * event
) override
void itemChange(
ItemChange change,
const ItemChangeData & value
) override
void updateLayout() override
QSizeF layoutSizeHint(
Qt::SizeHint which,
const QSizeF & constraint
) const override
Qt::Alignment defaultAlignment;
bool empty;
int elementCount;
Updated on 28 July 2023 at 14:02:28 CEST