Na ovoj stranici

Layouting::Widget Class

class Layouting::Widget

Osnovna klasa za klase graditelja widgeta. Više...

Javne funkcije

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

Detaljan opis

Omotava objekt naslijeđen od QWidget. Instance su prolazne: konstruirajte i konfigurirajte. Pozivaju emerge() kako bi dohvatile temeljni QWidget, ili ugradite graditelja unutar Layouta za izravno ugrađivanje.

Vidi također Layouting::Layout.

Dokumentacija članovskih funkcija

QWidget *Widget::emerge() const

Vraća temeljni QWidget.

Pozivatelj ne preuzima vlasništvo. Widget pripada roditeljskom widgetu ili rasporedu graditelja.

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

Postavlja layout kao izgled ovog widgeta, prvo ga finalizirajući.

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.