Layouting::Widget Class
class Layouting::WidgetA widget-készítő osztályok alaposztálya. További információk...
| 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 |
Nyilvános függvények
Részletes leírás
QWidget-ból származtatott objektumot burkol. Az példányok ideiglenesek: létrehozás és konfigurálás. A emerge() metódust hívják meg az alapul szolgáló QWidget lekéréséhez, vagy a builder-t egy Layout-ba ágyazzák be, hogy közvetlenül beágyazzák.
Lásd még: Layouting::Layout.
Tagfüggvények dokumentációja
QWidget *Widget::emerge() const
Visszaadja az alapul szolgáló ` QWidget` objektumot.
A hívó nem veszi át a tulajdonjogot. A widget tulajdonosa a builder szülő widgetje vagy elrendezése.
void Widget::setLayout(const Layouting::Layout &layout)
layout -t állítja be ennek a widgetnek az elrendezésként, előbb véglegesítve azt.
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.