Na této stránce

Layouting::ScrollArea Class

class Layouting::ScrollArea

Obaluje třídu ` QScrollArea ` pro použití v nástroji pro tvorbu rozvržení. Více...

Header: #include <ScrollArea>
Inherits: Layouting::Widget

Veřejné funkce

void setFixSizeHintBug(bool fixBug)

Podrobný popis

Oblast posuvníku je vytvořena s nastavením ` widgetResizable ` na ` true`. Vnitřním obsahem může být rozvržení (`Layout`), widget (`Widget`) nebo surový ` QWidget`. Ve výchozím nastavení je `sizeHint` omezen na 36x24 em-šírek jako řešení problému QTBUG-136762; voláním ` setFixSizeHintBug` (true) lze toto omezení deaktivovat.

Viz také Layouting::Widget.

Dokumentace členských funkcí

void ScrollArea::setFixSizeHintBug(bool fixBug)

Pokud je hodnota ` fixBug ` nastavena na ` true`, deaktivuje se výchozí omezení velikosti `sizeHint` na 36 × 24 em, které řeší problém QTBUG-136762. Tuto možnost zapněte, pokud má oblast posouvání hlásit svou plnou preferovanou velikost, místo aby byla omezena.

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.