Na tej strani

Layouting::Grid Class

class Layouting::Grid

Predmete razporedi v dvodimenzionalno mrežo (QGridLayout). Več...

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

Podroben opis

Elementi se dodajajo po vrsticah. Za začetek nove vrstice pokličite addRow() ali uporabite prosto funkcijo br. Posamezni elementi lahko zajemajo več stolpcev ali vrstic prek ovojnic Span ali SpanAll ali s klicem span() na postavitvi po dodajanju elementa. Več elementov, ki si delijo eno celico mreže, ne da bi se povečal števec stolpcev, je mogoče združiti s GridCell.

Glejte tudi Layouting::Form, Layouting::Span, Layouting::SpanAll, Layouting::GridCell in 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.