Layouting::Form Class
class Layouting::FormOrdnet Beschriftungs-Feld-Paare in einem zweispaltigen Formularlayout an (QFormLayout). Mehr...
| Header: | #include <Form> |
| Inherits: | Layouting::Layout |
Detaillierte Beschreibung
Jeder Aufruf von ` addRow()` definiert eine Zeile. Enthält eine Zeile ein einzelnes Element, erstreckt sie sich über beide Spalten (volle Breite). Enthält sie zwei Elemente, wird das erste zur Beschriftung und das zweite zum Feld. Ein einfaches ` QString ` wird automatisch in ein ` QLabel` eingeschlossen. Bei Zeilen mit mehr als zwei Elementen werden die zusätzlichen Elemente in ein zusätzliches ` QHBoxLayout ` in der Feldspalte gepackt. ` QLabel `-Paare werden nach Möglichkeit automatisch festgelegt.
Standardmäßig gilt für das Feld die Wachstumsrichtlinie „ AllNonFixedFieldsGrow “.
Siehe auch „ Layouting::Grid “ und „ 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.