Layouting::Widget Class
class Layouting::WidgetClase base para las clases de creación de widgets. Más...
| 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 |
Funciones públicas
Descripción detallada
Envuelve un objeto derivado de ` QWidget`. Las instancias son efímeras: se crean y se configuran. Llaman a ` emerge()` para recuperar el ` QWidget` subyacente, o anidan el generador dentro de un `Layout` para incrustarlo directamente.
Véase también ` Layouting::Layout`.
Documentación de las funciones miembro
QWidget *Widget::emerge() const
Devuelve el ` QWidget` subyacente.
El llamante no adquiere la propiedad. El widget es propiedad del widget padre o del diseño del generador.
void Widget::setLayout(const Layouting::Layout &layout)
Establece « layout » como diseño de este widget, tras finalizarlo primero.
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.