Sur cette page

Layouting::Grid Class

class Layouting::Grid

Dispose les éléments dans une grille bidimensionnelle (QGridLayout). En savoir plus…

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

Description détaillée

Les éléments sont ajoutés ligne par ligne. Appelez addRow() ou utilisez la fonction libre br pour commencer une nouvelle ligne. Les éléments individuels peuvent s'étendre sur plusieurs colonnes ou lignes via les wrappers Span ou SpanAll, ou en appelant span() sur la mise en page après avoir ajouté l'élément. Plusieurs éléments qui partagent une même cellule de la grille sans faire avancer le compteur de colonnes peuvent être regroupés à l'aide de GridCell.

Voir également Layouting::Form, Layouting::Span, Layouting::SpanAll, Layouting::GridCell et 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.