Layouting::Widget Class
class Layouting::WidgetOsnovni razred za razrede za ustvarjanje widgetov. Več...
| 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 |
Javne funkcije
Podroben opis
Ovije objekt, ki izhaja iz razreda ` QWidget`. Instance so kratkotrajne: ustvarijo se in konfigurirajo. Pokličejo metodo ` emerge()` za pridobitev osnovnega ` QWidget` ali pa graditelja vgradijo v `Layout`, da ga neposredno vključijo.
Glej tudi Layouting::Layout.
Dokumentacija o funkcijah članicah
QWidget *Widget::emerge() const
Vrne osnovni objekt » QWidget «.
Klicatelj ne prevzame lastništva. Widget je v lasti nadrejenega widgeta ali postavitve gradnika.
void Widget::setLayout(const Layouting::Layout &layout)
Kot razpored tega widgeta nastavi » layout «, pri čemer ga najprej dokonča.
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.