Layouting::Widget Class
class Layouting::Widget控件构建器类的基类。更多...
| Header: | #include <Widget> |
| Inherits: | Layouting::Object |
| Inherited By: | 16 typesLayouting::Canvas, Layouting::CompletingTextEdit, Layouting::Group, Layouting::Label, Layouting::LineEdit, Layouting::MarkdownBrowser, Layouting::PushButton, Layouting::ScrollArea, Layouting::SpinBox, Layouting::Spinner, Layouting::Splitter, Layouting::Stack, Layouting::TabWidget, Layouting::TextEdit, Layouting::ToolBar, and Layouting::ToolButton |
公共函数
另请参阅 Layouting::Layout 。
成员函数文档
QWidget *Widget::emerge() const
返回底层的QWidget 。
调用方不会获得所有权。该控件由构建器的父控件或布局拥有。
void Widget::setLayout(const Layouting::Layout &layout)
将layout 设置为该小部件的布局,并先对其进行最终确定。
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.