Layouting::ScrollArea Class
class Layouting::ScrollAreaIncorpora ` QScrollArea ` per l'utilizzo in un generatore di layout. Altro...
| Header: | #include <ScrollArea> |
| Inherits: | Layouting::Widget |
Funzioni pubbliche
| void | setFixSizeHintBug(bool fixBug) |
Descrizione dettagliata
L'area di scorrimento viene creata con ` widgetResizable ` impostato su ` true`. Il contenuto interno può essere un Layout, un Widget o un oggetto ` QWidget` non formattato. Per impostazione predefinita, `sizeHint` è limitato a 36x24 em di larghezza come soluzione alternativa per QTBUG-136762; chiamare ` setFixSizeHintBug` (true) per disabilitare il limite.
Vedi anche Layouting::Widget.
Documentazione delle funzioni membro
void ScrollArea::setFixSizeHintBug(bool fixBug)
Quando ` fixBug ` è impostato su ` true`, viene disabilitato il limite predefinito di `sizeHint` pari a 36x24 em, che risolve il problema QTBUG-136762. Abilitare questa opzione quando l'area di scorrimento deve riportare la propria dimensione preferita completa anziché limitarla.
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.