Layouting::Widget Class
class Layouting::WidgetZákladní třída pro třídy tvůrců widgetů. Více...
| 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 |
Veřejné funkce
Podrobný popis
Obaluje objekt odvozený od třídy ` QWidget`. Instance jsou dočasné: vytvořte a nakonfigurujte je. Volají metodu ` emerge()` k získání podkladové třídy ` QWidget`, nebo vnořte tvůrce do `Layout`, abyste jej vložili přímo.
Viz také Layouting::Layout.
Dokumentace členských funkcí
QWidget *Widget::emerge() const
Vrací podkladový objekt typu ` QWidget`.
Volající nezískává vlastnictví. Widget je ve vlastnictví nadřazeného widgetu nebo rozvržení tvůrce.
void Widget::setLayout(const Layouting::Layout &layout)
Nastaví jako rozložení tohoto widgetu „ layout “ a nejprve jej dokončí.
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.