In questa pagina

Layouting::Widget Class

class Layouting::Widget

Classe base per le classi di creazione dei widget. Altro...

Funzioni pubbliche

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

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.