Layouting::Form Class
class Layouting::FormUredi pare polj z oznakami v dvostolpčni obliki (QFormLayout). Več...
| Header: | #include <Form> |
| Inherits: | Layouting::Layout |
Podroben opis
Vsak klic funkcije addRow() definira eno vrstico. Če vrstica vsebuje en sam element, se razteza čez oba stolpca (polna širina). Če vsebuje dva elementa, postane prvi oznaka, drugi pa polje. Običajni QString se samodejno ovije v QLabel. Vrstice z več kot dvema elementoma dodatne elemente zložijo v pomožno QHBoxLayout v stolpcu polja. QLabel se nastavijo samodejno, kadar je to mogoče.
Privzeto je pravilo rasti polja » AllNonFixedFieldsGrow «.
Glejte tudi Layouting::Grid in 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.