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 |
공개 함수
상세 설명
QWidget 에서 파생된 개체를 래핑합니다. 인스턴스는 일시적입니다. 생성하고 구성을 완료한 후, emerge()를 호출하여 기본이 되는 QWidget 를 가져오거나, 빌더를 레이아웃(Layout) 내에 중첩하여 직접 삽입합니다.
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.