Nesta página

Layouting::Grid Class

class Layouting::Grid

Organiza itens em uma grade bidimensional (QGridLayout). Mais...

Header: #include <Grid>
Inherits: Layouting::Layout

Descrição detalhada

Os itens são adicionados linha por linha. Chame addRow() ou use a função livre br para iniciar uma nova linha. Itens individuais podem abranger várias colunas ou linhas por meio dos wrappers `Span` ou ` SpanAll `, ou chamando span() no layout após adicionar o item. Vários itens que compartilham uma única célula da grade sem avançar o contador de colunas podem ser agrupados com GridCell.

Veja também Layouting::Form, Layouting::Span, Layouting::SpanAll, Layouting::GridCell e 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.