On this page

Layouting::Grid Class

class Layouting::Grid

Arranges items in a two-dimensional grid (QGridLayout). More...

Header: #include <layoutbuilder.h>
Inherits: Layouting::Layout

Detailed Description

Items are added row by row. Call addRow() or use the br free function to start a new row. Individual items can span multiple columns or rows via Span or SpanAll wrappers, or by calling span() on the layout after adding the item. Multiple items that share a single grid cell without advancing the column counter can be grouped with GridCell.

See also Layouting::Form, Layouting::Span, Layouting::SpanAll, Layouting::GridCell, and Layouting::Layout.

Copyright © The Qt Company Ltd. and other contributors. Documentation contributions included herein are the copyrights of their respective owners. The documentation provided herein is licensed under the terms of the GNU Free Documentation License version 1.3 as published by the Free Software Foundation. Qt and respective logos are trademarks of The Qt Company Ltd in Finland and/or other countries worldwide. All other trademarks are property of their respective owners.