Nesta página

Layouting::ScrollArea Class

class Layouting::ScrollArea

Envolve a classe ` QScrollArea ` para uso em um construtor de layout. Mais...

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

Funções públicas

void setFixSizeHintBug(bool fixBug)

Descrição detalhada

A área de rolagem é criada com ` widgetResizable ` definido como ` true`. O conteúdo interno pode ser um `Layout`, um `Widget` ou um ` QWidget` bruto. Por padrão, `sizeHint` é limitado a 36x24 em-widths como uma solução alternativa para o QTBUG-136762; chame ` setFixSizeHintBug` (true) para desativar o limite.

Veja também Layouting::Widget.

Documentação das funções-membro

void ScrollArea::setFixSizeHintBug(bool fixBug)

Quando ` fixBug ` é definido como ` true`, desativa o limite padrão de `sizeHint` de 36 x 24 em-widths, que contorna o QTBUG-136762. Ative essa opção quando a área de rolagem precisar informar seu tamanho preferencial completo, em vez de limitá-lo.

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.