Nesta página

Layouting::Widget Class

class Layouting::Widget

Classe base para classes de criadores de widgets. Mais...

Funções públicas

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

Descrição detalhada

Envolve um objeto derivado de ` QWidget`. As instâncias são efêmeras: devem ser criadas e configuradas. Elas chamam ` emerge()` para recuperar o ` QWidget` subjacente ou aninham o construtor dentro de um `Layout` para incorporá-lo diretamente.

Veja também Layouting::Layout.

Documentação das funções de membro

QWidget *Widget::emerge() const

Retorna o ` QWidget` subjacente.

O chamador não assume a propriedade. O widget pertence ao widget pai ou ao layout do construtor.

void Widget::setLayout(const Layouting::Layout &layout)

Define ` layout ` como o layout deste widget, finalizando-o primeiro.

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.