Qt Widgets Designer 例

Qt Widgets Designer は、コードを記述することなくフォームを作成・設定できる、高性能なグラフィカルユーザーインターフェース(GUI)デザイナーです。Qt Widgets Designer で作成されたGUIは、アプリケーションとしてコンパイルすることも、実行時に動的に生成することも可能です。

以下の例では、Qt Widgets Designer フォームの作成および使用方法、ならびにQt Widgets Designer のカスタムウィジェットプラグインの作成方法について説明します。

Calculator Builder

実行時にQt Widgets Designer フォームからユーザーインターフェースを作成する。

Calculator Form

アプリケーションでQt Widgets Designer を使用して作成されたフォームを使用する。

Calculator Form/Multiple Inheritance

Qt Widgets Designer で作成したフォームをアプリケーションで使用する。

Container Extension Example

Qt Widgets Designer 用のカスタムマルチページプラグインの作成。

Custom Widget Plugin

Qt Widgets Designer 用のカスタムウィジェットプラグインの作成。

Task Menu Extension

Qt Widgets Designer 用のカスタムウィジェットプラグインを作成し、そのプラグインに関連付けられたカスタムタスクメニュー項目を提供する。

© 2026 The Qt Company Ltd. 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.