Layouting::Form Class
class Layouting::FormOrganiza los pares de etiquetas y campos en un diseño de formulario de dos columnas (QFormLayout). Más...
| Header: | #include <Form> |
| Inherits: | Layouting::Layout |
Descripción detallada
Cada llamada a addRow() define una fila. Si una fila contiene un único elemento, ocupa ambas columnas (ancho completo). Si contiene dos elementos, el primero se convierte en la etiqueta y el segundo en el campo. Un elemento « QString » sin formato se envuelve automáticamente en un « QLabel ». Las filas con más de dos elementos agrupan los elementos adicionales en un « QHBoxLayout » auxiliar en la columna del campo. Los « QLabel » se establecen automáticamente siempre que sea posible.
Por defecto, la política de crecimiento del campo es « AllNonFixedFieldsGrow ».
Véase también Layouting::Grid y 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.