Layouting::ScrollArea Class
class Layouting::ScrollArea封装了QScrollArea ,以便在布局构建器中使用。更多内容...
| Header: | #include <ScrollArea> |
| Inherits: | Layouting::Widget |
公共函数
| void | setFixSizeHintBug(bool fixBug) |
详细说明
滚动区域的创建需将widgetResizable 设置为true 。内部内容可以是Layout、Widget或原始的QWidget 。默认情况下,sizeHint上限为36×24 em宽度,这是为解决QTBUG-136762问题而采取的临时措施;调用setFixSizeHintBug(true)可禁用此上限。
另请参阅 Layouting::Widget 。
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.