Na tej stronie

Layouting::Grid Class

class Layouting::Grid

Układanie elementów w dwuwymiarowej siatce (QGridLayout). Więcej...

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

Szczegółowy opis

Elementy są dodawane wiersz po wierszu. Aby rozpocząć nowy wiersz, należy wywołać metodę ` addRow()` lub użyć funkcji wolnej ` br `. Poszczególne elementy mogą zajmować wiele kolumn lub wierszy za pomocą opakowań typu `Span` lub ` SpanAll ` albo poprzez wywołanie metody ` span()` na układzie po dodaniu elementu. Wiele elementów, które współdzielą jedną komórkę siatki bez zwiększania licznika kolumn, można zgrupować za pomocą metody ` GridCell`.

Zobacz także: Layouting::Form, Layouting::Span, Layouting::SpanAll, Layouting::GridCell oraz 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.