Na ovoj stranici

Layouting::Layout Class

class Layouting::Layout
Header: #include <Layout>
Inherits: Layouting::Object

Javne funkcije

void addItem(Layouting::Layout::I item)
void addItems(std::initializer_list<Layouting::Layout::I> items)
void addRow(std::initializer_list<Layouting::Layout::I> items)
void attachTo(QWidget *widget)

Detaljan opis

Klasa Layout je osnovna klasa za specifičnije klase graditelja koje stvaraju objekte naslijeđene od klase QLayout.

Dokumentacija funkcija članova

void Layout::addItem(Layouting::Layout::I item)

Dodaje element rasporeda item kao podelement.

void Layout::addItems(std::initializer_list<Layouting::Layout::I> items)

Dodaje stavke rasporeda items kao podstavke.

void Layout::addRow(std::initializer_list<Layouting::Layout::I> items)

Pokreće novi redak koji sadrži items. Redak se može dodatno proširiti drugim stavkama koristeći addItem() ili addItems().

Vidi također addItem() i addItems().

void Layout::attachTo(QWidget *widget)

Priključuje konstruirani raspored na navedenu QWidget widget .

Ova operacija se može izvršiti samo jednom po instanci LayoutBuildera.

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.