Layouting::Grid Class
class Layouting::GridРасполагает элементы в виде двумерной сетки (QGridLayout). Подробнее...
| Header: | #include <Grid> |
| Inherits: | Layouting::Layout |
Подробное описание
Элементы добавляются построчно. Чтобы начать новую строку, вызовите ` addRow()` или воспользуйтесь свободной функцией ` br `. Отдельные элементы могут занимать несколько столбцов или строк с помощью оберток `Span` или ` SpanAll `, либо путем вызова ` span()` на макете после добавления элемента. Несколько элементов, которые совместно занимают одну ячейку сетки без увеличения счётчика столбцов, можно сгруппировать с помощью ` GridCell`.
См. также Layouting::Form, Layouting::Span, Layouting::SpanAll, Layouting::GridCell и 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.