Layouting::Widget Class
class Layouting::WidgetClasse base per le classi di creazione dei widget. Altro...
| 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 |
Funzioni pubbliche
Descrizione dettagliata
Incorpora un oggetto derivato d QWidget. Le istanze sono effimere: devono essere create e configurate. Chiamano emerge() per recuperare l'QWidget sottostante, oppure annidano il generatore all'interno di un Layout per incorporarlo direttamente.
Vedi anche Layouting::Layout.
Documentazione delle funzioni membro
QWidget *Widget::emerge() const
Restituisce l'QWidget sottostante.
Il chiamante non ne assume la proprietà. Il widget è di proprietà del widget padre o del layout del builder.
void Widget::setLayout(const Layouting::Layout &layout)
Imposta " layout " come layout di questo widget, completandone prima la creazione.
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.