Layouting::Form Class
class Layouting::FormOrganiza pares de rótulo-campo em um layout de formulário de duas colunas (QFormLayout). Mais...
| Header: | #include <Form> |
| Inherits: | Layouting::Layout |
Descrição detalhada
Cada chamada para addRow() define uma linha. Se uma linha contiver um único item, ela ocupará ambas as colunas (largura total). Se contiver dois itens, o primeiro se tornará o rótulo e o segundo, o campo. Um ` QString ` simples é automaticamente envolvido por um ` QLabel`. Linhas com mais de dois itens agrupam os itens extras em um ` QHBoxLayout ` auxiliar na coluna do campo. Os “ QLabel ” são definidos automaticamente quando possível.
Por padrão, a política de expansão de campo é AllNonFixedFieldsGrow.
Veja também Layouting::Grid e 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.