На цій сторінці

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.