En esta página

Layouting::Widget Class

class Layouting::Widget

Clase base para las clases de creación de widgets. Más...

Funciones públicas

QWidget *emerge() const
void setLayout(const Layouting::Layout &layout)

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.