グラフィックスビューの例

さまざまなグラフィックオプションや表示モードを示すアプリケーション

Qt は、項目の視覚化を容易にし、回転やズーム機能をサポートする強力なグラフィックスエンジンを提供します。さらに、インタラクションのためのイベント伝播アーキテクチャも提供しています。

これらの例は、Qt を使用したキャンバスプログラミングの基本的な側面を示しています。

40000 Chips

40,000個のチップアイテムを含む巨大なグラフィックスビューのシーンを可視化します。

Colliding Mice Example

グラフィックスビュー上のアイテムをアニメーション化する方法を実演します。

Diagram Scene Example

Graphics View フレームワークの使用方法を示しています。

Drag and Drop Robot Example

グラフィックスビュー内でアイテムをドラッグ&ドロップする方法を示します。

Elastic Nodes Example

シーン内のグラフィック項目と対話する方法を示します。

これらの例では、グラフィックスウィジェットとレイアウトの使用方法について示しています。

Basic Graphics Layouts Example

基本的なグラフィックス・レイアウトの作成方法を示します。

Simple Anchor Layout Example

グラフィックスビューのシーンにおけるアンカーレイアウトの仕組みを説明します。

いくつかの例では、キャンバス項目でのGraphical Effectsの使用法を示しています。

© 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.