このページでは

Layouting::Widget Class

class Layouting::Widget

ウィジェットビルダークラスの基底クラス。詳細...

パブリック関数

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

詳細な説明

QWidget から派生したオブジェクトをラップします。インスタンスは一時的なものです。構築および構成を行います。emerge() を呼び出して、基になるQWidget を取得するか、ビルダーを Layout 内にネストして直接埋め込みます。

「Layouting::Layout」も参照してください 。

メンバ関数のドキュメント

QWidget *Widget::emerge() const

基となるQWidget を返します。

呼び出し元は所有権を取得しません。このウィジェットの所有権は、ビルダーの親ウィジェットまたはレイアウトが保持します。

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

このウィジェットのレイアウトとしてlayout を設定し、まずウィジェットを確定させます。

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.