Na tej strani

Layouting::Widget Class

class Layouting::Widget

Osnovni razred za razrede za ustvarjanje widgetov. Več...

Javne funkcije

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

Podroben opis

Ovije objekt, ki izhaja iz razreda ` QWidget`. Instance so kratkotrajne: ustvarijo se in konfigurirajo. Pokličejo metodo ` emerge()` za pridobitev osnovnega ` QWidget` ali pa graditelja vgradijo v `Layout`, da ga neposredno vključijo.

Glej tudi Layouting::Layout.

Dokumentacija o funkcijah članicah

QWidget *Widget::emerge() const

Vrne osnovni objekt » QWidget «.

Klicatelj ne prevzame lastništva. Widget je v lasti nadrejenega widgeta ali postavitve gradnika.

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

Kot razpored tega widgeta nastavi » layout «, pri čemer ga najprej dokonča.

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.