このページでは

Layouting::ScrollArea Class

class Layouting::ScrollArea

QScrollArea をラップし、レイアウトビルダーで使用できるようにします。詳細...

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

パブリック関数

void setFixSizeHintBug(bool fixBug)

詳細な説明

スクロール領域は、widgetResizable をtrue に設定して作成されます。内部のコンテンツは、Layout、Widget、または生のQWidget です。デフォルトでは、QTBUG-136762 に対する回避策として、sizeHint は 36x24 em 幅に制限されています。この制限を無効にするには、setFixSizeHintBug(true) を呼び出してください。

Layouting::Widgetも参照してください 。

メンバ関数のドキュメント

void ScrollArea::setFixSizeHintBug(bool fixBug)

fixBug がtrue の場合、QTBUG-136762の回避策として機能する、デフォルトのsizeHintの上限(36×24 em幅)を無効にします。スクロール領域の上限を設定せずに、その推奨サイズ全体を報告する必要がある場合は、これを有効にしてください。

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.