Na této stránce

Layouting::Grid Class

class Layouting::Grid

Uspořádá položky do dvourozměrné mřížky (QGridLayout). Více...

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

Podrobný popis

Položky se přidávají po řádcích. Pro zahájení nového řádku zavolejte funkci ` addRow()` nebo použijte volnou funkci ` br `. Jednotlivé položky mohou zabírat více sloupců nebo řádků pomocí obalových prvků `Span` nebo ` SpanAll `, případně voláním funkce ` span()` na rozložení po přidání položky. Více položek, které sdílejí jednu buňku mřížky, aniž by se posunul čítač sloupců, lze seskupit pomocí ` GridCell`.

Viz také Layouting::Form, Layouting::Span, Layouting::SpanAll, Layouting::GridCell a 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.