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.