이 페이지에서

Layouting::ScrollArea Class

class Layouting::ScrollArea

레이아웃 빌더에서 사용할 수 있도록 ` QScrollArea `를 래핑합니다. 더 보기...

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

공개 함수

void setFixSizeHintBug(bool fixBug)

상세 설명

스크롤 영역은 ` widgetResizable `을 ` true`로 설정하여 생성됩니다. 내부 콘텐츠는 레이아웃, 위젯 또는 원시 ` QWidget`일 수 있습니다. 기본적으로 `sizeHint`는 QTBUG-136762에 대한 임시 해결책으로 36x24 em 너비로 제한됩니다. 이 제한을 해제하려면 ` setFixSizeHintBug(true)`를 호출하십시오.

Layouting::Widget도 참조하십시오 .

멤버 함수 문서

void ScrollArea::setFixSizeHintBug(bool fixBug)

fixBug 가 true 일 경우, QTBUG-136762를 우회하기 위해 적용된 기본 sizeHint 상한값(36x24 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.